A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dotnet/Nerdbank.GitVersioning/issues/121 below:

Incremental build after installing NB.GV fails due to generated assemblyinfo attribute collisions in .NET SDK projects · Issue #121 · dotnet/Nerdbank.GitVersioning · GitHub

I thought this scenario was now supported, but I may have misread. I have a .NET Standard class library in VS2017 targeting netstandard1.4 and net462. When I install GitVersioning, I do not get a project.json file (have to add it manually), and when I build I get errors:

1>obj\Debug\net462\Foo.AssemblyInfo.cs(17,12,17,58): error CS0579: Duplicate 'System.Reflection.AssemblyFileVersionAttribute' attribute
1>obj\Debug\net462\Foo.AssemblyInfo.cs(18,12,18,67): error CS0579: Duplicate 'System.Reflection.AssemblyInformationalVersionAttribute' attribute
1>obj\Debug\net462\Foo.AssemblyInfo.cs(21,12,21,54): error CS0579: Duplicate 'System.Reflection.AssemblyVersionAttribute' attribute

Am I doing something wrong, or is this not supported yet?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4