Skip to content

Commit 73f3695

Browse files
committed
Remove version from csproj
1 parent a55cd23 commit 73f3695

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

AutofacContrib.NSubstitute/AutofacContrib.NSubstitute.csproj

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,30 @@
55
<AssemblyName>AutofacContrib.NSubstitute</AssemblyName>
66
<RootNamespace>AutofacContrib.NSubstitute</RootNamespace>
77
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
8-
<Version>4.9.4</Version>
9-
<AssemblyVersion>4.9.4.0</AssemblyVersion>
8+
</PropertyGroup>
9+
10+
<PropertyGroup>
11+
<InformationalVersion>$(GitVersion_InformationalVersion)</InformationalVersion>
12+
<FileVersion>$(GitVersion_MajorMinorPatch)</FileVersion>
13+
<AssemblyVersion>$(GitVersion_AssemblySemVer)</AssemblyVersion>
14+
<Version>$(GitVersion_NuGetVersionV2)</Version>
15+
</PropertyGroup>
16+
17+
<PropertyGroup>
18+
<IncludeSymbols>true</IncludeSymbols>
19+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
20+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
21+
<IncludeSymbols>true</IncludeSymbols>
22+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
23+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
24+
</PropertyGroup>
25+
26+
<PropertyGroup Condition=" '$(CI)' == 'true' ">
27+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
1028
</PropertyGroup>
1129

1230
<ItemGroup>
31+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
1332
<PackageReference Include="Autofac" Version="5.2.0" />
1433
<PackageReference Include="NSubstitute" Version="4.2.2" />
1534
</ItemGroup>

0 commit comments

Comments
 (0)