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.
Selected Test Results (selected in 'Test Results' table below)
Installation in 32-bit WINEPREFIX (even works without 'winetricks' if Mono is uninstalled previously or not present in prefix)
Multiple .NET 2.0 apps.
.NET Framework Setup Verification Tool from Aaron Stebner (Microsoft) which checks for proper installation of .NET assemblies and registry entries reports success.
Some errors (while loading dependent modules that are not GAC'd yet) are expected and can be ignored.
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).
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.
This 'Fatal Execution Engine Error' (80131506)
is pretty general and can be caused by many things, for example by bug 10506.
/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.
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: