Hello,
I just migrated from VS.NET 2005 Beta 2 to the new RC1 release. However, I noticed that the DLL Microsoft.VisualStudio.Package.Project.dll can no longer be found. IIRC, this DLL was registered in the GAC in Beta 2, but it is missing when I upgraded to RC1.
After installing the September CTP version of the VSIP SDK, the DLL was installed into the SDK directory (but NOT in the GAC). But even though now I can compile my VS package, how will my package be able to run on a machine with just RC1 but not VSIP
Thanks for any help!
Eric

Microsoft.VisualStudio.Package.Project.dll missing in RC1?
CKa
It seems like we've clarified the main issue here. Basically MS took out this DLL from the RC build and intended to release it in source code format in the SDK. But the source didn't make it to the Sept CTP. Until they either release it separately, or get it into a future CTP (most likely Oct), we will only be able to build our code with the stubbed version, but won't be able to run it in RC1.
ParkSys
James McKinnon
Assemblies shipping with the VSSDK contain no code and are to be found by default in C:\Program Files\Visual Studio 2005 SDK\2005-10\VisualStudioIntegration\Common\Assemblies
These are for use at Build time, and get picked up by the VS IDE references dialog.
At run-time the assemblies in the GAC are used, and these typically ship with VS 2005 itself (not the SDK). For example, Microsoft.VisualStudio.Package.Project is actually used by the Xml editor in the product.
By stubbing out the code from the VSSDK assemblies, it will be very obvious if you accidentally end up calling the wrong one at runtime.
There have been problems recently where the VSSDK assemblies (and IDL) don't match the assemblies installed by VS itself, but as far as I'm aware, this has now been tidied up and the VSSDK September CTP assemblies are spot on with the RC1 build.
If Microsoft.VisualStudio.Package.Project is missing from the GAC on your machine, I think this a bad install of Visual Studio.
neuling700
TroyMac
I have also run across the same issue.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
This will only work for the purpose of building and registering your package if you are using the Microsoft.VisualStudio.Package.Project.dll that is located in the
…\Visual Studio 2005 SDK\2005-09\VisualStudioIntegration\Common\Assemblies
directory that is dated
08/02/2005 10:12 AM 57,344 Microsoft.VisualStudio.Package.Project.dll
If you use ildasm on it you will see that it is a stubbed out version that has no implementation so you will not be able to run with it.
for example
.method public hidebysig specialname rtspecialname
instance void .ctor(... ) cil managed
{
// Code size 1 (0x1)
.maxstack 8
IL_0000: ret
} // end of method FileNode::.ctor
Mark
Rajavanya
vs. what's in the GAC. This is very helpful, as I can take the assemblies in the GAC and still disassemble them.
I don't have Microsoft.VisualStudio.Package.Project in the GAC, but as I understand it this is intentional, as MS plans to release this in source code only format. I guess they missed doing this for the Sept CTP.
Paolo Pialorsi
Sn –Vr Microsoft.VisualStudio.Package.Project.dll
Gacutil /f /i Microsoft.VisualStudio.Package.Project.dll
use at your own risk
unionize
Second, you'll notice that pretty much all of the shell assemblies don't respond to disassembly; try use ildasm on a more fundamental assembly like Microsoft.VisualStudio.Shell.dll. This one also appears stubbed out. But, it is used by the ToolWindow sample and this works fine. Plus, we used an older version of the MPF project system code (in source code format) and got further along than using the Microsoft.VisualStudio.Package.Project.dll that comes with the Sept SDK. The older MPF project system code still relies on the Microsoft.VisualStudio.Shell.dll, so this tells me it's not just stub code.
D-Rain
I'm assuming until the source is released in the SDK, I will have to use the binary that is in the Sept CTP SDK then However, I still can't get my package to register due to the errors I'm getting in my previous post. As I said, the samples as well as new VS Package projects created via the wizard all work fine.
Do you have any suggestions
Thanks very much.
Eric
ljCharlie
After tweaking my VSPackage project in RC1 for awhile, I was able to build everything, but I'm getting the following error from RegPkg:
regpkg : error : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Could not load file or assembly 'Microsoft.VisualStudio.Package.Project, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Could not load file or assembly 'Microsoft.VisualStudio.Package.Project, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Could not load file or assembly 'Microsoft.VisualStudio.Package.Project, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Could not load file or assembly 'Microsoft.VisualStudio.Package.Project, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
Could not load file or assembly 'Microsoft.VisualStudio.Package.Project, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
But I'm able to build the VSIP samples as well as create new VS Package project via the wizard just fine.
Any help would be great!
Thanks
Eric
mediterian
Exactly.