Igor Trofimov

Hi, all!

I has read MANY msdn articles and blogposts about PLK and troubles.

I was trying Package Load Analyser and ActivityLog.xml.

I check all registry values VERY carefully.

I regenerate PLK some times with different values, of course, synchronized with corresponding registry changes.

But VS still can't load by VSPackage with /noVSIP switch Sad

HOW ELSE I can determine the source of the problem

Package Load Analyser tells:

Package Load Key(PLK) verification failed for package {c5fae851-6e10-4353-aa71-76837999efd4}.

Plk verification was based on the following entries in the registry -

CompanyName - iamhere

ProductName - CIS-Uni.Net

ProductVersion - 1.0

MinEdition - Standard

ID - 401

ALL THIS VALUES are the same, that i input to the website form for obtain PLK.

String resource "401" contains the resulting PLK.

What i can do else to solve thid problem



Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

Dmitry Pavlov

Hi Igor,

Please provides error details here - how does it look Did you successfully run that package previously or that is the first try for new package created form scratch






Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

Igor Trofimov

For clean experiments, yesterday i create from scratch:

* Test LiveID account

* Test VSIP account (TestCompany)

* Test VSIP Product (TestProduct)

* Test VSPackge, using VS SDK project template "VS Integration package"

I has obtain PLK for TestProduct and save it into resource string, specified in attribute/registry.

I check all registry settings and resource values, compare it with settings/resources for a lot of another installed packages (VSSDKAssist, ReSharper, WiX Votive, etc). The settings in whole seems to be identical (of course, with my actual values of GUID, ProductName|Version, CompanyName, ID (key resource id),...).

But when i run devenv with /noVSIP switch, and open some solution (my package configured for autoload on "SolutionExists" UIContext), an error occurs.

ActivityLog and Package Load Analyser tells, that PLK verification is failed.

When, i create another test VSPackage, using VSSDK Assist.

Nice tool, all configuration was made via dialogs, no direct coding, it is not probable, that i make typewriting mistake. But this, second test package, is not loading too, with the same error.

I can give the test package(s), and more, the test VSIP credentials for anybody, who can point me to my mistake!






Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

Dmitry Pavlov

Yeah, that is strange..

You can send me your test package to try it on my side. You'll find my email in my user details. I will have a look at this in my spare time.






Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

NoamH

I have the same problem, and am looking forward for a reply.

Did any one try the new plk site and made a successfull attempt





Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

Dmitry Pavlov

Hi guys,

I have tried to play with creating package from scratch with some PLKs sent to me by Igor - NO SUCCESS on it. Package Load Failure. And then I have created a new package and requested a new PLK for that - NO SUCCESS again. But that works OK for old PLKs (I mean PLKs requested earlier).

My resolution: it seems that THERE IS AN ERROR INSIDE PLK GENERATION LOGIC. It looks like MS changed the logic in generation - and now it is not the same as validation logic inside Visual Studio 2005. That sould be verified on MS side.

Some input from VSX Team is much appreciated.






Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

NoamH

That's the conclusion i got to.





Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

JD21

MS reports, that bug is fixed:

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx FeedbackID=294180&wa=wsignin1.0

Anybody, who has PLK generation problems - try to obtain new key!

Is it really fixed (I cant try my project today)





Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

Dmitry Pavlov

Hi all,

1. No, it doesn't work. I have tested it today but the bug is still with us. I have created a new PLK but package loading is still fails. I used following data:


PLK Details:

Package Load Key: KQRRK2KQC9MPJ2QZRPP0E9KRZRQERTJHIPRZK9PQJTJEIAJ3P0HMATKPPJJMMCKQEJPAD1KTHDC9KDPKEAK3MAATKPQQKJZHD0MZH1EQE0P9H9JKDECTE2ETPTIDI3I9


PLK Company Name: TestCompany
Product Name: TestVSPackage
Package GUID: DD000000-1234-5678-9012-34567890ABCD
PLK Version: 2.0
Minimum Product Edition: Standard
Visual Studio Version: Visual Studio 2005
Archive PLK: False

2. Also one strange thing the field name 'PLK Version'... What does it mean As I understand that should be named ¡®Product Version¡¯. Am I right

3. And could anybody explain me what does the flag ¡®Archive PLK¡¯ mean

P.S. PLK is one of the things that should work perfect. I don't understand why it is so hard to make stable

Thanks,






Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

Igor Trofimov

My projects works now, with new-generated PLK keys.

Both test project and real project Smile





Re: Visual Studio Extensibility Unfamous PLK troubles again, Package Load Analyser and all other not helps :(

Dmitry Pavlov

Yeah, I have tried this as well - all works ok now.