No,I am a software engineer
I want to compile a cpp code file within c# code of my website
(I am using asp.net)I want using visual studio command line and this is my code but does not work.can you help me?
Process.Start(" cmd.exe","/c " + @"/k ""C:\Progra m Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsa ll.bat"" x86");
Console.WriteLi ne("cl/EHsc a.cpp"...
User Profile
Collapse
Profile Sidebar
Collapse
fal11
Last Activity: Mar 8 '13, 03:21 PM
Joined: Jan 23 '13
Location:
-
compile and execute a cpp code file with visual studio command line
this is my C# code
...Code:System.IO.Directory.SetCurrentDirectory("C:/Users/fahime/Documents/Visual Studio 2010/WebSites/MyWebSite/UserFiles/ProblemAnswers/"); Process.Start("cmd.exe", @"/k ""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86");// + @"/k C:\Users\fahime\Documents\Visual Studio 2010\WebSites\MyWebSite\UserFiles\ProblemAnswers cl/EHsc 4.cpp");//
No activity results to display
Show More
Leave a comment: