I have a C++ project in Visual Studio and I much prefer Visual Studio Code for editing source files.
Is there a way to work with Visual Studio C++ projects in Visual Studio Code? Like getting include paths from ".sln" file or maybe even running MSBuild.
Developer Command Prompt/PowerShell for VS 2019
. This will set necessary environment variables such as include paths.code.
to start VS Code in your current directory. Now, you will be able to use commands like cl
, msbuild
etc in the integrated terminal.
Happy coding.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.