create new visual studio project, add files and run it - command line

后端 未结 2 1772
一生所求
一生所求 2021-01-13 13:35

is there any way to create a new visual studio project without using IDE, Instead use command prompt??

I am working on a project which will generate small C++ progra

2条回答
  •  感动是毒
    2021-01-13 13:44

    Visual Studio projects are just XML files, so you can just study their format and write them out. (The format changed from 2008 to 2010.) Solution files are a custom text format, but not that complicated either.

    Finally, devenv.exe has a switch for "don't start the IDE, just compile this solution on the command line", which you can use to compile the resulting solution.

提交回复
热议问题