Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / August 2005

Tip: Looking for answers? Try searching our database.

VSIP redistributable for VS Beta 2?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Skelton - 04 Aug 2005 16:41 GMT
Hello,

I've created a package and am attempting to deploy it to a machine that does
not have the VSIP SDK installed.  I've used a simple Visual Studio setup
project to create a setup project and then made a batch file that runs after
the setup to do things like run regpkg.  It seems to work and when you start
up Visual Studio my custom menu items appear.  Unfortunately, when you click
on one of my menu items Visual Studio gives an error message (with no
details) stating that the package failed to load.

The exact same setup procedures work fine on a machine with VSIP installed
so I'm guessing there are more files that need to be deployed (I'm currently
deploying all VSIP assemblies that are referenced by my package but perhaps
those assemblies reference other assemblies?).

Is there a VSIP redistributable that I also need to run on machines before
installing my package?  I couldn't find a VSIP redistributable on
Microsoft's site.

Thanks,
Paul
"Ed Dore [MSFT]" - 04 Aug 2005 23:16 GMT
Hi Paul,

Did you apply for a Package License Key (PLK), and add it to the string
table in your satellite resource dll?

Sincerely,
Ed Dore [MSFT]

This post is 'AS IS' with no warranties, and confers no rights.
Paul Skelton - 05 Aug 2005 01:08 GMT
Nope, that's probably it.  I'll give it a go.

It wouldn't hurt if Visual Studio showed an informative error message if the
PLK is missing instead of a generic "failed to load".   :-)

Thanks,
Paul

> Hi Paul,
>
[quoted text clipped - 5 lines]
>
> This post is 'AS IS' with no warranties, and confers no rights.
Dmitry Shaporenkov - 05 Aug 2005 08:48 GMT
Hello Paul,

I'll second fot that. Diagnosing package load failures is really a trouble
sometimes.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

> It wouldn't hurt if Visual Studio showed an informative error message
> if the PLK is missing instead of a generic "failed to load".   :-)
"Ed Dore [MSFT]" - 12 Aug 2005 01:32 GMT
Hi Dmitry and Paul,

Your wish is the VS teams command. Well, at least in this instance :-)

Introducing the IVsActivityLog (comments gleaned from the vsshell80.idl).

//--------------------------------------------------------------------------
-
// IVsActivityLog
//
// Implemented by the Environment.
// Used by parties that want to add events to the IDE Activity Log. This log
// is active when the shell receives the /log switch, or when an environment
// variable ("VSLogActivity") is set. The log is intended to record high
// level information for the purpose of quickly tracking down and routing
// problems. This is not a tracing tool, and only key events should be
logged.
// When logging is turned on, the implementation will log an event in
response
// to each method on this interface. When logging is not turned on, the
// implementation for each method is a fast no-op.
//--------------------------------------------------------------------------
-

If you add the /log command line switch to devenv.exe, there should be some
info on failed package and addin loading. It probably won't tell you
exactly what went wrong, but it may give you some hints.

I haven't seen this documented yet, aside from the obligatory place holders
in the beta docs,  but I'm thinking that a lot of package and addin
developers may want to consider utilizing this as a way to enable
diagnostics in their test runs, and possibly when their customers run into
problem in the field.

Cheers,
Ed Dore [MSFT]

This post is 'AS IS' with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.