Skip to content

Commit e57b391

Browse files
authored
Merge pull request #722 from Particular/major-minor-patch-for-assembly-version
Added UseMajorMinorPatchForAssemblyVersion to analyzer project
2 parents dcf45fd + 6c48777 commit e57b391

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/NServiceBus.AzureFunctions.Analyzer/NServiceBus.AzureFunctions.Analyzer.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,11 @@
1414
<!-- this package can only be upgraded when we drop support for older versions of Visual Studio -->
1515
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.11.0" />
1616
</ItemGroup>
17+
18+
<Target Name="UseMajorMinorPatchForAssemblyVersion" AfterTargets="MinVer">
19+
<PropertyGroup>
20+
<AssemblyVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch).0</AssemblyVersion>
21+
</PropertyGroup>
22+
</Target>
1723

1824
</Project>

0 commit comments

Comments
 (0)