WineHQ

Visual Studio

On April 12, 2010, Microsoft released Visual Studio 2010, codenamed Dev10, and .NET Framework 4.

Visual Studio 2010 IDE has been redesigned which, according to Microsoft, clears the UI organization and "reduces clutter and complexity." The new IDE better supports multiple document windows and floating tool windows, while offering better multi-monitor support. The IDE shell has been rewritten using the Windows Presentation Foundation (WPF), whereas the internals have been redesigned using Managed Extensibility Framework (MEF) that offers more extensibility points than previous versions of the IDE that enabled add-ins to modify the behavior of the IDE.

The new multi-paradigm ML-variant F# forms part of Visual Studio 2010.

Visual Studio 2010 comes with .NET Framework 4 and supports developing applications targeting Windows 7. It supports IBM DB2 and Oracle databases, in addition to Microsoft SQL Server. It has integrated support for developing Microsoft Silverlight applications, including an interactive designer. Visual Studio 2010 offers several tools to make parallel programming simpler: in addition to the Parallel Extensions for the .NET Framework and the Parallel Patterns Library for native code, Visual Studio 2010 includes tools for debugging parallel applications. The new tools allow the visualization of parallel Tasks and their runtime stacks. Tools for profiling parallel applications can be used for visualization of thread wait-times and thread migrations across processor cores. Intel and Microsoft have jointly pledged support for a new Concurrency Runtime in Visual Studio 2010 and Intel has launched parallelism support in Parallel Studio as an add-on for Visual Studio.

The Visual Studio 2010 code editor now highlights references; whenever a symbol is selected, all other usages of the symbol are highlighted. It also offers a Quick Search feature to incrementally search across all symbols in C++, C# and VB.NET projects. Quick Search supports substring matches and camelCase searches. The Call Hierarchy feature allows the developer to see all the methods that are called from a current method as well as the methods that call the current one. IntelliSense in Visual Studio supports a consume-first mode which developers can opt into. In this mode, IntelliSense will not auto-complete identifiers; this allows the developer to use undefined identifiers (like variable or method names) and define those later. Visual Studio 2010 can also help in this by automatically defining them, if it can infer their types from usage. Current versions of Visual Studio have a known bug which makes IntelliSense unusable for projects using pure C (not C++).

Visual Studio 2010 features a new Help System replacing the MSDN Library viewer. The Help System is no longer based on Microsoft Help 2 and does not use Microsoft Document Explorer. Dynamic help containing links to related help topics based on where the developer was in the IDE has been removed in the shipping product, but can be added back using a download from Microsoft.


 Supported .NET Framework versions: 2.0, 3.0, 3.5, 4.0


The product was released 2010-04-12

Service Pack 1 was released in March 2011

Application Details:

Version: 2010 (10.0)
License: Retail
URL: http://www.visualstudio.net
Votes: 1
Latest Rating: Bronze
Latest Wine Version Tested: 8.21

Maintainers: About Maintainership

Free Download Microsoft Visual Studio 2010 Professional Trial - Web Installer Free Download Microsoft Visual Studio 2010 Ultimate Trial Download

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

I compiled a large C++ project without any issues.

What does not

Occasional crashes.

Workarounds

You'll want to do this in the right order, I recommend using a fresh WINE prefix:

- Install Visual Studio 2010 (SW_DVD9_VS...)

- Install Visual Studio 2010 SP1 (mu_visual_studio_2010_sp1...)

- Remove all installed .NET installations using the .NET Framework Cleanup Tool (https://www.majorgeeks.com/files/details/microsoft_net_framework_cleanup_tool.html)

- Install MS fonts and .NET 4: winetricks -q corefonts dotnet20 dotnet40

- Optional: Install the Windows 7.1 SDK (only x64 seems to work) and the WDK

The reason for doing this in the right order is that VS 2010 SP1
includes a prerelease version of .NET 4, which fails to install when
WINE's dotnet40 package is already installed.

What was not tested

Anything other than compiling C++ projects.

Hardware tested

Graphics:

  • GPU: Nvidia
  • Driver: proprietary

Additional Comments

I used this installer from archive.org: https://archive.org/details/en...

You can mount the ISOs (which are in UDF format) like this:

mount -o loop -t udf,iso9660 ./SW_DVD9_VS_Ultimate_2010_English_Core_MLF_X16-76630.ISO /mnt

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentArtix LinuxDec 11 20238.21Yes Yes YesBronzeimperialbird 
ShowArch Linux x86_64Aug 09 20183.13Yes Yes YesGarbageIsira Seneviratne 
ShowUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)Aug 11 20151.7.44Yes No NoGarbageWang Xuancong 
ShowLinux Mint 15 "Olivia" x86_64Oct 23 20131.6Yes Yes NoBronzerox 
ShowUbuntu 13.04 "Raring" amd64 (+ variants like Kubuntu)Jul 17 20131.6-rc4Yes No NoGarbageErin Yuki Schlarb 

