-
-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathDirectory.Build.props
69 lines (62 loc) · 3.12 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<RepositoryUrl>https://github.com/phmonte/Buildalyzer.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Label="Shared properties">
<Version Condition="'$(BuildalyzerVersion)' == ''">1.0.0</Version>
<Version Condition="'$(BuildalyzerVersion)' != ''">$(BuildalyzerVersion)</Version>
<AssemblyVersion>$(Version.Split('-')[0])</AssemblyVersion>
<FileVersion>$(Version.Split('-')[0])</FileVersion>
<LangVersion>12</LangVersion>
<Nullable>enable</Nullable>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<IsPublishable>false</IsPublishable>
</PropertyGroup>
<PropertyGroup Label="Package information">
<Description>
A little utility to perform design-time builds of .NET projects without
having to think too hard about it. Should work with any project type on
any .NET runtime.
</Description>
<PackageTags>
Roslyn,
MsBuild,
Workspaces,
C#,
F#,
VB.NET
</PackageTags>
<Authors>Dave Glick, Pablo Monteiro, Corniel Nobel, and contributors</Authors>
<Company>Dave Glick, Pablo Monteiro, and contributors</Company>
<Copyright>Dave Glick, Pablo Monteiro</Copyright>
<PackageIcon>icon.png</PackageIcon>
<PackageIconUrl>https://github.com/phmonte/Buildalyzer/blob/main/icon.png</PackageIconUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageProjectUrl>https://github.com/phmonte/Buildalyzer</PackageProjectUrl>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)/LICENSE.md" Pack="true" PackagePath=""/>
<None Include="$(MSBuildThisFileDirectory)/icon.png" Pack="true" PackagePath="/"/>
<None Include="$(MSBuildThisFileDirectory)/README.md" Pack="true" PackagePath="/"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all"/>
</ItemGroup>
<ItemGroup Label="Analyzers">
<PackageReference Include="DotNetProjectFile.Analyzers" Version="*" PrivateAssets="all" Condition="'$(TargetFramework)'=='net8.0'" />
<PackageReference Include="IDisposableAnalyzers" Version="*" PrivateAssets="all"/>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="*" PrivateAssets="all" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="*" PrivateAssets="all"/>
<PackageReference Include="Roslynator.Analyzers" Version="*" PrivateAssets="all"/>
<PackageReference Include="SonarAnalyzer.CSharp" Version="*" PrivateAssets="all" />
<PackageReference Include="StyleCop.Analyzers" Version="*-*" PrivateAssets="all"/>
</ItemGroup>
</Project>