Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Not Work WIth VisualStudio.NET MSDN #2

Open
LeeThompson opened this issue Sep 8, 2016 · 5 comments
Open

Does Not Work WIth VisualStudio.NET MSDN #2

LeeThompson opened this issue Sep 8, 2016 · 5 comments

Comments

@LeeThompson
Copy link

LeeThompson commented Sep 8, 2016

Unfortunately this plug-in doesn't work with VisualStudio.NET's new flavor of MSDN.

It's now a rather oddly formed XML, here's a sample. These are pretty much all on one line, broken up here for clarity, actual identifiers are obfuscated.

<root>
    <YourSubscription>
        <Subscription Name="Visual Studio Professional - annual" Type="">
            <SubscriptionGuid>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</SubscriptionGuid>
        </Subscription>
        <Subscription Name="Visual Studio Dev Essentials" Type="">
            <SubscriptionGuid>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</SubscriptionGuid>
        </Subscription>
    </YourSubscription>
    <YourKey>
        <Product_Key Name="Visual Studio .NET" KeyRetrievalNote="">
            <Key ID="28" Type="Static Activation Key" ClaimedDate="">XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
        </Product_Key>
        <Product_Key Name="Windows 7 Ultimate and Ultimate K" KeyRetrievalNote="">
            <Key ID="337" Type="Retail" ClaimedDate="1/1/0001">&lt;a href="http://msdn.microsoft.com/subscriptions/cc137104"&gt;Learn more&lt;/a&gt; about product keys and activation.</Key>
            <Key ID="337" Type="Retail" ClaimedDate="9/6/2016">XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
        </Product_Key>
    </YourKey>
</root>

@ElanHasson
Copy link

I am seeing the same issue here.

Please update :(

@mak0t0san
Copy link

I forked this repository and made a version that does work with the Visual Studio MSDN XML file.
https://github.com/mak0t0san/MSDNSubscriptionKeyImporterPlugin

@LeeThompson
Copy link
Author

LeeThompson commented May 25, 2017

@mak0t0san Cheers I'll give that a go! (EDIT: Seems to work!)

You might want to have it skip entries that have:

Custom Key
Value: A product key is not offered with this edition of Visual Studio. To unlock the product, you must sign in using the login associated with your active Visual Studio subscription. By signing in, your IDE settings will sync across devices, and you can connect to online developer services.

Retail
Value: <a href="http://msdn.microsoft.com/subscriptions/cc137104">Learn more</a> about product keys and activation.

The bogus entries all seem to also have Claimed on : 1/1/0001 which might be an easier check.

@mak0t0san
Copy link

Latest version has the bogus entries filtered out. You'll need to remove the "Microsoft Product Keys" group and re-import, as re-importing does not remove those entries.

@extide
Copy link

extide commented Nov 5, 2020

Hello all -- I have been maintaining this plugin at: https://github.com/extide/MicrosoftKeyImporterPlugin

It has several updates including all listed problems being resolved. Please feel free to leave an issue on my repo if you are seeing any problems with it.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants