⬅ Bradenkoh.com

Solving Duplicate Assembly Info Bug


Seems like this becomes an issue when you manually upgrade your .csproj file instead of starting from it because it comes with an AssemblyInfo.cs file.

The below stack overflow link solves this issue :
c# - Duplicate AssemblyVersion Attribute - Stack Overflow

Conversely, just add this node into your .csproj file

<Project Sdk="Microsoft.NET.Sdk">