-
Notifications
You must be signed in to change notification settings - Fork 856
Expand file tree
/
Copy pathcrosstargeting_override.props.sample
More file actions
78 lines (59 loc) · 5.66 KB
/
crosstargeting_override.props.sample
File metadata and controls
78 lines (59 loc) · 5.66 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<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 UnoNugetOverrideVersion property below
3) Make sure to do a Rebuild, so that nuget restores the proper packages for the new target
-->
<PropertyGroup>
<!-- See documentation for each property below -->
<!--<UnoTargetFrameworkOverride>net10.0</UnoTargetFrameworkOverride>-->
<!--<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>-->
<!--<OptimizeImplicitlyTriggeredBuild>true</OptimizeImplicitlyTriggeredBuild>-->
<!--<UnoNugetOverrideVersion>6.4.0-dev.354</UnoNugetOverrideVersion>-->
<!--
### UnoTargetFrameworkOverride ###
This property controls the platform built by Visual Studio.
Available build targets and corresponding solution filters:
┌───────────────────────────────────────────────────────────┬───────────────────────────────┬───────────────────────────────────────────────┐
│ UnoTargetFrameworkOverride │ Platform │ Solution filter file │
├───────────────────────────────────────────────────────────┼───────────────────────────────┼───────────────────────────────────────────────┤
│ net9.0-windows10.0.19041.0 or net10.0-windows10.0.19041.0 │ Windows │ Uno.UI-Windows-only.slnf │
│ net9.0 or net10.0 │ WebAssembly, Skia │ Uno.UI-Wasm-only.slnf, Uno.UI-Skia-only.slnf │
│ net9.0-ios or net10.0-ios │ .NET 9/10 iOS │ Uno.UI-netcore-mobile-only.slnf │
│ net9.0-ios or net10.0-ios │ .NET 9/10 iOS Skia │ Uno.UI-Skia-only.slnf │
│ net9.0-tvos or net10.0-tvos │ .NET 9/10 tvOS │ Uno.UI-netcore-mobile-only.slnf │
│ net9.0-tvos or net10.0-tvos │ .NET 9/10 tvOS Skia │ Uno.UI-Skia-only.slnf │
│ net9.0-android or net10.0-android │ .NET 9/10 Android │ Uno.UI-netcore-mobile-only.slnf │
│ net9.0-android or net10.0-android │ .NET 9/10 Android Skia │ Uno.UI-Skia-only.slnf │
│ net9.0-maccatalyst or net10.0-maccatalyst │ .NET 9/10 macOS Catalyst │ Uno.UI-netcore-mobile-only.slnf │
│ net9.0-maccatalyst or net10.0-maccatalyst │ .NET 9/10 macOS Catalyst Skia │ Uno.UI-Skia-only.slnf │
│ net9.0 or net10.0 │ Wasm+Skia Reference API │ Uno.UI-Reference-only.slnf │
│ net9.0 or net10.0 │ Uno.UI.Tests │ Uno.UI-UnitTests-only.slnf │
└───────────────────────────────────────────────────────────┴───────────────────────────────┴───────────────────────────────────────────────┘
Only one target can be built, and the corresponding solution filter file must
be loaded in Visual Studio (see next to Uno.UI.slnx).
*** WARNING ***
Note that changing that 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 ***
### UnoNugetOverrideVersion ###
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".
### AccelerateBuildsInVisualStudio ###
Uncomment this line to increase build performance further by using reference
assemblies builds.
See for more details: https://github.com/dotnet/project-system/blob/main/docs/build-acceleration.md#build-acceleration
### OptimizeImplicitlyTriggeredBuild ###
Uncomment this line if you're iterating quickly in your builds. This
will disable most of the C# analyzers, and you'll need to comment that property
before making your pull request.
-->
</PropertyGroup>
</Project>