WineHQ

.NET Framework

.NET Framework 4.5, released on Â­2012-08-15.






This package also includes:

Application Details:

Version: 4.5
License: Free to use
URL: http://msdn.microsoft.com/netf...
Votes: 2
Latest Rating: Garbage
Latest Wine Version Tested: 4.12.1-staging

Maintainers: About Maintainership

Free Download Microsoft .NET Framework 4.5 (Standalone Installer) (48.0 MB) Direct download Free Download Microsoft .NET Framework 4.5 (Web Installer) (900 KiB) Download Free Download Microsoft .NET Framework 4.5.1 (Offline Installer)

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

.Net installs and runs. I had a typo in my previous test-setup, so it was my fault that .Net 4.5 was not getting recognized (It seems i cant edit my test report?)

What does not


Workarounds

What was not tested

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

The winetricks setup is such a tedious mess (unless you have manually prepared all files in advance, you are forced to fully delete your wineprefix several times) that even Bronze seems like a little bit too good. --- Note from appdb maintainer: That's a personal user perception. Since I'm the originator of most (if not all) winetricks .NET recipes I don't find them particularly complex/problematic/unstable. There were some Wine versions in the past that broke installers but in general install of .NET works pretty fine without any manual intervention. In many cases the problem sits behind the keyboard ;-)

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowPop!_OS 19.04Jul 20 20194.12.1-stagingYes No NoGarbageSlendowManX 
ShowUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Nov 05 20183.19Yes Yes NoPlatinumTitan91 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Sep 28 20161.9.19Yes Yes Goldan anonymous user 
ShowFedora 22 x86_64Aug 07 20151.7.49Yes Yes GoldAnastasius Focht 
CurrentUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)Aug 07 20151.7.45Yes Yes Bronzean anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
26757 Multiple Microsoft installers need implementation of Windows Update Standalone Installer 'Wusa.exe' to support '.msu' packages (.NET Framework 4.5.x/4.6.x/Win Vista+, IE8/Win Vista+, IE10/Win7 mode) STAGED 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
44562 .NET 4.x - rundll32.exe - Error messages when running any application or starting wine after update UNCONFIRMED View
47276 NotImplementedException: The method or operation is not implemented. Source: System.Windows.Forms at System.Windows.Forms.UnsafeNativeMethods.IHTMLDocument2.GetMimeType() UNCONFIRMED View

Show all bugs

HowTo / Notes

Get winetricks!

You need to install winetricks first (see more details here). This tool make easier to install and configure many things on your Wine prefix. Your distribution probably comes with a package to install it but it could likely be outdated, so, to be safe, download the latest version:

$ wget 'https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks'
$ chmod +x ~/winetricks
Automated installation through winetricks

Last update: 2019-08-17


As usual, create a new Wine prefix (for most applications, it's better to set its own prefix):

$ env WINEPREFIX=$HOME/winedotnet wineboot --init

If Wine prompts for installing Mono, click Cancel.

Install .NET Framework (and optionally install corefonts):

$ env WINEPREFIX=$HOME/winedotnet ~/winetricks dotnet40 corefonts

Use dotnet40 to install .NET Framework 4.0. To install another version of 4.x series, change it to one of the following list:

dotnet45   to install .NET Framework 4.5
dotnet451  to install .NET Framework 4.5.1
dotnet452  to install .NET Framework 4.5.2
dotnet46   to install .NET Framework 4.6
dotnet461  to install .NET Framework 4.6.1
dotnet462  to install .NET Framework 4.6.2
dotnet47   to install .NET Framework 4.7
dotnet471  to install .NET Framework 4.7.1
dotnet472  to install .NET Framework 4.7.2
dotnet48   to install .NET Framework 4.8

... And so on. For example, to install .NET Framework 4.5.2:

$ env WINEPREFIX=$HOME/winedotnet ~/winetricks dotnet452 corefonts

If this doesn't work or you need to install a version not supported by winetricks, try a manual installation (explained below).

Manual installation (Step 1)

Start with a new Wine prefix:

$ env WINEPREFIX=$HOME/winedotnet wineboot --init

Try to install .NET 4.0 through winetricks:

$ env WINEPREFIX=$HOME/winedotnet ~/winetricks dotnet40 corefonts

If it success and you need to install a higher 4.x version, go to Step 2 (next How-To). If it doesn't work (very unlikely) keep reading.


Uninstall wine-mono from your Wine prefix:

$ env WINEPREFIX=$HOME/winedotnet wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}'

Change reported version to Windows XP, then download and install .NET 4.0:

$ env WINEPREFIX=$HOME/winedotnet ~/winetricks winxp
$ wget 'http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe'
$ env WINEPREFIX=$HOME/winedotnet wine ~/dotNetFx40_Full_x86_x64.exe

Open winecfg dialog:

$ env WINEPREFIX=$HOME/winedotnet winecfg

Go to "Libraries" tab, add a new library substitution called "mscoree" and set it to "Native (Windows)". Close the dialog by clicking OK.

Manual installation (Step 2)

Change reported version to Windows 7:

