-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
41 lines (41 loc) · 1.59 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<AssemblyName>WindConfig</AssemblyName>
</PropertyGroup>
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFrameworks>net35;net6.0-windows</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<LangVersion>10.0</LangVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<IncludePackageReferencesDuringMarkupCompilation>true</IncludePackageReferencesDuringMarkupCompilation>
</PropertyGroup>
<PropertyGroup>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.2.63-beta">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net35' ">
<Reference Include="System.Windows.Forms" Version="2.0.0.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0-windows7.0' ">
<Reference Include="System.Windows.Forms" Version="6.0.2.0" />
</ItemGroup>
<PropertyGroup Condition=" '$(MSBuildProjectName)' == 'Wind3Config'">
<BaseOutputPath>bin\$(MSBuildProjectName)</BaseOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(MSBuildProjectName)' == 'Wind4Config'">
<BaseOutputPath>bin\$(MSBuildProjectName)</BaseOutputPath>
</PropertyGroup>
</Project>