WineHQ

.NET Framework

The Microsoft .NET Framework version 4.5 redistributable package (released ­2012-08-15)

is a highly compatible, in-place update to the .NET Framework 4.

By using the .NET Framework 4.5 together with the C# or Visual Basic programming languages, you can write Windows  Metro style apps.

The .NET Framework 4.5 delivers better performance, reliability, and security.


Application Details:

Version: 4.5
License: Free to use
URL: http://msdn.microsoft.com/netf...
Votes: 2
Latest Rating: Gold
Latest Wine Version Tested: 1.9.19

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 for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

  1. Installation
  2. Verification passed (.NET Framework Setup Verification Utility)
  3. Programs which requires this framework  are able to run without any issues

What does not

---

Workarounds

What was not tested

Everything else besides What works section.

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Installation method: 1. Install wine-staging then open terminal in your home directory and type commands listed below: rm -fr ~/.wine export WINEARCH=win32 export WINEPREFIX="/home/USER/.wine" winecfg 1a. Replace USER with your USERNAME 1b. In winecfg set Windows version to Windows 7 2. Visit https://github.com/Winetricks/winetricks and grab winetricks from there 2a. In your home directory create folder called Winetricks 2b. Open above folder in terminal 2c. Type wget -r -c -N https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks then chmod +x winetricks 3. Open winetricks (type sh winetricks in terminal) and navigate to the default wineprefix -> Installation of Windows DLL or component, find dotnet45 and mark it for installation. 4. Installer will install all .NET Frameworks including 4.5 version

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 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 
ShowUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)Aug 07 20151.7.45Yes Yes Bronzean anonymous user 
ShowUbuntu 14.04 "Trusty" amd64 (+ variants like Kubuntu)Jun 24 20141.6.2Yes Yes SilverJonah Aragon 
ShowUbuntu 13.04 "Raring" amd64 (+ variants like Kubuntu)Oct 13 20131.7.4Yes Yes SilverXylemon 

Known Bugs

Bug # Description Status Resolution Other apps affected
26757 Wine can't install ".msu" files. Needed for IE8/Vista, .Net 4, IE10/Win7 STAGED View
30076 .NET Framework 4.x with WinVer setting "Windows 7" spams terminal with "LocaleNameToLCID/LCIDToLocaleName unsupported flags 8000000" (LOCALE_ALLOW_NEUTRAL_NAMES) 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
37781 Multiple Microsoft Redistributable/Component installers running in Windows 7 mode need dummy Windows Update Service (MS .NET Framework 4.5, MS VC++ 2015 Redist) STAGED View

Show all bugs

HowTo / Notes

HOWTO

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


Installation by using 'winetricks' script

Use this option for easy installation of .NET 4.5.2 Fr­amework. Win­etricks will take care of all needed installation prerequisites and work around some problems.

­For a fully silent install (no gui) use following command:

$ bash winetricks -q dotnet452 corefonts
­
HOWTO

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


Installation by using 'winetricks' script

Use this option for easy installation of .NET 4.5 Fr­amework. Win­etricks will take care of all needed installation prerequisites and work around some problems.

­For a fully silent install (no gui) use following command:

$ bash winetricks -q dotnet45 corefonts
­
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.

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.

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!

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.

/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.

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.

Comments

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

Error: chmod: cannot access 'winetricks':No such file or directory
by Matt Warnecke on Thursday October 13th 2016, 17:32
Hello, so I went through all the steps until 2c. After the first code for 2c, I type in: chmod +x winetricks, and the error message: cannot access 'winetricks':No such file or directory . To open the folder 'Winetricks' I used the code: cd Winetricks . Is there something I am missing in my code?
RE: Error: chmod: cannot access 'winetricks':No such file or directory
by Matt Warnecke on Thursday October 13th 2016, 18:35
I downloaded winetricks from the first line in step 2, and then extracted it to the Winetricks folder that I created in step 2a.
One a mac you must pass the -q flag to winetricks or else winetricks install of dotnet3 stalls
by Dave Doe on Wednesday December 23rd 2015, 2:35
If you are installing on a mac you must pass -q to winetricks or else the installation of dotnet3 will stall.

bash winetricks -q dotnet45 corefonts
Back