-
Notifications
You must be signed in to change notification settings - Fork 8.3k
/
wap-common.build.pre.props
71 lines (61 loc) · 2.86 KB
/
wap-common.build.pre.props
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
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '17.0'">
<VisualStudioVersion>17.0</VisualStudioVersion>
</PropertyGroup>
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64">
<Configuration>Release</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
</ItemGroup>
<!--
VS 16.10 contains a regression, which causes our solution to fail loading.
In Visual Studio you'll see:
Visual Studio ran into an unexpected problem with one or more projects.
You may need to reload affected projects or the solution to prevent further problems.
[Open log file] [Reload faulted project(s)]
The log file points to the following error:
System.InvalidOperationException: There is no project properties provider for "Persistence = AssemblyReference".
This error is caused by the following lines in our Microsoft.UI.Xaml dependency:
https://github.com/microsoft/microsoft-ui-xaml/blob/v2.5.0/build/NuSpecs/MUXControls-Nuget-Native.targets#L9-L11
See _DevDiv_ work item MSFT:1328040.
-->
<ItemGroup>
<ProjectCapability Include="AssemblyReferences" />
</ItemGroup>
<!-- Install an empty one for WAP projects as they don't PGO. -->
<Target Name="MergePGOCounts" />
<PropertyGroup>
<WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
<!-- Turn off the 6+MB Windows.winmd that's emitted into our package
because something thinks it contains managed code. -->
<SkipUnionWinmd>true</SkipUnionWinmd>
</PropertyGroup>
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
<PropertyGroup>
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
<DefaultLanguage>en-US</DefaultLanguage>
</PropertyGroup>
</Project>