Write code in VS Code (or any editor) on Linux and still hand in a normal Visual Studio solution zip. It builds with Microsoft's real compiler under Wine. No dual boot, no Windows VM, no lab computer.
# create a project exactly like File > New > Project $ vslab new LabPointers_WilsonJ $ cd LabPointers_WilsonJ_sol # build with the real MSVC cl/link, then run like Ctrl+F5 $ vslab build # Debug|x64, writes x64\Debug, .tlog, .vcxproj $ vslab run # zip the solution the same way Visual Studio does, ready to submit $ vslab zip # LabPointers_WilsonJ_sol.zip
Genuine Microsoft output where it counts, regenerated to match where it does not, and it tells you which is which.
Builds with Microsoft's actual compiler and linker (cl and link) run under Wine, so the exe and build output are genuine, not a GCC stand-in.
Writes the same files Visual Studio writes: .sln, .vcxproj, and filters. Open the result in Visual Studio and it just loads.
Zips the solution folder the same layout Visual Studio produces, so your submission looks exactly like it came from Windows.
Ubuntu 24.04, about 6 GB free. The installer fetches Microsoft's toolchain straight from Microsoft after you accept their license. This project ships no Microsoft binaries.
$ git clone https://github.com/Jaron-Wilson/vs-labs-linux ~/vs-labs-linux $ cd ~/vs-labs-linux $ ./install.sh # checks deps, shows the MS license, asks you to type: yes $ vslab doctor # confirm everything is in place
| Command | What it does |
|---|---|
vslab new NAME | Creates a solution folder like File > New > Project (Console App) |
vslab sync | Picks up new .cpp/.h files, like Add Existing Item |
vslab build | Builds Debug|x64 with the real cl/link |
vslab run | Runs the exe like Ctrl+F5 |
vslab zip | Produces the submit-ready solution zip |
vslab check REF.zip MY.zip | Compares your zip against a reference, file by file |
Built and tested on Ubuntu 24.04. Other distributions are untested, and that is exactly where help is welcome. If something breaks, the issue form asks for your distro, where it failed, and your vslab doctor output.