As you can see in my last post, I’m moving my TitiusLabs.Core PCL to .NET Standard. After project migration, you can choose to maintain AssemblyInfo - and in my previous post you can see how to do it - or move to an auto generation model, as we’ll see in this post.

To auto generate the AssemblyInfo.cs, simply put the following PropertyGroup element in your .csproj:

  <Authors>Fabio Cozzolinon</Authors>

To avoid the Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute (CS0579), be sure the remove the AssemblyInfo.cs and set to true the GenerateAssemblyInfo in .csproj:


And that’s all!