Android framework version
net10.0-android (Preview)
Affected platform version
.NET 10
Description
Cleanup the MSBuild integration tests in:
src\Xamarin.Android.Build.Tasks\Tests\Xamarin.Android.Build.Tests
tests\MSBuildDeviceIntegration\
We have a lot of tests that do things like:
using (var b = CreateDllBuilder ("temp/BindByteArrayInMethodParameter")) {
Where we could simply use the default parameter:
using (var b = CreateDllBuilder ()) {
Go through all the MSBuild tests and simplify these cases.
If the test does something like:
using (var libb = CreateDllBuilder (Path.Combine (projectPath, libproj.ProjectName))) {
Leave this one as-is. Don't change tests that pass in a variable and use the variable later in the test either.