Create Visual Studio .NET 2005/2008 Toolbox

VBOfficer

Newcomer
Joined
Jan 22, 2009
Messages
24
Hello,
I have written a .NET 2.0 component (.dll) which I am creating a setup for it.
The hard thing is that I wanna create a Toolbox in the target system Visual Studio Toolbox.
I wanna create this Toolbox at the installation time.

Anyone knows a way to do this both for VS.NET2005 and VS.NET2008?

I found 2 ways:

Creating a .vscontent and .vsi file and execute it, which has 3 problems: Cannot run in silent mode - cannot create a custom named toolbox - my dll is not digitally signed and it will show a warning box, non acceptable!

2nd way is:
http://www.codeproject.com/KB/aspnet/VisualStudio2005Toolbox.aspx
But it's only for VS.NET2005 and VS.NET2008 is not still supported!

Please help me :(
 
What if you take the code from Chetan Chudasama's weblog and recompile it against the vs.net 2008 (v9) libraries. Then you should be able to use that in the codeplex project

for example Chetan opens Visual Studio v8 (2005) from his code
Code:
using EnvDTE80;
...
Type type = System.Type.GetTypeFromProgID("VisualStudio.DTE.8.0");

If you replace these with the vs.net 2008 equivalents (version 9) It might do the trick?

~DP
 
Back
Top