VBOfficer Posted August 7, 2009 Posted August 7, 2009 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 :( Quote
DPrometheus Posted August 10, 2009 Posted August 10, 2009 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 using EnvDTE80; ... Type type = System.Type.GetTypeFromProgID("VisualStudio.DTE.8.0"); [/Code] If you replace these with the vs.net 2008 equivalents (version 9) It might do the trick? ~DP Quote My Development System Intel Core i7 920 @2.66Ghz 6 GB DDR3 SDRAM Windows 7 Ultimate x64 & Windows Vista Home Premium x64 dual boot GeForce GTX295 1.8 GB 3.5 TB HD
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.