-
Notifications
You must be signed in to change notification settings - Fork 663
Closed as not planned
Closed as not planned
Copy link
Description
Describe the bug
Rebuilding the WPF App project with Resource Dictionary gets 'File contains assembly version attributes which conflict with the attributes generated by GitVersion obj\Debug\AssemblyInfo.g.cs' warning.
This may be related to #2228.
Expected Behavior
No errors/warnings.
Actual Behavior
...\packages\GitVersionTask.5.3.7\build\GitVersionTask.targets(19,9): warning : File contains assembly version attributes which conflict with the attributes generated by GitVersion obj\Debug\AssemblyInfo.g.cs
obj/Debug/AssemblyInfo.g.cs does indeed exist, but contains version information generated by GitVersion.
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by GitVersion.
//
// You can modify this code as we will not overwrite it when re-executing GitVersion
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyFileVersion("1.2.4.0")]
[assembly: AssemblyVersion("1.2.4.0")]
[assembly: AssemblyInformationalVersion("1.2.4+1.Branch.master.Sha.0978c44bbeaf25fb56562fdc6d04f6da9e976245")]
Steps to Reproduce
- Create WPF App (.NET Framework 4.8);
- Delete AssemblyInfo.cs;
- Add Resource Dictionary (WPF);
- Install GitVersionTask NuGet;
- Just in case, reload soulion;
- Rebuild.
Your Environment
- Version Used: 5.3.7
- Operating System and version (Windows 10, Ubuntu 18.04): Microsoft Windows 10 1909
- IDE: Microsoft Visual Studio Community 2019 16.6.3
- Microsoft .NET Framework 4.8.03752
Sa1Gur, MaximProzorov, Crown0815, chrbkr, candritzky and 1 more