-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
53 lines (45 loc) · 1.7 KB
/
Directory.Build.props
File metadata and controls
53 lines (45 loc) · 1.7 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
50
51
52
53
<Project>
<PropertyGroup>
<TargetFrameworks>net8.0;net10.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<IsPackable>False</IsPackable>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<WarningLevel>9999</WarningLevel>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<NoWarn>$(NoWarn);</NoWarn>
<!-- Pack everything with embedded .pdb -->
<EmbedAllSources>true</EmbedAllSources>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup>
<CompanyName>AuroraScienceHub</CompanyName>
<CurrentYear>$([System.DateTime]::Now.ToString(yyyy))</CurrentYear>
<Copyright>Copyright $(CurrentYear) © $(CompanyName). All rights reserved</Copyright>
<Authors>$(CompanyName)</Authors>
<Company>$(CompanyName)</Company>
</PropertyGroup>
<PropertyGroup>
<PackageBaseVersion>2.0.0</PackageBaseVersion>
<MinVerTagPrefix></MinVerTagPrefix>
</PropertyGroup>
<!--
This instruction automatically allows XXX.Tests to access internals of XXX.
Signed assemblies have to add friends manually because of public key requirement.
-->
<ItemGroup>
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" />
</ItemGroup>
<!-- Automatically add dev packages to all projects -->
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>