Reputation: 12855
I wanted to have a Visual Studio package that is loadable in VS2008. To do so I've followed these steps:
regpkg : error : Could not load file or assembly 'file:///C:\SVN\Debugger\src\Visualizer2008\bin\x86\Debug\Visualizer2008.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Questions
Thanks!
Upvotes: 0
Views: 218
Reputation: 141668
Packages loaded into Visual Studio 2008 will always use the 2.0 CLR. Things that target the 4.0 CLR cannot be loaded into VS 2008 because of the incompatibility. You need to target .NET 3.5 or below for a package to load in 2008.
Upvotes: 2