Mittwoch, 30. Januar 2008

How to add a Wizard to a Visual Studio 2008 Project Template

Following the description in How to: Use Wizards with Project Templates I always got this "Error: this template attempted to load an untrusted component" error.

I added my assembly to the GAC and built it with a strong name. I finally found a solution to this problem. My -tag was missing processorArchitecture=msil part.

CustomWizard, Version=1.0.0.0, Culture=Neutral, PublicKeyToken=74329847392 didn't work, but
CustomWizard, Version=1.0.0.0, Culture=Neutral, PublicKeyToken=74329847392,processorArchitecture=MSIL did just fine.

1 Kommentar:

Anonym hat gesagt…

Hello.
more links for that topic?
And Bye.

Reach me via Live Messenger