-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathAuthoringTest.csproj
More file actions
49 lines (40 loc) · 2.44 KB
/
AuthoringTest.csproj
File metadata and controls
49 lines (40 loc) · 2.44 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Platforms>x64;x86</Platforms>
<CsWinRTComponent>true</CsWinRTComponent>
<IsTrimmable>true</IsTrimmable>
<TargetPlatformResourceVersion>10.0.18362.0</TargetPlatformResourceVersion>
<!-- CsWinRTEnableLogging helps to diagnose generation issues -->
<!-- <CsWinRTEnableLogging>true</CsWinRTEnableLogging> -->
<!--<CsWinRTKeepGeneratedSources>true</CsWinRTKeepGeneratedSources>-->
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<!-- Using x86 to test compilation of this option -->
<CsWinRTGenerateOverridedClassNameActivationFactory Condition="'$(Platform)' == 'x86'">true</CsWinRTGenerateOverridedClassNameActivationFactory>
<CsWinRTGenerateManagedDllGetActivationFactory>true</CsWinRTGenerateManagedDllGetActivationFactory>
<!--
Don't fail builds for well known warnings in the authoring tests that are expected:
"CS0067: The event 'BasicClass.ComplexDelegateEvent' is never used."
"CS0282: There is no defined ordering between fields in multiple declarations of partial struct 'PartialStruct'.
To specify an ordering, all instance fields must be in the same declaration."
"IL2087: <GuidPatcherImplementationDetails>.<SignatureCache>ABI.Windows.Foundation.AsyncActionProgressHandler<!0>..cctor():
'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to
'WinRT.GuidGenerator.GetSignature(Type)'. The generic parameter '!0' of
'<GuidPatcherImplementationDetails>.<SignatureCache>ABI.Windows.Foundation.AsyncActionProgressHandler<!0>' does not have
matching annotations. The source value must declare at least the same requirements as those declared on the target
location it is assigned to."
-->
<WarningsNotAsErrors>$(WarningsNotAsErrors);CS0067;CS0282;IL2087</WarningsNotAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK.WinUI" />
<PackageReference Include="Microsoft.Web.WebView2">
<ExcludeAssets>all</ExcludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Projections\Windows\Windows.csproj" />
<ProjectReference Include="..\..\Projections\WinAppSDK\WinAppSDK.csproj" />
<ProjectReference Include="..\..\cswinrt\cswinrt.vcxproj" />
</ItemGroup>
</Project>