필터 지우기
필터 지우기

matlab 2011b x64 and visual studio 2012

조회 수: 2 (최근 30일)
John Goldis
John Goldis 2013년 7월 29일
답변: Stephan 2013년 11월 22일
Hi, I have matlab 2011b x64 and I'm trying to use the deploytool to compile a .NET assembly targeted to .NET framework 4.0 and use the generated dll in Visual Visual Studio 2012 Ultimate. Both VS and Matlab are running on Windows Server 2008 R2 and it's a x64 version of windows. I have the Windows SDK 7.1 installed as well as the Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the Windows SDK 7.1
1. I ran msbuild -setup and chose Microsoft Visual C++ 2010 Express as my compiler. I got the following warning: Warning: The default location for Microsoft Visual C++ 2010 Express compiler is: "C:\Program Files\Microsoft Visual Studio 10.0" but either that directory does not exist or the configuration is invalid. but I proceeded anyway and it seems to have worked: 2. I built my deploytool project selecting .NET framework 4.0 in the settings and the build succeeded. 3. I took the generated dll and added it as a reference to my VS C# project, however, when I try to instantiate an instance of my class, I get a vshost.exe has stopped working error. Prior to this error, I was getting a lot of other errors about missing dll files associated with the mcr and the only way I could fix those was to copy all the mcr dll files to my VS project debug folder but now I'm getting this vshost.exe error and I have no idea how to proceed.
Any help would be greatly appreciated
thanks John

답변 (1개)

Stephan
Stephan 2013년 11월 22일
I see the same issue on Win8 x64 with Matlab 2013b x64, Visual Studio 2012. Any Solutions known?

카테고리

Help CenterFile Exchange에서 Deploy to .NET Applications Using MWArray API에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by