The Microsoft .NET Framework version 2.0 redistributable package (released 2005-11-07)
improves scalability and performance of applications with improved caching, application deployment and updating with ClickOnce, support for the broadest array of browsers and devices with ASP.NET 2.0 controls and services.
Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results (selected in 'Test Results' table below)
Installation via winetricks (dotnetfx20)
What does not
What was not tested
Not sure but it seems to work correctly
My recommendation is to install this as soon as you install wine or on a clean wine prefix (fake C: drive). If you don't, the installation may most likely fail for various reasons. I created a clean wine prefix using Q4Wine (should be available from your distro's repository, recommended tool) and it installed fine.
To verify .NET Framework installation(s) in WINEPREFIX you can use the .NET Framework Setup Verification Tool from Aaron Stebner (Microsoft) which checks for proper installation of .NET assemblies and registry entries.
Select the .NET Framework you want to verify and evaluate the log file manually if verification failed.
Unattended installation of .NET Framework 2.0
See HOWTO Methods: refer to "manual" installation method what steps are needed before running the installer in unattended mode
Example command lines you can use to perform unattended installations for the .NET Framework 2.0 installation:
These command lines will run the .NET Framework 2.0 setup in fully silent
mode. The setup package will extract to a temporary location and
installation will begin with no user interaction and no visible UI. The
user will see no visible indication that setup is running.
$ wine setup.exe /q:a /c:"install.exe /q"
Standard unattended installation
These command lines will run the .NET Framework 2.0 setup in standard
unattended mode. The setup package will extract to a temporary location
and installation will begin with no user interaction. A progress dialog
will appear on the screen during installation, and it will disappear
when setup is complete. Errors encountered during installation might
pop up message boxes during installation if they occur.
$ wine setup.exe /q:a /c:"install.exe /qb"
Unattended installation with no cancel button available in the UI
These command lines will run the .NET Framework 2.0
setup in unattended mode with no cancel button. The behavior of setup
is the same as with the command lines above except the cancel button
will be hidden on the progress page during installation. This allows
the user to know that a setup is in progress but prevent them from
cancelling it (unless they kill the process).
$ wine setup.exe /q:a /c:"install.exe /qb!"
Manually trigger rebuild of the Global Assembly Cache (GAC) after .NET Framework installation
Use the following command to manually trigger GAC rebuild after .NET Framework installation (or if WINEPREFIX changed due to Wine update):
This 'Fatal Execution Engine Error' (80131506)
is pretty general and can be caused by many things, for example by bug 10506.
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
If you get a crash/backtrace like this in console:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Resources.ResourceManager.TryLookingForSatellite(CultureInfo lookForCulture)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
at System.Environment.ResourceHelper.GetResourceStringCode(Object userDataIn)
at System.Environment.GetResourceFromDefault(String key)
at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException)
at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType)
at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl)
at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
at System.AppDomainSetup.SetupDefaultApplicationBase(String imageLocation)
at System.AppDomain.SetupFusionStore(AppDomainSetup info)
at System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile)
wine: Unhandled page fault on read access to 0x00000000 at address 0x2de297f (thread 0019), starting debugger...
Please read appdb entry HOWTO more carefully! This is bug 10467.
If you followed appdb HOWTO and this problem still occurs you most likely have a corrupted "l_intl.nls" file in your winetricks cache. Update your winetricks script to newer version (contains checksum for detection of corrupted download) or remove "l_intl.nls" from "dotnet20" folder in "winetrickscache" and repeat the winetricks step.
ngen.exe hangs while compiling a particular assembly (out of file descriptors)
Reported in Bug 16258. It seems the PE image generator runs out of file descriptors while writing out native images. This is a bug in the Microsoft .NET 2.0 Framework. Use the following workaround if you encounter this bug:
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
.NET 2.0 SP1 success but not working
by Frediano Ziglio on Sunday March 17th 2013, 8:17
I was trying to install .NET 3.5 with winetricks.
After creating a new wine directory with WINEARCH=win32 I tried to install dotnet35 directly but fails at dotnet20sp1. Reading AppDB error for indexb.dat can be ignored whoever winetricks refuse to proceed. So I touched the file to make winetricks happy and continue. However dotnet30sp1 (installed during dotnet35 installation) say that cannot find .NET 2.0 SP1. I can continue installation even if .NET 3.0 SP1 fails but during .NET 3.5 install I get an error:
wine: Unhandled page fault on read access to 0x00000007 at address 0xf749110f (thread 01c5), starting debugger...
installation seems to proceed but it's slow and never finish (I waited to 1 hour).
I tried several times with different orders but at the problem remains. So I tried to install just dotnet20sp1 and running the update manually (wine "c:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\ngen.exe" update) but it fails too! Installing dotnet20sp2 after the failure make some progress but then update fails again (exceptions and update stops).
I tried also to clean and install vcrun2008, vcrun2005 and corefonts but results is the same.