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)
NET Framework 2.0, 3.0, 4.0 installers and other apps that make use of GAC API for managed assembly installation need reparse point/junction API support, i.e. DeviceIoCtl(FSCTL_SET_REPARSE_POINT/FSCTL_GET_REPARSE_POINT)
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: