-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump to .NET 6.0.100-alpha.1.20562.2 (#5269)
Changes: dotnet/installer@53e0c8c...efac3f2 .NET 6.0.100-alpha.1.20562.2 includes support for `$(AfterMicrosoftNETSdkTargets)`, and so we now have a slightly different import ordering: 1. `AutoImport.props` 2. The user's `.csproj` file 3. Some early parts of `Microsoft.NET.Sdk` / `Sdk.targets` 4. `Microsoft.Android.Sdk.targets` 5. The rest of `Microsoft.NET.Sdk` / `Sdk.targets` 6. `Microsoft.Android.Sdk.After.targets` Anything that needs to happen *after* the `Microsoft.NET.Sdk` targets can go in `After.targets`. This allows us to set up some defaults that we lost in 91498d5 when implementing Android as a .NET "workload": * `$(GenerateDependencyFile)` defaults to `false` * `$(ProduceReferenceAssembly)` defaults to `false` for application projects. Using `$(SelfContained)` also triggers new behavior in .NET 6 that we need to turn off: * `$(GenerateRuntimeConfigurationFiles)` to `false` or we get a `*.runtimeconfig.dev.json` file generated for Android applications. * `$(CopyLocalLockFileAssemblies)` to `false` - otherwise every `.dll` file is copied to `$(OutputPath)`, and we don't need this behavior. This appears to be new behavior in .NET 6 when `$(SelfContained)` is `true`. * `$(ComputeNETCoreBuildOutputFiles)` to `false` or we get a `*.exe` .NET app host in the output directory. I also adjusted the naming for `windows-x64` to `win-x64`, as described in 011a771.
- Loading branch information
1 parent
a22a036
commit 6f761ea
Showing
19 changed files
with
64 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...rin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.After.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- | ||
*********************************************************************************************** | ||
Microsoft.Android.Sdk.After.targets | ||
This file is imported *after* the Microsoft.NET.Sdk/Sdk.targets. | ||
*********************************************************************************************** | ||
--> | ||
<Project> | ||
<PropertyGroup> | ||
<EnableDefaultAndroidItems Condition=" '$(EnableDefaultAndroidItems)' == '' ">$(EnableDefaultItems)</EnableDefaultAndroidItems> | ||
</PropertyGroup> | ||
|
||
<!-- Build ordering, should be imported before Xamarin.Android.Common.targets --> | ||
<Import Project="Microsoft.Android.Sdk.BuildOrder.targets" Condition=" '$(_ComputeFilesToPublishForRuntimeIdentifiers)' != 'true' " /> | ||
|
||
<Import Project="..\tools\Xamarin.Android.Common.targets" /> | ||
<Import Project="..\tools\Xamarin.Android.Bindings.Core.targets" /> | ||
<Import Project="..\tools\Xamarin.Android.Bindings.ClassParse.targets" /> | ||
<Import Project="Microsoft.Android.Sdk.AndroidLibraries.targets" /> | ||
<Import Project="Microsoft.Android.Sdk.Application.targets" Condition=" '$(AndroidApplication)' == 'true' " /> | ||
<Import Project="Microsoft.Android.Sdk.AssemblyResolution.targets" /> | ||
<Import Project="Microsoft.Android.Sdk.ILLink.targets" /> | ||
<Import Project="Microsoft.Android.Sdk.NuGet.targets" /> | ||
<Import Project="Microsoft.Android.Sdk.ProjectCapabilities.targets" /> | ||
<Import Project="Microsoft.Android.Sdk.Publish.targets" /> | ||
<Import Project="Microsoft.Android.Sdk.Tooling.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/CodeBehind/CommonSampleLibrary/CommonSampleLibraryDotNet.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters