-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathSample.csproj
31 lines (28 loc) · 1.32 KB
/
Sample.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
<Project Sdk="Microsoft.NET.Sdk">
<!-- Build config -->
<PropertyGroup>
<AssemblyName>NanoByte.StructureEditor.Sample</AssemblyName>
<RootNamespace>NanoByte.StructureEditor.Sample</RootNamespace>
<TargetFrameworks>net48;net9.0-windows</TargetFrameworks>
<UseWindowsForms>True</UseWindowsForms>
<OutputType>WinExe</OutputType>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<SignAssembly>False</SignAssembly>
<IsPackable>False</IsPackable>
<DeterministicSourcePaths>False</DeterministicSourcePaths>
</PropertyGroup>
<PropertyGroup Condition="'$(MSBuildRuntimeType)'=='Core'">
<!-- .NET Core MSBuild does not support non-primitive resources (e.g., images) for .NET Framework -->
<TargetFrameworks>net9.0-windows</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net9.0-windows'">
<!-- Run nullability analysis only on annotated frameworks -->
<Nullable>enable</Nullable>
</PropertyGroup>
<!-- Dependencies -->
<ItemGroup>
<ProjectReference Include="..\StructureEditor.WinForms\StructureEditor.WinForms.csproj" />
<PackageReference Include="Generator.Equals" Version="3.2.0" PrivateAssets="All" />
<PackageReference Include="Generator.Equals.Runtime" Version="3.2.0" />
</ItemGroup>
</Project>