-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3843 from s2quake/chore/common-properties
MSBuild common properties
- Loading branch information
Showing
57 changed files
with
524 additions
and
1,484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition="'$(_IsPacking)'=='true'">net6.0</TargetFrameworks> | ||
<TargetFramework Condition="'$(_IsPacking)'!='true'">net6.0</TargetFramework> | ||
<LangVersion>10</LangVersion> | ||
<VersionPrefix>5.1.0</VersionPrefix> | ||
<!-- Note: don't be confused by the word "prefix" here. It's merely a | ||
version without suffix like "-dev.123". See the following examples: | ||
Version: 1.2.3-dev.456 | ||
VersionPrefix: 1.2.3 | ||
VersionSuffix: dev.456 | ||
If it's a stable release the version becomes like: | ||
Version: 1.2.3 | ||
VersionPrefix: 1.2.3 | ||
VersionSuffix: (N/A) | ||
Note that the version suffix is filled through CLI option of dotnet command. | ||
--> | ||
<Nullable>enable</Nullable> | ||
<PackageProjectUrl>https://libplanet.io/</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/planetarium/libplanet.git</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<Company>Planetarium</Company> | ||
<Authors>Planetarium</Authors> | ||
<PackageLicenseExpression>LGPL-2.1-or-later</PackageLicenseExpression> | ||
<RequireLicenseAcceptance>true</RequireLicenseAcceptance> | ||
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)Libplanet.ruleset</CodeAnalysisRuleSet> | ||
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow> | ||
|
||
<PackageReleaseNotes>https://github.com/planetarium/libplanet/blob/main/CHANGES.md</PackageReleaseNotes> | ||
<PackageTags>multiplayer online game;game;blockchain</PackageTags> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<PackageIcon>icon.png</PackageIcon> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="$(MSBuildThisFileDirectory)CHANGES.md" Pack="true" PackagePath="CHANGES.md" /> | ||
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath="LICENSE.txt" /> | ||
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="README.md" /> | ||
<None Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="icon.png" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<AdditionalFiles Include="$(MSBuildThisFileDirectory)Menees.Analyzers.Settings.xml"> | ||
<Link>Menees.Analyzers.Settings.xml</Link> | ||
</AdditionalFiles> | ||
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Menees.Analyzers.2017" Version="2.0.3"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.DotNet.Analyzers.Compatibility" Version="0.2.12-alpha"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets> | ||
runtime; build; native; contentfiles; analyzers; buildtransitive | ||
</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.164"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets> | ||
runtime; build; native; contentfiles; analyzers | ||
</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(SkipSonar)' != 'true'"> | ||
<PackageReference Include="SonarAnalyzer.CSharp" Version="8.12.0.21095"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project> | ||
|
||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" /> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks Condition="'$(_IsPacking)'=='true'">$(TargetFrameworks);netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks> | ||
<LangVersion>9</LangVersion> | ||
<IsPackable>true</IsPackable> | ||
<IsTestProject>false</IsTestProject> | ||
<Title>$(ProjectName)</Title> | ||
</PropertyGroup> | ||
|
||
</Project> |
Oops, something went wrong.