build: adjust tfm override props sample (#1001)

* build: adjust tfm override props sample

* build: fix formatting
This commit is contained in:
Steve Bilogan 2023-05-30 15:38:26 -04:00 коммит произвёл GitHub
Родитель 35dbc9c600
Коммит 16e67cbc28
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 47 добавлений и 28 удалений

Просмотреть файл

@ -1,37 +1,56 @@
<Project ToolsVersion="15.0">
<!--
This file is used to control the platforms compiled by visual studio, and
allow for a faster build when testing for a single platform.
Instructions:
1) Copy this file and remove the ".sample" name
2) Uncomment and adjust the properties below
3) Make sure to do a Rebuild, so that nuget restores the proper packages for the new target
-->
<PropertyGroup>
<!--
This property allows the override of the nuget local cache.
Set it to the version you want to override, used in another app.
You will see the override path in the build output.
The packages are located under this directory: "%USERPROFILE%\.nuget\packages".
-->
<!-- <NugetOverrideVersion>1.0.0-dev.1</NugetOverrideVersion> -->
<!-- Description of the properties can be found below -->
<!-- <NugetOverrideVersion>2.6.0-dev.34</NugetOverrideVersion> -->
<!-- Uncomment each line for each platform that you want to build: -->
<!-- <TargetFrameworkOverride Condition="''!='hint: UWP'">uap10.0.18362;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: WinUI'">net6.0-windows10.0.18362;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: Xamarin.iOS'">xamarinios10;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: Xamarin.Android'">MonoAndroid12.0;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: Xamarin.Mac'">xamarinmac20;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: WASM, Skia'">netstandard2.0;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: .NET 6.0 iOS'">net6.0-ios;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: .NET 6.0 Android'">net6.0-android;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: .NET 6.0 macOS Catalyst'">net6.0-maccatalyst;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: .NET 6.0 macOS AppKit'">net6.0-macos;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- DO NOT COMMENT OUT: netstandard2.0 is a required tfm in all cases -->
<TargetFrameworkOverride Condition="'$(TargetFrameworkOverride)'!='' AND !$(TargetFrameworkOverride.Contains('netstandard2.0'))">netstandard2.0;$(TargetFrameworkOverride)</TargetFrameworkOverride>
<!--
This property is used to control the platforms compiled by Visual Studio, and
allows for a faster build when testing for a single platform.
Instructions:
1) Copy this file and remove the ".sample" name
2) Adjust the NugetOverrideVersion property below
3) Make sure to do a Rebuild, so that nuget restores the proper packages for the new target
Available build targets
uap10.0.18362 (Windows)
net6.0-windows10.0.18362 (WinAppSDK Windows)
xamarinios10 (iOS)
MonoAndroid12.0 (Android 12.0)
netstandard2.0 (WebAssembly, Skia)
net6.0-ios (.NET 6 iOS)
net6.0-android (.NET 6 Android)
net6.0-maccatalyst (.NET 6 macOS Catalyst)
net6.0-macos (.NET 6 macOS AppKit)
xamarinmac20 (macOS)
### NugetOverrideVersion ###
Allows the override of the nuget local cache.
Set it to the version you want to override, used in another app.
You will see the override path in the build output.
The packages are located under this directory: "%USERPROFILE%\.nuget\packages".
### TargetFrameworkOverride ###
Controls the platform built by Visual Studio.
*** WARNING ***
Note that changing this property while the solution is opened leads to
unstable nuget restore operations, and Visual Studio instabilities such
as caching issues or crashes.
Always close the solution before changing or activating this property.
*** WARNING ***
Include netstandard2.0 to make sure all projects build
-->
<!-- <TargetFrameworkOverride>netstandard2.0;uap10.0.18362</TargetFrameworkOverride> -->
</PropertyGroup>
</Project>