Skip to content

Commit 5952d76

Browse files
authored
Merge pull request #49 from CommunityToolkit/fix/uwp/language-polyfills
Add C# language polyfills to UWP heads
2 parents 8cfc550 + bd9a941 commit 5952d76

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ProjectHeads/Head.Uwp.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
2828
<DebugSymbols>true</DebugSymbols>
2929
<OutputPath>bin\x86\Debug\</OutputPath>
30-
<DefineConstants>$(DefineConstants);DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
30+
<DefineConstants>$(DefineConstants);DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
3131
<DebugType>full</DebugType>
3232
<PlatformTarget>x86</PlatformTarget>
3333
<UseVSHostingProcess>false</UseVSHostingProcess>
@@ -123,6 +123,10 @@
123123
<PackageReference Include="Microsoft.UI.Xaml">
124124
<Version>2.7.0</Version>
125125
</PackageReference>
126+
<PackageReference Include="PolySharp" Version="1.13.1">
127+
<PrivateAssets>all</PrivateAssets>
128+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
129+
</PackageReference>
126130
</ItemGroup>
127131

128132
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">

0 commit comments

Comments
 (0)