forked from snoopwpf/snoopwpf
/
Snoop.Core.csproj
34 lines (26 loc) · 1.33 KB
/
Snoop.Core.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
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFrameworks>net5.0-windows;netcoreapp3.1;$(MinTargetFramework)</TargetFrameworks>
<RootNamespace>Snoop</RootNamespace>
<UseWpf>true</UseWpf>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<Resource Include="..\Artwork\*.ico" />
<Content Include="Scripts\*.psm1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<_WpfCommonNetFxReference Remove="System.Windows.Controls.Ribbon" />
</ItemGroup>
<ItemGroup Label="PowerShell">
<Reference Include="System.Configuration" Condition="'$(TargetFramework)' == '$(MinTargetFramework)'" />
<PackageReference Include="microsoft.powershell.3.referenceassemblies" PrivateAssets="All" Condition="'$(TargetFramework)' == '$(MinTargetFramework)'" />
<PackageReference Include="System.Management.Automation" PrivateAssets="All" Condition="'$(TargetFramework)' == 'netcoreapp3.1'" />
<PackageReference Include="System.Management.Automation" PrivateAssets="All" Condition="'$(TargetFramework)' == 'net5.0-windows'" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net5.0-windows'">
<DefineConstants>$(DefineConstants);USE_WPF_BINDING_DIAG</DefineConstants>
</PropertyGroup>
</Project>