1
1
<Project >
2
- <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'RestSharp.sln'))\props\Common.props" />
3
- <PropertyGroup >
4
- <PackageIcon >restsharp.png</PackageIcon >
5
- <PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
6
- <PackageProjectUrl >https://restsharp.dev</PackageProjectUrl >
7
- <RepositoryUrl >https://github.com/restsharp/RestSharp.git</RepositoryUrl >
8
- <RepositoryType >git</RepositoryType >
9
- <Description >Simple REST and HTTP API Client</Description >
10
- <Authors >John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community</Authors >
11
- <UpdateVersionProperties >true</UpdateVersionProperties >
12
- <PublishRepositoryUrl >true</PublishRepositoryUrl >
13
- <IncludeSymbols >true</IncludeSymbols >
14
- <SymbolPackageFormat >snupkg</SymbolPackageFormat >
15
- <MinVerSkip Condition =" '$(Configuration)' == 'Debug'" >true</MinVerSkip >
16
- <GenerateDocumentationFile >true</GenerateDocumentationFile >
17
- <NoWarn >$(NoWarn);1591</NoWarn >
18
- </PropertyGroup >
19
-
20
- <ItemGroup >
21
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
22
- <PackageReference Include =" MinVer" Version =" 2.5.0" PrivateAssets =" All" />
23
- <PackageReference Include =" JetBrains.Annotations" Version =" 2021.3.0" PrivateAssets =" All" />
24
- <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" Version =" 1.0.2" PrivateAssets =" All" />
25
- </ItemGroup >
26
-
27
- <ItemGroup >
28
- <None Include =" $(RepoRoot)\restsharp.png" Pack =" true" PackagePath =" \" />
29
- <Using Remove =" System.Net.Http" />
30
- </ItemGroup >
31
-
32
- <Target Name =" CustomVersion" AfterTargets =" MinVer" >
2
+ <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'RestSharp.sln'))\props\Common.props" />
33
3
<PropertyGroup >
34
- <FileVersion >$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)</FileVersion >
35
- <AssemblyVersion >$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)</AssemblyVersion >
4
+ <PackageIcon >restsharp.png</PackageIcon >
5
+ <PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
6
+ <PackageProjectUrl >https://restsharp.dev</PackageProjectUrl >
7
+ <RepositoryUrl >https://github.com/restsharp/RestSharp.git</RepositoryUrl >
8
+ <RepositoryType >git</RepositoryType >
9
+ <Description >Simple REST and HTTP API Client</Description >
10
+ <Authors >John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community</Authors >
11
+ <UpdateVersionProperties >true</UpdateVersionProperties >
12
+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
13
+ <IncludeSymbols >true</IncludeSymbols >
14
+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
15
+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
16
+ <NoWarn >$(NoWarn);1591</NoWarn >
17
+ </PropertyGroup >
18
+ <PropertyGroup Condition =" '$(Configuration)' == 'Debug'" >
19
+ <MinVerSkip >true</MinVerSkip >
20
+ <GenerateAssemblyInfo >false</GenerateAssemblyInfo >
36
21
</PropertyGroup >
37
- </Target >
22
+
23
+ <ItemGroup >
24
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
25
+ <PackageReference Include =" MinVer" Version =" 2.5.0" PrivateAssets =" All" />
26
+ <PackageReference Include =" JetBrains.Annotations" Version =" 2021.3.0" PrivateAssets =" All" />
27
+ </ItemGroup >
28
+
29
+ <ItemGroup >
30
+ <None Include =" $(RepoRoot)\restsharp.png" Pack =" true" PackagePath =" \" />
31
+ <!-- <Using Remove="System.Net.Http"/>-->
32
+ </ItemGroup >
33
+ <ItemGroup Condition =" '$(TargetFramework)' == 'net452'" >
34
+ <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies.net452" Version =" 1.0.2" PrivateAssets =" All" />
35
+ </ItemGroup >
36
+
37
+ <Target Name =" CustomVersion" AfterTargets =" MinVer" >
38
+ <PropertyGroup >
39
+ <FileVersion >$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)</FileVersion >
40
+ <AssemblyVersion >$(MinVerMajor).$(MinVerMinor).$(MinVerPatch)</AssemblyVersion >
41
+ </PropertyGroup >
42
+ </Target >
38
43
</Project >
0 commit comments