-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathcrosstargeting_override.props.sample
More file actions
59 lines (45 loc) · 2.63 KB
/
crosstargeting_override.props.sample
File metadata and controls
59 lines (45 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<Project>
<!--
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>
<!-- 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.
These platform suffixes will be expanded to the appropriate .NET version
by each project (e.g., libraries use net9.0-*, SamplesApp uses net10.0-*).
-->
<!-- <TargetFrameworkOverride Condition="''!='hint: WinUI'">windows;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: iOS'">ios;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: Android'">android;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: WASM'">browserwasm;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: Desktop (Skia)'">desktop;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: macOS Catalyst'">maccatalyst;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!-- <TargetFrameworkOverride Condition="''!='hint: macOS AppKit'">macos;$(TargetFrameworkOverride)</TargetFrameworkOverride> -->
<!--
### 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 using platform suffixes.
The platform suffixes (ios, android, windows, browserwasm, desktop, etc.)
are expanded to versioned TFMs by each project:
- Library projects expand to net9.0-* (e.g., ios -> net9.0-ios)
- SamplesApp expands to net10.0-* (e.g., ios -> net10.0-ios)
*** 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 ***
-->
</PropertyGroup>
</Project>