WineHQ
.NET Framework 2.0



Category: Main > Programming / Software Engineering > .NET Framework > 2.0


Name.NET Framework
Version2.0
License Retail
URLhttp://msdn.microsoft.com/netf...
Votes 24
Link Codeweavers AppDB
RatingGold
Wine Version1.7.18
Free Download Microsoft .NET Framework 2.0 Redistributable x86 32-bit
Free Download Microsoft .NET Framework 2.0 Service Pack 1 Redistributable x86 32-bit
Free Download Microsoft .NET Framework 2.0 Service Pack 2 Redistributable x86 32-bit
Free Download Microsoft .NET Framework 2.0 Redistributable x86 64-bit
Free Download Microsoft .NET Framework 2.0 Service Pack 2 Redistributable x86 64-bit
Maintainers of this version:
Description

The Microsoft .NET Framework version 2.0 redistributable package (released 2005-11-07) ­improves sc­alability and p­erformance 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)

What works

Installation(32-bit)

Verification with dotnet verifier


What does not


What was not tested

Installation (64 bit)

Running apps


Additional Comments

A clean WINEPREFIX was used with only gecko installed(no mono).
winetricks was NOT used. Installer was executed manually.
Test Results
DistributionTest dateWine versionInstalls?Runs?RatingSubmitter
CurrentGentoo Linux AMD64May 03 20141.7.18 Yes Yes Gold Farmboy0 
ShowUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)Jun 24 20141.6.2 Yes Yes Gold Jonah Aragon 
ShowGentoo Linux AMD64Jan 10 20141.7.10 Yes Yes Silver someone 
ShowFedora 18 x86_64May 25 20131.5.31 Yes Yes Gold Anastasius Focht 
ShowFedora 16 x86_64Dec 21 20121.5.20 Yes Yes Gold Anastasius Focht 


Known bugs
Bug # Description Status Resolution Other apps affected
10506 wine crypt32 needs DSS provider to support more .NET apps which use cryptography API NEW View
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) NEW View
12401 Support junction points, i.e. DeviceIoCtl(FSCTL_SET_REPARSE_POINT/FSCTL_GET_REPARSE_POINT) NEW View
12457 SharpDevelop 2.2 crashes with NotImplementedException at IWebBrowser2.get_LocationName() NEW View
12458 Multiple apps fail due to RichEdit ITextDocument_fnRange stub (MySQL Workbench, BlitzMaxDemo137) NEW View
15670 .NET applications that make use of System.IO.IsolatedStorage crash (missing "HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\" registry subkey) NEW View
17922 LiveZilla aborts due to unimplemented HTMLDocument_execCommand NEW View
22521 .NET 2.0 SP2 installer fails (RegSvcs.exe bootstrapper expects updated assemblies while GAC update is deferred during install) NEW View
34207 dotnet20sp1 installer fails most of the time NEW View
34803 .NET Framework 2.0 SP2 refuses to install on top of .NET 2.0 SP1 (SBSDisabled registry key install blocker detected) NEW View

 
.NET Framework 2.0 installation

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


Installation by using 'winetricks' script

Use this option for easy installation of .NET 2.0 Framework. 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 dotnet20

­­­


Always use the latest 'winetricks' script from the URL above! Several Linux distributions package outdated 'winetricks' versions, don't use them.


 
.NET Framework 2.0 Service Packs installation (SP1, SP2)
­­­­Make sure you operate on­ a clean 32-bit ­WINEPREFIX (~/.wine)!

­Installation by using 'winetricks' script

Use this option for easy installation of .NET 2.0 Framework Service Pack(s).

Winetricks will take care of all needed installation prerequisites and work around some problems (.NET 2.0 already installed, Service Packs already applied...).

$ wget http://winetricks.googlecode.com/svn/trunk/src/winetricks

­

.NET Framework 2.0 Service Pack 1:

$ bash winetricks dotnet20sp1

.NET Framework 2.0 Service Pack 2: ­

$ bash winetricks dotnet20sp2

There is no need to manually install .NET Framework 2.0 be­­fore. Winetricks does this as part of service pack install!­


 
Mono uninstallation

Mono (free alternative .NET Implementation) and Microsoft .NET Framework don't mix well in same WINEPREFIX.

If you intend to manually install .NET Frameworks make sure you removed any previous install of 'MONO' package from WINEPREFIX before.

$ wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}'

