Visual Studio Extensions Signing Bug

M

Mark Harris

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.vstudio.extensibility as well.))
 
G

Gary Chang[MSFT]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top