Skip to content

Instantly share code, notes, and snippets.

@bruno-garcia
Created June 2, 2021 01:49
Show Gist options
  • Save bruno-garcia/82748e284d889e085081b2c623f4c6bb to your computer and use it in GitHub Desktop.
Save bruno-garcia/82748e284d889e085081b2c623f4c6bb to your computer and use it in GitHub Desktop.
https://github.com/Aminator/UwpWithoutVisualStudio
<PropertyGroup>
<TargetFrameworks>net5.0;netcoreapp3.0;netstandard2.1;netstandard2.0;net461</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net5.0-windows10.0.18362.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net5.0-windows10.0.18362.0'">
<!-- <TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>-->
<!-- <TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>-->
<SupportedOSPlatformVersion>10.0.18362.0</SupportedOSPlatformVersion>
<!-- 10.0.15063.0 -->
<!-- 10.0.17763.0 -->
<DefineConstants >$(DefineConstants);NET5_0_WINDOWS</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0-windows10.0.18362.0'">
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.2.8" />
<PackageReference Include="Microsoft.UI.Xaml" Version="2.5.0" />
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="1.1.0" />
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" />
</ItemGroup>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment