-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Customized the assembly version to address #1415
- Loading branch information
1 parent
822380b
commit 9074a81
Showing
2 changed files
with
45 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,44 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<PackageReleaseNotes>For full release notes see https://github.com/restsharp/RestSharp/blob/master/releasenotes.md</PackageReleaseNotes> | ||
<PackageIcon>restsharp.png</PackageIcon> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<PackageProjectUrl>http://restsharp.org</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/restsharp/RestSharp.git</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<Description>Simple REST and HTTP API Client</Description> | ||
<Authors>John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community</Authors> | ||
<Version>106.8.10</Version> | ||
<Optimize>true</Optimize> | ||
<AssemblyOriginatorKeyFile>..\..\RestSharp.snk</AssemblyOriginatorKeyFile> | ||
<SignAssembly>true</SignAssembly> | ||
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign> | ||
<UpdateVersionProperties>true</UpdateVersionProperties> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<LangVersion>8</LangVersion> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> | ||
<PackageReference Include="MinVer" Version="2.2.0" PrivateAssets="All" /> | ||
<PackageReference Include="JetBrains.Annotations" Version="2020.1.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\restsharp.png" Pack="true" PackagePath="\"/> | ||
</ItemGroup> | ||
<PropertyGroup> | ||
<PackageReleaseNotes>For full release notes see https://github.com/restsharp/RestSharp/blob/master/releasenotes.md</PackageReleaseNotes> | ||
<PackageIcon>restsharp.png</PackageIcon> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<PackageProjectUrl>http://restsharp.org</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/restsharp/RestSharp.git</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<Description>Simple REST and HTTP API Client</Description> | ||
<Authors>John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community</Authors> | ||
<Version>106.8.10</Version> | ||
<Optimize>true</Optimize> | ||
<AssemblyOriginatorKeyFile>..\..\RestSharp.snk</AssemblyOriginatorKeyFile> | ||
<SignAssembly>true</SignAssembly> | ||
<PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign> | ||
<UpdateVersionProperties>true</UpdateVersionProperties> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<LangVersion>8</LangVersion> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/> | ||
<PackageReference Include="MinVer" Version="2.2.0" PrivateAssets="All"/> | ||
<PackageReference Include="JetBrains.Annotations" Version="2020.1.0"/> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\..\restsharp.png" Pack="true" PackagePath="\"/> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<NoWarn>$(NoWarn);1591</NoWarn> | ||
</PropertyGroup> | ||
|
||
<Target Name="CustomVersion" AfterTargets="MinVer"> | ||
<PropertyGroup> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<NoWarn>$(NoWarn);1591</NoWarn> | ||
<FileVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)</FileVersion> | ||
<AssemblyVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)</AssemblyVersion> | ||
</PropertyGroup> | ||
</Target> | ||
</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