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

sdk init crashed in VS 2017 #20

Open
vincentely opened this issue Jan 3, 2019 · 2 comments
Open

sdk init crashed in VS 2017 #20

vincentely opened this issue Jan 3, 2019 · 2 comments

Comments

@vincentely
Copy link

vincentely commented Jan 3, 2019

Vungle SDK 6.3 throws Platform::ClassNotRegisteredException in AdFactory::GetInstance;
App crashed.
It happened when I upgrade the solution to VS2017 and execute normally in 2015.

@gregthatcher
Copy link

Hi Vincentely,

Could you please check your "references". I believe you may have to remove the VungleSDK reference, and then re-add it. Even better, you might consider adding the VungleSDK reference using GitHub. You can find instructions on how to do this at: https://support.vungle.com/hc/en-us/articles/360003059331. Let us know if you need any more help or info.

@HUN73R
Copy link

HUN73R commented Mar 22, 2019

I've encountered a similar issue before and in my case the .NET Native compilation was failing to build the VungleSDK project because our build was looking for a specific version of the .NET Native tools and compiler which were no longer the default in MSVS. An update had upgraded the default toolset and moved older versions to fallback directories and the VungleSDK was silently failing to compile. This then led to us encountering the ClassNotRegisteredException at runtime when trying to create the Vungle instance. I don't know how your project is set up but to fix this issue and get the VungleSDK to compile in to your build again you'll need to do something such as install the appropriate .NET Native compiler NuGet package or point your build process to the correct location of the .NET Native toolset (check out \Program Files (x86)\Microsoft SDKs\UWPNuGetPackages\…)

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

3 participants