Closed gep13 closed 2 years ago
This has been implemented.
Adding:
shouldGenerateSolutionVersionCSharpFile: false
in the recipe.cake file will prevent the SolutionVersion.cs file from being generated.
@corbob you should be able to use this in the Rhino.Licensing build.
:tada: This issue has been resolved in version 0.14.0 :tada:
The release is available on:
Your GitReleaseManager bot :package::rocket:
When building a full fat .NET Framework application, generating a SolutionVersion.cs file is very useful (as this file can be shared across all the projects, so that the version numbers stamped on the assemblies are always the same). However, when doing dotnet cli based projects, this SolutionVersion.cs file is not really needed, as there are different ways (directory.props, etc) that shared information can be shared between projects. As such, always generating this file is not required, and it should be possible to configure when this should happen.
This will be done via a parameter in the SetParameters method. By default, it should generate the SolutionVersion.cs, as the majority of our projects still use it. In future, this default value may change.