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

CapturePreview.Native.dll couldn´t be loaded on a fresh installed Win 8.1 - x64 machine, please help! #2

Open
MichiSpahr93 opened this issue Nov 19, 2015 · 5 comments

Comments

@MichiSpahr93
Copy link

Hi, i hope you can help me out!

It seems that trying to open the C++-Projects of your Source in Visual Studio 2015 doesn´t work for some reason. (Only possible when (re)installing VS 2013).

I even couldn´t get the executable (build in VS 2013) to run on a machine without Visual Studio 2013 installed. Am I missing importand dependencies, that comes with the VS installation routine?

Thanks in advance!

@mmaitre314
Copy link
Owner

That feels like a VClib issue. Did VS pop up a dialog to update the C++/CLI compiler when opening the solution?

vc

I opened the solution in VS2015 and was able to build and run the app. I have both VS 2013 and 2015 installed with C# & C++ compilers.

@MichiSpahr93
Copy link
Author

Thanks for your quick reply!
As you have VS 2015 AND 2013 installed on your machine everything works fine!
If you now uninstall VS 2013 (keep VS2015) you´ll run into my exact problem.
(To your question: The popup didn´t occure, as VS2015 is able to load the projects, when vs 2013 is installed. You can see it in the Solution Explorer in VS 2015: Next to the project folders of the C++-Projects, it says "(Visual Studio 2013)".

@MichiSpahr93
Copy link
Author

I´ve also tried to run your project as it is on a machine without any VS installed. (MS Surface Pro 3, Win 8.1 Pro).
I took the Test-App´s output folder "Debug" and copied it to the tablet. Unfortunately the app crashes on startup.

@MichiSpahr93 MichiSpahr93 changed the title Somehow not supported with VS 2015 I can´t get it to run without Visual Studio 2013 installed (unfortunately) Nov 24, 2015
@MichiSpahr93 MichiSpahr93 changed the title I can´t get it to run without Visual Studio 2013 installed (unfortunately) CapturePreview.Native.dll couldn´t be loaded on a fresh installed Win 8.1 - x64 machine, please help! Dec 8, 2015
@rb0135
Copy link

rb0135 commented Feb 18, 2016

I'm having the same issue (I only have VS 2015), except I do get the option update VC++ Compiler and Libraries. I upgrade them, but then the only problem I have is that I get "Error CS0246-The type or namespace name 'CapturePreviewNative' could not be found (are you missing a using directive or an assembly reference?) in CapturePreview.cs, even after trying a full rebuild.

Is it due to being in VS2015, same issues with the VC++ that this would occur?

@vijay180396
Copy link

i thing you must rebuild your project

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