Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / July 2006

Tip: Looking for answers? Try searching our database.

Visual Studio Extension Signing Bug

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Harris - 20 Jul 2006 09:10 GMT
I seem to have stumbled over a bug in Visual Studio 2005, when I sign a  
Visual Studio Add-in you I get the following error:

Warning 1 Option 'keyfile' overrides attribute  
'System.Reflection.AssemblyKeyFileAttribute' given in a source file or  
added module Serialiser

This would appear to be because the project is saying that its signed, yet  
the AssemblyInfo.cs is saying that its not. This would appear to be  
because the code for assemblyinfo.cs is not the same as the "new version"  
that all other projects use. After an afternoon of trying to figure out  
what was wrong, my trusty side-kick and I managed to work it out.

The resolution is simple, choose from the following:
- Copy and paste the assemblyinfo.cs from another project (under the  
Project Properties folder, update the assembly details at the top, then  
generate yourself a new GUID – compile and sigh in relief :) OR
- Comment out the last two lines of your assemblyinfo.cs file.

Hopefully this ends up in google soonish as there was only one match which  
was a subversion log when I searched for the error.

Mark Harris
IT Vision
http://issus.livejournal.com

((Note: This has been posted over in  
microsoft.public.dotnet.languages.csharp as well.))
Gary Chang[MSFT] - 21 Jul 2006 03:50 GMT
Hi Mark,

Thanks for sharing this valuable solution with our community members!

Meanwhile, I will also forward this issue to our corresponding product team
for review.

Have a nice day!

Best regards,

Gary Chang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.