/
TestEmbeddedLibrary.csproj
47 lines (42 loc) · 1.64 KB
/
TestEmbeddedLibrary.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0-windows;netstandard2.0;net48</TargetFrameworks>
<Platforms>x64;x86</Platforms>
</PropertyGroup>
<PropertyGroup>
<LangVersion>9</LangVersion>
<CsWinRTEmbedded>true</CsWinRTEmbedded>
<CsWinRTWindowsMetadata>10.0.19041.0</CsWinRTWindowsMetadata>
<SimulateCsWinRTNugetReference>true</SimulateCsWinRTNugetReference>
<CsWinRTGenerateProjection>true</CsWinRTGenerateProjection>
<!-- Will expose enums as public in the projection
<CsWinRTEmbeddedPublicEnums>true</CsWinRTEmbeddedPublicEnums> -->
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\C++ Components\Alpha\Alpha.vcxproj" />
<ProjectReference Include="..\C++ Components\Beta\Beta.vcxproj" />
<ProjectReference Include="..\C++ Components\Gamma\Gamma.vcxproj" />
</ItemGroup>
<!-- Targeting .NET versions older than 5 requires different versions of these packages -->
<ItemGroup Condition="!($([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) >= 5)">
<PackageReference Include="System.Memory" Version="4.5.4" />
<PackageReference Include="System.Runtime.Extensions" Version="4.3.1" />
</ItemGroup>
<PropertyGroup>
<CsWinRTIncludes>
Alpha;
Beta;
Gamma;
Windows.Media.AudioFrame;
Windows.Media.AudioBuffer;
Windows.Media.IAudioBuffer;
Windows.Media.IMediaFrame;
Windows.Media.IAudioFrame;
Windows.Foundation;
</CsWinRTIncludes>
<CsWinRTExcludes>
Windows.Foundation.Diagnostics;
Windows.Foundation.PropertyType;
</CsWinRTExcludes>
</PropertyGroup>
</Project>