Known Bugs

Bug # Description Status Resolution Other apps affected
10601 Microsoft .NET Framework: GAC API for managed assembly installation needs reparse point/junction API support (.NET Framework 2.0, 3.0, 4.0 installers and other apps that make use of GAC API) CLOSED DUPLICATE View
18640 .NET Framework 3.x/4.x WPF Media Integration Layer requires IDirect3D9ExImpl_GetAdapterDisplayModeEx implementation CLOSED FIXED View
20128 MS .Net Framework 4.0 installer needs native msxml3 CLOSED FIXED View
23601 Windows Movie Maker 2.6 reports 'A new collections file cannot be created' (needs 'Microsoft' folder in CSIDL_LOCAL_APPDATA) CLOSED FIXED View
24344 VC++ Express 2010 installer crashes with unimplemented function wer.dll.WerReportCreate CLOSED FIXED View
28924 Visual Studio 2010 fails on startup, needs atl100.AtlAdvise impl CLOSED FIXED View
29676 .NET 4.0 runtime fails to initialize MediaSystem subsystem due to rpcrt4.dll RpcMgmtIsServerListening being a stub CLOSED FIXED View
32323 Netflix (Silverlight 4.x) and several .NET Framework 3.x/4.0 WPF apps require either Arial or Verdana to be installed STAGED View
32549 Visual Studio 2010 (10.0) Express Edition needs windowscodecs ComponentFactory_CreateBitmapFromMemory impl CLOSED FIXED View
32558 Visual Studio 2010 (10.0) Express Edition web installer crashes due to winhttp reporting available chunk size > 32 KiB (heap corruption) CLOSED FIXED View
32561 Visual Studio 2010 (10.0) Express Edition needs windowscodecs ComponentFactory_CreateBitmapFromHICON impl CLOSED FIXED View
32562 Visual Studio 2005-2010 Express Editions need jscript JScript_AddTypeLib impl NEW View
32564 Visual Studio 2010 (10.0) Express Edition needs atl100.dll.AtlAxDialogBoxW CLOSED FIXED View
32568 Visual Studio 2010 fails on startup, .NET Framework 4.0 WPF message dispatcher unexpectedly receives messages (CoWaitForMultipleHandles, COWAIT_FLAGS, message pump) CLOSED FIXED View
32654 Visual Studio 2010 needs windowscodecs WICSetEncoderFormat_Proxy CLOSED FIXED View
33149 Multiple applications show dialog/popup windows behind main window/splash screen (Visual Studio 2010, SPG-Verein 3.x, CLICK v1.40, Excel 2003) NEW View
34828 Visual Studio 2010 fails to start (IWICBitmapFrameEncode_WriteSource_Proxy, empty rect) CLOSED FIXED View
45752 Microsoft Visual Studio 2010 crashes on startup after compiling Wine with GCC 8.x+ and -O2 (detours hook engine can't handle GOT/PIC code emitted at function entry) CLOSED DUPLICATE View
45763 Visual Studio 2010 (full edition): devenv.exe Framework Version: v4.0.30319 unhandled exception UNCONFIRMED View
52918 Corrupted textures in Visual Studio 2010 using native WPF interfaces. CLOSED FIXED View

Show open bugs

HowTo / Notes

HOWTO

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


Prerequisite installation by using 'winetricks' script

Winetricks will take care of all needed installation prerequisites and work around some problems. Follow the instructions in the link to install it.

$ bash winetricks -q dotnet20 dotnet40

To work around some bugs you additionally need:

$ bash winetricks -q corefonts


Winbind component

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.

Debian:

$ aptitude install winbind

Fedora:

$ sudo dnf install samba-winbind*.x86_64 samba-winbind*.i686

/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.

Installer fails first time

Installer fails first time at:

fixme:ntdll:server_ioctl_file Unsupported ioctl 900a4 (device=9 access=0 func=29 method=0)
err:msi:msi_install_assembly Failed to install assembly L"C:\\users\\\\Temp\\msi2db.tmp\\WcfSvcHost.exe" (0x80070032)
err:msi:ACTION_InstallFiles Failed to install assembly
err:msi:ITERATE_Actions Execution halted, action L"InstallFiles" returned 1603

This is due to missing junction support. The following files are special and cause this problem:

C:\windows\assembly\GAC_MSIL\WcfSvcHost\9.0.0.0 __ 31bf3856ad364e35 -> C:\windows\WinSxS\MSIL_WcfSvcHost_31bf3856ad364e35_9.0.0.0_x-ww_e0abf5ea (WcfSvcHost.exe)
C:\windows\assembly\GAC_MSIL\IEExecRemote\2.0.0.0 __ b03f5f7f11d50a3a -> C:\windows\WinSxS\MSIL_IEExecRemote_b03f5f7f11d50a3a_2.0.0.0_x-ww_6e57c34e (IEExecRemote.dll)
C:\windows\assembly\GAC_32\System. EnterpriseServices\2.0.0.0 __ b03f5f7f11d50a3a -> C:\windows\WinSxS\x86_System.EnterpriseServices_b03f5f7f11d50a3a_2.0.0.0_x-ww_7d5f3790 (System.EnterpriseServices.dll, System.EnterpriseServices.Wrapper.dll)


Solution: run the installer a second time (installer won't attempt to create junctions on second run)

The application requested process termination through System.Environment.FailFast

If you encounter the following message/failure on startup:

fixme:shell:URL_ParseUrl failed to parse L"PresentationFramework.Aero"

fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub

fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000401,(nil),0x0001,0x00000000,0x3296b8,(nil)): stub

err:eventlog:ReportEventW L"Application: Updater.exe\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n at System.Environment.FailFast(System.String)\n at MS.Internal.Invariant.FailFas"...

fixme:advapi:DeregisterEventSource (0xcafe4242) stub

This is bug 32323.

You are missing 'winetricks corefonts' recipe.

Fonts in IDE look ugly

Try to enable subpixel font smoothing using 'winetricks':

$ bash winetricks fontsmooth=rgb
Visual Studio 2010 seems to freeze on startup

Actually it's not a freeze but a popup/dialog hidden behind the splash screen.

You press "ENTER" (while keeping the splash in focus) to continue.

Microsoft Web Deployment Tool (x86) component failure reported the end of main (full) installer

Congratulations, you ignored the HOWTO. Make sure you've installed .NET Framework 2.0 via winetricks.


[11/19/14,22:36:31] Microsoft Web Deployment Tool (x86): MSIComponent Action: Installing MSI f:\wcu\msdeploy\WebDeploy_x86_en-US.msi with command-line: SKIPVISTASP1CHECK=1 SKIPFX20SP1CHECK=1 SKIPINSTALLSHORTCUTS=1 REBOOT=ReallySuppress


0009:trace:msi:MSI_FormatRecordW L"Microsoft .NET Framework Version 2.0 or greater is required to install [ProductName]."

Crystal Reports templates for Visual Studio 2010 component failure reported the end of main (full) installer

Congratulations, you ignored the HOWTO. Make sure you've installed .NET Framework 2.0 via winetricks.


[11/19/14,22:38:25] Crystal Reports templates for Visual Studio 2010: MSIComponent Action: Installing MSI f:\wcu\crystal reports\CrystalReportsTemplates.msi with command-line: REBOOT=ReallySuppress


0009:trace:msi:MSI_EvaluateConditionW 0 <- L"MsiNetAssemblySupport >= \"1.1\"" ... 0009:trace:msi:MSI_FormatRecordW L"This software package can only be installed on systems that has installed .NET Framework 1.1 or higher."

Comments

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

I have tested Visual Studio 2010 on Wine Staging (Latest)
by lodeko on Saturday February 6th 2021, 21:52
It does open, but inserting anything or compiling isn't possible.
Back