Getting a compile time error CS0579: Duplicate 'AssemblyFileVersionAttribute' attribute

I think you already specified those attributes in Assembly Information window of Project Properties. If you did this, please remove those attributes from Assembly Information.


By adding this in .csproj file solved the issue

 <PropertyGroup>
    <TargetFramework>netcoreapp2.1</TargetFramework>
    <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
        <GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
        <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
        <GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute>
  </PropertyGroup>