WineHQ
Category: Main Programming / Software Engineering Visual Studio 2008 (9.0) Express Edition

Visual Studio

Free version of the well known Visual Studio 2008 IDE and many programming tools included.

You need .NET Framework 3.5 (which depends on .NET 2.0 and .NET 3.0)

Application Details:

Version: 2008 (9.0) Express Edition
License: Free to use
URL: http://www.visualstudio.net
Votes: 1
Latest Rating: Bronze
Latest Wine Version Tested: 1.5.16

Maintainers: About Maintainership

Free Download Visual Studio 2008 Express Editions Online Installers Free Download Visual Studio 2008 Express Editions (ISO) Free Download Visual Studio 2008 Express Editions with SP1 (ISO)

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Wine has reached a state that makes VisualC++ Express 2008 usable (or almost usable) for cross-development (hourray !!), therefore I rate it as 'bronze' (there are still some issues).

What works: Loading an existing solution file, editing files, using auto-completion in the editor, compiling the solution, and running the generated application. The solution file was generated by CMake. The application (http://alice.loria.fr/software/graphite) uses Python, Qt and OpenGL and has custom build rules (it is a rather complicated project, therefore many features of VisualC++ were tested). I installed both Cmake, Python and Qt in the same wineprefix as Visual C++ 2008.

What does not

(1) Creating a new project from scratch.

(2) The debugger does not work.

(3) Sometimes Visual Studio gets stuck while compiling, and needs to be killed and restarted.

(4) Sometimes Visual Studio crashes on exit.

Workarounds

What was not tested

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

To install it, I followed the following protocol: (0) install winbind aptitude install winbind (debian) It is needed by the 'PDB' (Program Data Base) mechanism used by MSVC's compiler. (1) get winetricks from the repository svn checkout http://winetricks.googlecode.com/svn/trunk/src/ (the released winetricks does not manage to replace 'mono' (now shipped with wine) with Microsoft's dotnet3.5 (needed by Visual Studio) (2) install dotnet3.5 sp1 export WINEPREFIX=.local/share/wineprefixes/VS2008sp1 chmod 755 src/winetricks src/winetricks -q dotnet35sp1 Note: this takes ages (time for a cup of coffee !!) (3) Download Visual Studio SP1 CDROM image (see links on the left of this webpage) (4) as root: mount -o loop -t udf VS2008ExpressWithSP1ENUX1504728.iso /mnt (5) as normal user (take care!!): wine /mnt/VCExpress/setup.exe (6) replace $WINEPREFIX/drive_c/windows/system32/msvcp90.dll with the one from http://www.dll-files.com/dllindex/dll-files.shtml?msvcp90 (7) with winecfg, set 'msvcp90.dll' as 'native,builtin' I needed steps (6) and (7) to run the generated application: the 'msvcp90.dll' shipped with wine does not implement all the required functions, and some of them (replaced with C++ streams) are bugged (I will try to submit a bug report later-on...) Both the initial release and the SP1 work (from the CD Images, I did not try the network installer). For the initial release, you will need to install dotnet3.5, and for the SP1, you will need to install dotnet3.5 sp1 (using a winetricks checked out from the SVN).

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowFedora 16 x86_64Nov 03 20121.5.16Yes Yes BronzeAnastasius Focht 
ShowDebian GNU/Linux 7.x "Wheezy" x86_64Sep 15 20121.5.13Yes Yes Bronzean anonymous user 
CurrentDebian GNU/Linux 7.x "Wheezy" x86_64Jul 17 20121.5.8Yes Yes Bronzean anonymous user 
ShowDebian GNU/Linux 7.x "Wheezy" x86_64Jul 08 20121.5.8No Not installable Garbagean anonymous user 
ShowDebian GNU/Linux 7.x "Wheezy" x86_64Jun 09 20121.5.5Yes Yes Silveran anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
9158 Multiple Microsoft development tools online/web installers fail to skip "$shtdwn$.req" with FILE_ATTRIBUTE_HIDDEN (Visual Studio Express Editions, .NET Framework 3.0) STAGED View
21259 Visual C++ 2005 Trial build hangs on first run after a reboot NEW View
32562 Visual Studio 2005-2010 Express Editions need jscript JScript_AddTypeLib impl NEW View

Show all bugs

HowTo / Notes

HOWTO

Make sure you operate on a clean 32-bit WINEPREFIX (~/.wine)!


Prerequisite installation by using 'winetricks' script

Winetricks will take care of all needed installation prerequisites and work around some problems.

­$ wget http://winetricks.googlecode.com/svn/trunk/src/winetricks

$ bash winetricks -q dotnet35­

If you intend to install VS 2008 SP1 you need .NET Framework 3.5 SP1

$ bash winetricks -q dotnet35­sp1


Winbind component

Make sure you installed 'winbind' component with your distribution package manager.

This is needed for the -Zi option of the compiler, and other mechanisms that handle 'PDB' (Program Data Base) files.

$ aptitude install winbind (Debian)

$ sudo yum install samba-winbind (Fedora)

/home/yourlogin/.wine is not owned by you / (Permission denied)

Never run wine as root (su, sudo)! Wine doesn't require to be run as root!

You will screw your WINEPREFIX and possibly other things up. If you have run Wine as root you need to:

$ sudo rm -rf ~/.wine


and then run winecfg to set Wine folder structure back up. If you used winetricks script as root you might also need to:

$ sudo rm -rf ~/.cache/winetricks/


Again: Just run wine as regular user and all should be fine.

Setup has encountered a problem while trying to copy $shtdwn$.req

­This is Bug 9158. Only happens with online-installer version (not retail from .ISO image). Use the following workaround in console:

$ _SFX_CAB_SHUTDOWN_REQUEST=1 wine ./vcssetup.exe
­
Compiler gets stuck during code generation (PDB server)

This is Bug 21259

Workaround: start 'mspdbsrv.exe' manually before visual C++, with an 'infinite' timeout.

$ wine $WINEPREFIX/drive_c/Program\ Files/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/mspdbsrv.exe -start -spawn -shutdowntime -1

You can create a shell script that starts both mspdbsrv.exe and VCEXpress.exe, if mspdbsrv.exe is already running, it will be ignored the second time it is invoked.

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

VS2008: C2471 Cannot update program database
by john on Monday September 7th 2015, 13:12
In case this was'nt already mentioned above.

To fix 'error C2471: cannot update program database '.\debug\vc90.pdb'

set 'Project Options -> C/C++ -> General -> Debug Information Format ' to C7 (Debug Old Style Info)

set 'Project Options -> C/C++ -> Code Generation -> Minimal Rebuild' to false

clean solution and rebuild.

there is also a hotfix from microsoft but not needed.
VC Package
by Anthony on Wednesday June 5th 2013, 21:23
When going through the create project wizard, I get "VC Package not available or registered" for empty project. Following the directions in this article www.primaryobjects.com/CMS/Article65.aspx was of no use.
Back