The project name should have the `.Manifest` suffix to indicate that it is the manifest.
The final package name is already correct as there was adjustment in the project to fix
it during the package process.
* Add UITest Gallery and some simple tests
* Auto-format source code
* Remove automation hints for mac accessibility and use mouse instead of touch pointer as its not supported
* Get the navigation bar back button for mac/ios tests
* Auto-format source code
* Fix bad merge for ios settings and minor tweaks/ignore tests
* Auto-format source code
* Try install 14.2 on monterrey
---------
Co-authored-by: GitHub Actions Autoformatter <autoformat@example.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
* More stuff with query
* Update to Appium 2.0
* Cleanup
* Fix tests
* Add mac tests
* Multiple testcase
* Fixes for windows
* Deploy as unpackaged app
* Fixes for run UITests on windows
* Cleanup and move to TestUtils projects for Appium and Xamarin.UITest
* Fix references
* Add to mac sln
* Fix sln
* Add uitest yaml
* Fix sln
* Update yml
* more fixes
* again powershell
* fix ident
* Add path and try call cake
* Fix
* Start background
* Start appium on the background
* Just run android for now
* try install app
* try again
* if it fails continue
* fix paths
* appium
* try again
* try again
* fix
* again
* try again
* location of samples
* build samples
* do not skip xcode
* more debug info
* Publish test results
* nUnit tests for now
* try any file
* no retry
* try vstest
* FIX PATH
* install more drivers
* usenuget when building samples
* Move to helpers
* Try run iOS tests
* try build both
* Add ALLTests
* Android folder
* fixes
* try again
* Fix path
* Cleanup android cake
* cleanup iOS cake
* add mac cake
* fix version
* try again
* try again
* upDATE TOOLS
* try again
* fix again
* again
* again
* again
* rollback xharness
* increase timeout
* run with dotnet path
* Fix dir
* Try again
* fix
* Fix
* build and then run tests
* fix platformVersion passed to APPIUM
* Don t do verbosity
* Log for appium
* Try 16.2
* Add platform to appium logs
* Fix
* Start test server
* Wait for server to start
* Fix typo
* Add windows cake
* Set uitests windows yaml
* provision on macos only
* Fix path for app windows
* Rename winui
* Try again
* Make sure to stop and dispose the server
* fix template
* Install windows driver too
* Better appium install drivers
* specify device
* Fix binlog android
* Run device tests in release
* Try no path
* Try with debug configuration
* try build samples just for that platform
* Release
* rename to match platform
* try cleanup
* Add mac uitests
* Build only for catalyst
* Add information
* Version mac
* Fix folder path
* Try build and run windows tests
* more stuff on install script
* Add retry for ios
* run always on xamarin pool
* Fix windows
* Allow to pass configuration to catalyst
* Add bindir info
* Try fix windows build
* Try set env variables before
* [Sample] Clean fields when tapping login button
* Take screenshot before querying text element
* Enable automationmode-without-authentication
* Try using action instead
* Use same machine pool as ios/android for mac
* Change entry to not get autocorrect pop-up and add delay before click
* Disable keyboard completion for catalyst runs
* Auto-format source code
* Update sln
* Fix csproj
* Add Sample UITests
* Fix yaml
* Use the new app uitest sandbox project
* Remove old code
* Cleanup
* Fix Android manifest
* Fix build for tizen
* Rename projects
* Some more renames
* Fix ios for PR's
* Update MainPageTests.cs
* Add to mac slnf
* Try more stuff for the mac
* Try run before
* don t set automation mode
* Try Xcode select and move to ventura
* Fix script
* Dont xcode select
* Bool and not string
* try old appium
* Fix version
* Can we skip provisioning
* We can't skip provisioning
* Dont provision on windows
* Update sln and packages
* Update node
* Configure the windows path to the exe
* Auto-format source code
---------
Co-authored-by: Scott Banning <scoban@microsoft.com>
Co-authored-by: GitHub Actions Autoformatter <autoformat@example.com>
### Description
This change moves most - if not all - the logic, assemblies, build tasks, targets and props into NuGet packages. This allows .NET MAUI to be usable without having to care about what version of the workload is installed.
There are still a few things - mostly the automagic and Windows fixes - in the workload pack, but this is probably temporary and/or non-essential for the working of the build. Things like the project capabilities are still in the workload as this is needed for the IDE and cannot be in NuGet packages.
Everything else is now inside a NuGet package that can be upgraded, pinned and otherwise used without requiring VS to have installed the workload to match. There is the benefit of the NuGet packages being installed on disk and thus reducing/removing the need to download. But that is minimal now since we have smaller and fewer packages.
* Consolidate HandlerTestBase code
* - remove classes from blazor tests
* - register correct ApplicationStub
* - use default mauiprogram
* - move stubs back
* - move more stubs back
* - remove frame related fix updates
* - fix viewhandler
* Update ViewHandler.cs
* - move all core specific tests to new project
* - add shared to blazor tests
* - fix build errors
* - comment out Tizen
* - fix font registration
* - scope dokdo registration to test
* - just set WxH if measure are still infinity
* - comment out search bar tests
Reduces the number of nupkgs and msi files we produce and distribute by
removing the Microsoft.Maui.Extensions library pack.
Instead the packages are added via:
--<PackageReference Include="Microsoft.Maui.Extensions" Version="$(MauiVersion)" IsImplicitlyDefined="true" />
++<PackageReference Include="Microsoft.Extensions.Configuration" Version="@MicrosoftExtensionsServicingPackageVersion@" IsImplicitlyDefined="true" />
++<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="@MicrosoftExtensionsPackageVersion@" IsImplicitlyDefined="true" />
++<PackageReference Include="Microsoft.Extensions.Logging" Version="@MicrosoftExtensionsPackageVersion@" IsImplicitlyDefined="true" />
++<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="@MicrosoftExtensionsServicingPackageVersion@" IsImplicitlyDefined="true" />
So projects that only have `UseMauiEssentials` won't get these packages, the behavior
should be the same, we just dropped 1 pack.
# Conflicts:
# src/Workload/Microsoft.Maui.Sdk/Sdk/BundledVersions.in.targets
Reduces the number of nupkgs and msi files we produce and distribute by
removing the Microsoft.Maui.Extensions library pack.
Instead the packages are added via:
--<PackageReference Include="Microsoft.Maui.Extensions" Version="$(MauiVersion)" IsImplicitlyDefined="true" />
++<PackageReference Include="Microsoft.Extensions.Configuration" Version="@MicrosoftExtensionsServicingPackageVersion@" IsImplicitlyDefined="true" />
++<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="@MicrosoftExtensionsPackageVersion@" IsImplicitlyDefined="true" />
++<PackageReference Include="Microsoft.Extensions.Logging" Version="@MicrosoftExtensionsPackageVersion@" IsImplicitlyDefined="true" />
++<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="@MicrosoftExtensionsServicingPackageVersion@" IsImplicitlyDefined="true" />
So projects that only have `UseMauiEssentials` won't get these packages, the behavior
should be the same, we just dropped 1 pack.
* Make Glide load into imageview directly
* Refactor glide usage and implement listener
* Allow image views to autosize
* New test image
The old one was a png and blurry at the resizes, this one is svg to get the right density versions to make it clear we don't have a scaling issue in the code.
* Fix image size of Glide loaded font images
* Add glide ImageLoader to android aar project
* Use the helpers from the android aar
* Use autoscaling property from Font
* Merge image callbacks into one
* Add some benchmark tests
* More work on benchmark
* Remove unused helper methods
* Simplify callback
* Use custom glide targets instead of listeners
This allows .into to be used to start the request even in cases we have no image view target, and also means we don't need to add an extra listener to the cases where we use an image view...
* Benchmark uses non-resource/asset file
* Check if streams are empty
* Clean up tests
* Add glide model loader / factor for InputStream
* Refactor android platform code project
This removes the old Compatibility FormsViewGroup project and brings the FormsViewGroup class into the Core aar project, renames it MauiViewGroup.
Also refactored ViewHelpers and ImageHelpers into a single PlatformInterop class.
Finally, a few changes in this commit should fix some more tests.
* Fix a couple tests
* Update interop project
* Rework glide interop / image service
* Fix more tests
* Clear pending operations for image view targets
* Only load if we are supposed to apply the source
Original logic was a bit incorrect from reworking this code.
* Fix rebase
* More rebase fixes
* Fix solution filters
* Throw if request is cancelled in test
* Do not always clear first
* Run callback clear on ui thread
If we don't run these on the main thread we can see: Java.Lang.IllegalStateException : You can't start or clear loads in RequestListener or Target callbacks. If you're trying to start a fallback request when a load fails, use RequestBuilder#error(RequestBuilder). Otherwise consider posting your into() or clear() calls to the main thread using a Handler instead.
* Invoke clear on main thread in load calls too
* Fix refactor
* Fix api call
* Remove legacy TFM projects
* Rename solution files
* Remove old sln files
* Help omnisharp
Adds an omnisharp.json config file to help ignore some projects that don't load well.
But also add an _omnisharp.sln since Omnisharp basically finds the first solution it can regardless of the config file excludes and will try and load those projects. This puts it high in the list and is generally convenient to work on the main projects from the repo within omnisharp.
* Ignore .csx in omnisharp
* Fix android api level warning
* Fix up tfm logic
This will make net7.0 easier to start building against too.
* Make TFM runtime value dynamic
* Fix closing tag
* Add another project to omnisharp exclude
* Fix some logic
* Fix msbuild property function call
* Clean up resizetizer
These targets actually ship so they need to not just _use_ the Maui properties from directory build props
* Fix bad copy paste
* Another copy paste fix
* More fixes
* Add Controls.Xaml (missing) back to sln
* Drop S.N.Vectors version in csproj
It gets updated from other targets
* Don't set versions for WPF
* Bring back IsBindingProject
* Fix bad copy paste
* Make GetTfm static
* Fix missing namespace prefix
* Properly replace the TFM in BundledVersions
* Second replace should update the file the first one output
* Fix input for second replace
* Update the templates with the correct TFM
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
* Change WPF/WinForms/MAUI to use shared source instead of old 'WebView2' package, which is now removed
* Remove interfaces/wrappers from WinForms/WPF/MAUI
* Move Blazor into a separate folder
* Merge all the .NET 6 projects/solutions
* Windows projects
* that
* Make things better
* clean up
* fix that
* fast deploy debug
* remove that
* Fix paths
* fixing things
* fix that
* solutions
* fix builds for macos
* lols to me
* not a razor app
* Use LogicalName
* renamed
* No more Controls.SourceGen-net6
* Add Controls DeviceTests
* win
* update
* visibility
* Fix bug! Wee!
* - fix cake script to use correct sln for mac
* - change winui to just use vs-net6 target but default to global
* - fix VS-STable cake
* oops
* - copy info.plist local
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>