$ env WINEPREFIX=$HOME/winedotnet ~/winetricks win7

Now you can download and execute the installer for the desired version of .NET (install only the highest version you need):

  • .NET Framework 4.5:
    $ wget 'http://download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/dotnetfx45_full_x86_x64.exe /q
  • .NET Framework 4.5.1:
    $ wget 'https://download.microsoft.com/download/1/6/7/167F0D79-9317-48AE-AEDB-17120579F8E2/NDP451-KB2858728-x86-x64-AllOS-ENU.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/NDP451-KB2858728-x86-x64-AllOS-ENU.exe /q
  • .NET Framework 4.5.2:
    $ wget 'http://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/NDP452-KB2901907-x86-x64-AllOS-ENU.exe /q
  • .NET Framework 4.6:
    $ wget 'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/NDP46-KB3045557-x86-x64-AllOS-ENU.exe /q
  • .NET Framework 4.6.1:
    $ wget 'https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/NDP461-KB3102436-x86-x64-AllOS-ENU.exe /q
  • .NET Framework 4.6.2:
    $ wget 'https://download.microsoft.com/download/F/9/4/F942F07D-F26F-4F30-B4E3-EBD54FABA377/NDP462-KB3151800-x86-x64-AllOS-ENU.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/NDP462-KB3151800-x86-x64-AllOS-ENU.exe /q
  • .NET Framework 4.7:
    $ wget 'https://download.microsoft.com/download/D/D/3/DD35CC25-6E9C-484B-A746-C5BE0C923290/NDP47-KB3186497-x86-x64-AllOS-ENU.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/NDP47-KB3186497-x86-x64-AllOS-ENU.exe /q
  • .NET Framework 4.7.1:
    $ wget 'https://download.microsoft.com/download/9/E/6/9E63300C-0941-4B45-A0EC-0008F96DD480/NDP471-KB4033342-x86-x64-AllOS-ENU.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/NDP471-KB4033342-x86-x64-AllOS-ENU.exe /q
  • .NET Framework 4.7.2:
    $ wget 'https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/NDP472-KB4054530-x86-x64-AllOS-ENU.exe /q
  • .NET Framework 4.8:
    $ wget 'https://download.visualstudio.microsoft.com/download/pr/7afca223-55d2-470a-8edc-6a1739ae3252/abd170b4b0ec15ad0222a809b761a036/ndp48-x86-x64-allos-enu.exe'
    $ env WINEPREFIX=$HOME/winedotnet wine ~/ndp48-x86-x64-allos-enu.exe /q


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

Last update: 2019-01-06


To verify .NET Framework installation(s) you can use the .NET Framework Setup Verification Tool from Aaron Stebner (Microsoft) which checks for proper installation of .NET assemblies and registry entries:

$ wget 'https://msdnshared.blob.core.windows.net/media/2018/05/netfx_setupverifier_new.zip'
$ unzip netfx_setupverifier_new.zip
$ env WINEPREFIX=$HOME/winedotnet wine ~/netfx_setupverifier.exe

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

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"
­
Shim Errors for .NET Framework Version and Platform Support

When you start a Microsoft .NET Framework application, a shim program determines which version of the common language runtime (CLR) to load, loads it, and starts the application. If the shim encounters an error (for example, if it can't find a compatible version of the .NET Framework on the computer), it displays an error message with instructions.

Most likely you have a .NET 2.0 or .NET 3.x application here. You need to install .NET Framework 3.5 (includes .NET 2.0 and 3.0) to run these.

Please follow HOWTO.

Running .NET Framework 4.5 installer directly reports success but apps don't run

Don't try to run .NET 4.5.x Framework installers directly. This will not work!

Although the .NET Framework 4.0 part is inc­luded in .NET Framework 4.5 update, some files won't be installed due to bug 30074.

For example mscoree.dll lives in Windows6.1-KB958488-v6001-x86.msu which is processed by Windows Update Service - WUSA.

The application requested process termination through System.Environment.FailFast

If a .NET application exits with the following message in console:

err:eventlog:ReportEventW ...
Description: The application requested process termination through System.Environment.FailFast(string message).\n
Message: Unrecoverable system error.\n
Stack:\n
at System.Environment.FailFast(System.String)\n
at MS.Internal.Invariant.FailFast...

Some of Wine's truetype fonts are still not in shape of being a complete replacement for Windows ones, causing errors.

You must use 'winetricks corefonts' recipe to work around this problem!

System.Window.Markup.XmlParseException when starting .NET apps

If a .NET application exits with the following message in console:

err:secur32:SECUR32_initSchannelSP TLS library not found, SSL connections will fail
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:rpc:RpcBindingSetAuthInfoExW unsupported AuthnSvc 10

You are missing the samba/winbind component which is essential for certain Wine functionality.

Please install winbind with your distribution package manager!

Comments

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

Report: .NET Framework 4.0 must be installed first
by Don Alfons Nisnoni on Saturday June 8th 2019, 15:42
If you want to install NET Framework version 4.0 later, you must install NET Framework version 4.0. All NET Framework version after 4.0 is only an update.
Back