-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
54 lines (50 loc) · 2.73 KB
/
Directory.Build.props
File metadata and controls
54 lines (50 loc) · 2.73 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
54
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="NuspecSettings">
<Company>ZeidLabCo</Company>
<Authors>Zeid Youssefzadeh</Authors>
<Copyright>Copyright © $(Company) $([System.DateTime]::Now.Year)</Copyright>
<Trademark>$(Company)™</Trademark>
<Product>$(Company) Projects</Product>
<NeutralLanguage>en</NeutralLanguage> <!-- The default language of the package -->
</PropertyGroup>
<PropertyGroup>
<LangVersion>12</LangVersion>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<RootNamespace>ZeidLab.$(MSBuildProjectName)</RootNamespace>
<Configurations>Debug;Release;Production</Configurations>
<ImplicitUsings>enable</ImplicitUsings>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<Deterministic>true</Deterministic>
<RestoreIgnoreFailedSource>true</RestoreIgnoreFailedSource>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
<RunAnalyzersDuringLiveAnalysis>True</RunAnalyzersDuringLiveAnalysis>
<RunAnalyzersDuringBuild>True</RunAnalyzersDuringBuild>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<Optimize>True</Optimize>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<ManagePackageVersionsCentrally>True</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup Condition="!$(MSBuildProjectName.Contains('.Test.'))">
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(MSBuildProjectName.Replace(" ", "_")).Test.UI</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(MSBuildProjectName.Replace(" ", "_")).Test.Integrations</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(MSBuildProjectName.Replace(" ", "_")).Test.Units</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(MSBuildProjectName.Replace(" ", "_")).Test.Benchmarks</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<PropertyGroup Label="ConfigFiles">
<EditorConfigFile Condition=" '$(EditorConfigFile)' == '' ">$([MSBuild]::GetPathOfFileAbove('.editorconfig',
$(MSBuildProjectDirectory)))
</EditorConfigFile>
</PropertyGroup>
</Project>