c++ – How to write code in Visual Studio Code and send to professor as Visual Studio project?


My C++ class has us making projects with Visual Studio 22, so I use a secondary laptop. I have a 2022 M2 Mac without Visual Studio 22, and have discovered Visual Studio Code as a lightweight alternative for Mac.

I wrote a project in Visual Studio Code and would like to submit it as a Visual Studio project. Is this possible?

I know that Visual Studio Code isn’t an IDE and that’s a big difference, but I’m wondering if it’s possible to repackage my files into Visual Studio?

I tried ChatGPT to get formatted .sln and .vcxproj template files, but that didn’t open properly in Visual Studio. I’m wondering if this attempt has any leads.

Leave a Reply

Your email address will not be published. Required fields are marked *