Duplicate AssemblyInfo.cs properties?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
Hi all,

I'm getting an error trying to run my 3.8 version locally where I get error message that indicate EVERY attribute in the AssemblyInfo.cs class is duplicated?

Why? Anyone else seen this?

Please help!

TIA
Jon
1 year ago
Please post here the actual error message / stack trace from the System Log.
1 year ago
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(8,12,8,31): error CS0579: Duplicate 'AssemblyDescription' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(9,12,9,33): error CS0579: Duplicate 'AssemblyConfiguration' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(10,12,10,27): error CS0579: Duplicate 'AssemblyCompany' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(11,12,11,27): error CS0579: Duplicate 'AssemblyProduct' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(12,12,12,29): error CS0579: Duplicate 'AssemblyCopyright' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(13,12,13,29): error CS0579: Duplicate 'AssemblyTrademark' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(14,12,14,27): error CS0579: Duplicate 'AssemblyCulture' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(19,12,19,22): error CS0579: Duplicate 'ComVisible' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(22,12,22,16): error CS0579: Duplicate 'Guid' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(33,12,33,27): error CS0579: Duplicate 'AssemblyVersion' attribute
1>C:\TFS-Azure\Ecommerce\ACRPBarnettStore\Presentation\Nop.Web\Properties\AssemblyInfo.cs(34,12,34,31): error CS0579: Duplicate 'AssemblyFileVersion' attribute
1 year ago
Clean your solution and rebuild then after maybe that fixed your issues.
please try this one 👍 :)
1 year ago
I've done that multiple times. What ended up working was eliminating the file completely. Of course I don't know what effect that will have yet, but I can run perfectly now.
1 year ago
In future that's didn't will affect your project, it is simple error, when make Assembly Version as duplicate :)👍
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.