AssemblyInfo.cs duplication build error

Topics: Troubleshooting, Writing themes
Jul 8, 2012 at 6:04 PM

Hi

Using full source 1.4.2 in Visual Studio 2010, after initial set up and compiling the solution if I include the /Themes/ folder in the project to access new Theme files when I build project or solution the following errors occur:

 

Error 9 Duplicate 'Guid' attribute C:\Users\Sam\Documents\Phuture Design\Websites\2012\StMarysChurch\Orchard.Source.1.4.2\src\Orchard.Web\Properties\AssemblyInfo.cs 25 12 Orchard.Web

 

Error 8 Duplicate 'ComVisible' attribute C:\Users\Sam\Documents\Phuture Design\Websites\2012\StMarysChurch\Orchard.Source.1.4.2\src\Orchard.Web\Properties\AssemblyInfo.cs 21 12 Orchard.Web

 

// repeat for all attibutes

The themes folder has Properties/AssemblyInfo.cs which is clashing with the Orchard.Web Properties/AssemblyInfo.cs  

Which should be excluded from the project to avoid this so I can develop a new theme and build the solution?

 

Coordinator
Jul 11, 2012 at 11:47 AM

Please file a bug.

Jul 12, 2012 at 12:27 AM
Edited Jul 12, 2012 at 2:58 PM

Do you mean file the bug on here?

 

http://orchard.codeplex.com/WorkItem/Create