visual studio – Is there a way to generate .sln and .vcproj on linux?


I will be taking a C course soon, and the professor requires us to install Visual Studio for the assignments (probably because that’s how the code will be tested).
The problem is that I have switched to Linux last year and realized I would need to find a solution for this, since I cannot install Visual Studio on my laptop, and I do not have enough space for a VM/dualboot.

I have looked into CMake, which supposedly can generate the .sln and .vcproj files, but only on Windows with Visual Studio installed…

Note that I do not need to compile anything, the code in the course does not rely on anything Windows specific and I do not mind testing my assignments on the universities computers before submitting to make sure it compiles there, so I need only to generate the files to submit them with the assignments.

Leave a Reply

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