-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sudoku.csproj
184 lines (158 loc) · 8.81 KB
/
Sudoku.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<Project Sdk="MSBuild.Sdk.Extras/2.0.54">
<PropertyGroup>
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
<AssemblyName>Sudoku</AssemblyName>
<RootNamespace>Sudoku</RootNamespace>
<DefaultLanguage>en-US</DefaultLanguage>
</PropertyGroup>
<PropertyGroup>
<UseWpf>true</UseWpf>
<UseWindowsForms>true</UseWindowsForms>
<ExtrasEnableImplicitWpfReferences>true</ExtrasEnableImplicitWpfReferences>
<ExtrasEnableImplicitWinFormsReferences>true</ExtrasEnableImplicitWinFormsReferences>
</PropertyGroup>
<PropertyGroup>
<!-- Tools like SonarQube require a unique project guid -->
<ProjectGuid>81a1909a-b313-4706-962a-c8d777baa928</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<OutputType>WinExe</OutputType>
<StartupObject />
<NoWarn>$(NoWarn);SA1652</NoWarn>
<ApplicationIcon>Resources\Icons\logo.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Catel.MVVM" Version="5.12.8" />
<PackageReference Include="Catel.Fody" Version="4.5.0" PrivateAssets="all" />
<PackageReference Include="Fody" Version="6.2.4" PrivateAssets="all" />
<PackageReference Include="ModuleInit.Fody" Version="2.1.0" PrivateAssets="all" />
<PackageReference Include="Obsolete.Fody" Version="5.2.1" PrivateAssets="all" />
<PackageReference Include="WpfAnalyzers" Version="2.2.0.2" PrivateAssets="all">
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Update="NETStandard.Library" Version="2.0.1" />
</ItemGroup>
<Import Project="$(MSBuildProjectDirectory)\..\Directory.build.shared.explicit.props" Condition="Exists('$(MSBuildProjectDirectory)\..\Directory.build.shared.explicit.props')" />
<!-- Fallback code in case repository template is not found, code below can be removed when the repository template files are used -->
<Choose>
<When Condition="!Exists('$(MSBuildProjectDirectory)\..\Directory.build.shared.explicit.props')">
<PropertyGroup>
<NoWarn>$(NoWarn);CS1591;CS1998;NU1603;NU1605;NU1608;NU1701;AD0001</NoWarn>
<NoError>$(NoError);CS1591;CS1998;NU1603;NU1605;NU1608;NU1701;AD0001</NoError>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Configuration Condition="'$(Configuration)' == ''">Release</Configuration>
<PackageOutputPath>$(ProjectDir)..\output\$(Configuration)\</PackageOutputPath>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.xml</AllowedOutputExtensionsInPackageBuildOutputFolder>
<Deterministic>False</Deterministic>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<!-- Explicit additional project properties that require stuff set before -->
<PropertyGroup>
<!--
Use MsBuildProjectName, this allows us to use the same assembly name for different
versions, e.g.:
Orc.EntityFramework5 => Orc.EntityFramework.dll
Orc.EntityFramework6 => Orc.EntityFramework.dll
If we would use AssemblyName, they would be compiled into the same directory
-->
<OverridableOutputPath>$(ProjectDir)..\output\$(Configuration)\$(MSBuildProjectName)\</OverridableOutputPath>
<OutputPath>$(OverridableOutputPath)</OutputPath>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<!-- CSharp language -->
<PropertyGroup>
<LangVersion>7.3</LangVersion>
</PropertyGroup>
<!-- Enforce portable pdb format -->
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugType>portable</DebugType>
<!-- Debug symbols are required for ApiApprover -->
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\*.cs">
<SonarQubeExclude>true</SonarQubeExclude>
</Compile>
</ItemGroup>
<!-- Platform specific stuff -->
<ItemGroup>
<Compile Remove="Platforms\**\*.cs;Resources\**\*.cs" />
<Page Remove="Platforms\**\*.xaml" />
<!-- This is here so that the conditionally included files below are all visible in VS -->
<None Include="Platforms\**\*.*" />
<None Include="Resources\**\*.*" Exclude="Resources\**\*.xaml" />
<EmbeddedResource Include="Resources\Files\**\*.*" />
<Resource Include="Resources\Fonts\**\*.ttf" />
<Resource Include="Resources\Images\**\*.png" />
<Resource Include="Resources\Images\**\*.gif" />
<Resource Include="Resources\Images\**\*.jpg" />
<Resource Include="Resources\Images\**\*.jpeg" />
<EmbeddedResource Include="Resources\ThirdPartyNotices\**\*" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.*.resx">
<Generator />
</EmbeddedResource>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<!-- .NET Core app 3.0 -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.0' ">
<DefineConstants>$(DefineConstants);NETCORE;NETCORE3_0;NETCOREAPP;NETCOREAPP3_0</DefineConstants>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.0' ">
<None Remove="Platforms\net\**\*.cs;Platforms\net\**\*.xaml;Platforms\net\**\*.xaml.cs" />
<Compile Include="Platforms\net\**\*.cs" DependentUpon="%(Filename)" />
<Page Include="Platforms\net\**\*.xaml" SubType="Designer" Generator="MSBuild:Compile" />
<Compile Update="Platforms\net\**\*.xaml.cs" SubType="Code" DependentUpon="%(Filename)" />
</ItemGroup>
<!-- .NET 4.6 -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'net46' ">
<EnableWpfProjectSetup>true</EnableWpfProjectSetup>
<DefineConstants>$(DefineConstants);NET;NET46;NET460</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net461' ">
<EnableWpfProjectSetup>true</EnableWpfProjectSetup>
<DefineConstants>$(DefineConstants);NET;NET46;NET461</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net462' ">
<EnableWpfProjectSetup>true</EnableWpfProjectSetup>
<DefineConstants>$(DefineConstants);NET;NET46;NET462</DefineConstants>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' OR '$(TargetFramework)' == 'net461' OR '$(TargetFramework)' == 'net462'">
<None Remove="Platforms\net\**\*.cs;Platforms\net\**\*.xaml;Platforms\net\**\*.xaml.cs" />
<Compile Include="Platforms\net\**\*.cs" DependentUpon="%(Filename)" />
<Page Include="Platforms\net\**\*.xaml" SubType="Designer" Generator="MSBuild:Compile" />
<Compile Update="Platforms\net\**\*.xaml.cs" SubType="Code" DependentUpon="%(Filename)" />
</ItemGroup>
<!-- .NET 4.7 -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'net47' ">
<EnableWpfProjectSetup>true</EnableWpfProjectSetup>
<DefineConstants>$(DefineConstants);NET;NET47;NET470</DefineConstants>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net47' ">
<None Remove="Platforms\net\**\*.cs;Platforms\net\**\*.xaml;Platforms\net\**\*.xaml.cs" />
<Compile Include="Platforms\net\**\*.cs" DependentUpon="%(Filename)" />
<Page Include="Platforms\net\**\*.xaml" SubType="Designer" Generator="MSBuild:Compile" />
<Compile Update="Platforms\net\**\*.xaml.cs" SubType="Code" DependentUpon="%(Filename)" />
</ItemGroup>
</When>
</Choose>
</Project>