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

 

Installation "works", but with many issues during the install process, and it crashes at the end.

The IDE may be launched, but it does not work (the initial registration works, though).

More interestingly, the command line tools (cl.exe, link.exe) are usable with a few tweaks, and I was able to compile a simple hello world application.

What does not

The IDE is unusable (nothing works)

Workarounds

What was not tested

Everything else.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Even using the same version of wine (built from sources), I could not reproduce the installation on all my machines (all running ubuntu lucid, but 32/64 bits mix). The git version is b3f042558035c2f98714d833ed3bae66fd608a1e. Both 3.0 net framework and visual studio need to be installed using the _SFX_CAB_SHUTDOWN_REQUEST=some_value trick (see issue 9158), and both need to be installed using the net installer (I could not install visual studio from my MSDN iso on any machine). But for the first time since I have tried, the command line compilers may be installed and are somewhat usable (hence bronze instead of garbage).

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 
ShowDebian 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 thi­ngs 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 ~/winetrickscache

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