­

You don't need this step if you use 'winetricks' to install Microsoft .NET Frameworks.


 
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):­

$ wine "c:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\ngen.exe" update

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 t­he .NET Framework 2.0 installation­:­


Silent installation

These command lines will run the .NET Framew­ork 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!"
­

 
Verify .NET Framework installation using .NET Framework Setup Verification Tool (Microsoft)

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.

Website and download here­

Select the .NET Framework you want to verify and evaluate the log file manually if verification failed.


 
dotnet20sp1 install completed, but installed file ... /c:/windows/assembly/NativeImages_v2.0.50727_32/indexb.dat not found­

If you encounter this error while trying to run 'winetricks dotnet20sp1' recipe:

dotnet20sp1 install completed, but installed file /home//.wine/dosdevices/c:/windows/assembly/NativeImages_v2.0.50727_32/indexb.dat not found­

"indexXX.dat" files get changed (number increments) each time a native assembly is generated and installed into GAC (ngen run).

It's an error in older winetricks versions that relied on these numbers.

You can verify this by running full GAC rebuild (optional):

$ wine "c:\\windows\\Microsoft.NET\\Framework\\v2.0.50727\\ngen.exe" update

After this command new index files have been generated.

Please update your winetricks script to a newer version (see main HOWTO)


 
err:msi:HANDLE_CustomType34 Unable to execute command

If you see an error message at the end of the installer i­n console like this:

­err:msi:HANDLE_CustomType34 Unable to execut­e command L"\"C:\\windows\\Microsoft.NET\\Framework\\netfxsbs20.exe\" /install"
­

This message is harmless and expected (see my comment here).


 
fixme:shell:URL_ParseUrl failed to parse ...

URL_ParseUrl FIXME messages on console when running/installin­g .NET apps are harmless and can be safely ignored. Example console output:

fixme:shell:URL_ParseUrl failed to parse L"mscorlib"
­

 
This product is not supported on a 64-bit operating system. Setup will now exit.

This is because you are running the 32-bit installer in a WoW64 Wine. ­There are two ways to overcome this:


Method 1: create 32-bit WINEPREFIX

Set environment variable "export WINEARCH=win32", create a new WINEPREFIX and run the installer


Method 2: "hack" to force install into 64-bit WINEPREFIX

It is possible to install 32-bit .NET Framework in 64-bit prefix (shared Wow64 enviroment):

In order to do this: run the .NET installer as follows:

$ wine dotnetfx /C

It will ask you for a folder to put extracted files in. After extraction, go to the folder and open up the "install.ini" in text editor.

Change the value under [setup] section:

BlockOn64Platform=1

to

BlockOn64Platform=0

Now you are ready to run the installer using:

$ wine install.exe

This is only for experts and not the recommended way. Use at own risk! ­


 
err:eventlog:ReportEventW .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)

If a .NET application exits with the following mes­sage in console:

fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003ff,(nil),0x0001,0x00000000,0x33b6e8,(nil)): stub
err:eventlog:ReportEventW L".NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub

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.GetSatelliteAssembliesFromConfig()
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.Globalization.TextInfo.get_InvariantNativeTextInfo()
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. T­his is a bug in the Microsoft .NET 2.0 Framework. Use the following workaround if you encounter this bug:­

$ su­
# ulimit -n 4096
­# su your_username
­$ wine your_installer­­
­

 




   << Back

Page loaded in 0.14314 seconds.