VsPackage Loaded only for VSDB - GUID

I am trying to set the vsProject visible(Loaded) only when Visual Studio team edition for Database project is created/opened.

I am using the following attribute:

[ProvideAutoLoadAttribute("{a9ace9bb-cece-4e62-9aa4-c7e7c5bd2124}")].

When I have this attribute vsproject is loaded for any project type.

Does any one know the correct GUID? Or am I doing something wrong?

Thanks.

[1502 byte] By [CAI-USA] at [2007-12-24]
# 1

That is the correct approach. I verified the guid by creating a new Visual Studio Integration Package and adding '[ProvideAutoLoadAttribute("{a9ace9bb-cece-4e62-9aa4-c7e7c5bd2124}")]' to the generated VsPkg.cs file. The package does load when a new Database project is loaded but not when another (I used a C# library) was loaded.

Is it possible that your package is loading for reasons other then the ProvideAutoLoadAttribute?

psirr at 2007-10-8 > top of Msdn Tech,Visual Studio Team System,Visual Studio Team System - Database Professionals...

Visual Studio Team System

Site Classified