AssemblyInfo.cs in template when compiling Guidance Automation Project

Published 26 July 07 03:30 PM | Dick Dijkstra 

When you're working with an Guidance Automation Project and you have template for lets say, a class library project that contains the file properties\assemblyinfo.cs, make sure you set the build action to "Content" instead of "Compile", or else you'll get an error message saying there are duplicate attributes in AssemblyInfo.cs. You get the error because the GA project itself also contains an AssemblyInfo.cs file.

 P.S. Don't forget to set the "Copy To Output Directory" to "Copy if newer" for obvious reasons...

Filed under: , ,

Comments

No Comments
Anonymous comments are disabled