-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
49 lines (44 loc) · 1.86 KB
/
Directory.Build.props
File metadata and controls
49 lines (44 loc) · 1.86 KB
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
<Project>
<PropertyGroup>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<AnalysisMode>Recommended</AnalysisMode>
<LangVersion>latest</LangVersion>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>disable</Nullable>
<NoWarn>$(NoWarn);WFO1000</NoWarn>
<TargetFrameworkBaseVersion>net9.0</TargetFrameworkBaseVersion>
</PropertyGroup>
<!--Winforms projects-->
<PropertyGroup Condition="($(MSBuildProjectName) == 'CollectionManager.App.Winforms'
or $(MSBuildProjectName) == 'CollectionManager.WinForms'
or $(MSBuildProjectName) == 'ObjectListView2012'
)">
<TargetFrameworks>$(TargetFrameworkBaseVersion)-windows</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<!--Rest of the projects, condition is reverse of above-->
<PropertyGroup Condition="!($(MSBuildProjectName) == 'CollectionManager.App.Winforms'
or $(MSBuildProjectName) == 'CollectionManager.WinForms'
or $(MSBuildProjectName) == 'ObjectListView2012'
)">
<TargetFrameworks>$(TargetFrameworkBaseVersion)</TargetFrameworks>
</PropertyGroup>
<!--Packages config-->
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/Piotrekol/CollectionManager</PackageProjectUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<AssemblyVersion>69.68.0</AssemblyVersion>
<FileVersion>69.68.0</FileVersion>
<InformationalVersion>69.68.0</InformationalVersion>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<ItemGroup>
<Using Include="System" />
<Using Include="System.Collections.Generic" />
<Using Include="System.Diagnostics" />
<Using Include="System.Linq" />
<Using Include="System.Threading.Tasks" />
</ItemGroup>
</Project>