Visual Studio 2008 Portable Fixed
VS2008 requires .NET 3.5 SP1. If missing, you cannot compile but may open the IDE for editing. Portable .NET is – must be installed system-wide.
Use std::cout << "Your Text Here" << std::endl; (requires #include ). Method 2: Create a Text File visual studio 2008 portable
Then use a batch build script:
Also copy mspdb80.dll from Common7\IDE to VC\bin . VS2008 requires
Even after installing to the USB drive, some components remain on the system drive. You need to manually copy them: visual studio 2008 portable
To write text to a file using code, you can use the StreamWriter class:
@echo off set VSTUDIO_ROOT=%~d0\VS2008Portable set PATH=%VSTUDIO_ROOT%\Common7\IDE;%VSTUDIO_ROOT%\VC\bin;%VSTUDIO_ROOT%\Common7\Tools;%PATH% set DEVENV_DIR=%VSTUDIO_ROOT%\Common7\IDE start "Visual Studio 2008" /D "%DEVENV_DIR%" devenv.exe