I have Microsoft Visual Studio .NET 2005, which is packaged with the Microsoft .NET Framework 2.0. I am attempting to use this compiler and framework to build a .NET component in MATLAB Builder for .NET 2.0 (R2006a).
When I compile a MATLAB .NET component, I receive the following error:
Error using ==> basicui>build Error executing mcc, return status = 1.
When I use the verbose (-v) flag to display additional diagnostics, I also see the following error:
'C:/WINNT/Microsoft.NET/Framework/v1.1.4322/csc.exe' is not recognized as an internal or external command, operable program or batch file. Error: An error occurred while shelling out to CSC (error code = 1). Unable to build executable.
Best Answer