You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/input/docs/usage/msbuild.md
+29-6Lines changed: 29 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,16 +51,39 @@ The next thing you need to do is to remove the `Assembly*Version` attributes fro
51
51
your `Properties\AssemblyInfo.cs` files. This puts GitVersion.MsBuild in charge of
52
52
versioning your assemblies.
53
53
54
-
DotNet SDK-style projects will generate Assembly Version info along with other
55
-
Assembly Info in a 'projectname.AssemblyInfo.cs' file, conflicting with GitVersion.
56
-
So, you will need to edit your project. Add [GenerateAssemblyFileVersionAttribute](https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#generateassemblyfileversionattribute)
57
-
under the first PropertyGroup and set it to `false`:
54
+
### WPF specific concerns
55
+
56
+
One futhur step needs to be taken for SDK-style WPF projects.
57
+
58
+
Building projects with .NET Core SDK with a version lower than v5.0.200
59
+
requires turning off automatic generation of the different versioning attributes.
60
+
GitVersion usually controls these properties but cannot during WPF specific
0 commit comments