The Microsoft .NET Framework version 4.0 redistributable package (released 2010-04-12)
installs the .NET Framework runtime and associated files that are required to run and develop applications to target the .NET Framework 4.
The Microsoft .NET Framework 4 provides the following new features and improvements:
The .NET Framework 4 works side by side with the Framework version 3.5 SP1. Applications that are based on earlier versions of the Framework will continue to run on that version. Just a subset of functionality is shared by all versions of the Framework.
Innovations in the Visual Basic and C# languages, for example statement lambdas, implicit line continuations, dynamic dispatch, and named/optional parameters.
The ADO.NET Entity Framework, which simplifies how developers program against relational databases by raising the level of abstraction, has many new features. These includes persistence ignorance and POCO support, lazy loading, test-driven development support, functions in model, and new LINQ operators.
Enhancements to ASP.NET:
New JavaScript UI Templates and databinding capabilities for AJAX.
New ASP.NET chart control.
Improvements in WPF:
Added support in Windows Presentation Foundation (WPF) for Windows 7 multi-touch, ribbon controls, and taskbar extensibility features.
Added support in WPF for Surface 2.0 SDK.
o New line-of-business controls including charting control, smart edit, data grid, and others that improve the experience for developers who build data centric applications.
Improvements in performance and scalability.
Visual improvements in text clarity, layout pixel snapping, localization, and interoperability.
Improvements to Windows Workflow (WF) that let developers to better host and interact with workflows. These include an improved activity programming model, an improved designer experience, a new flowchart modeling style, an expanded activity palette, workflow-rules integration, and new message correlation features. The .NET Framework also offers significant performance gains for WF-based workflows.
Improvements to Windows Communication Foundation (WCF) such as support for WCF Workflow Services enabling workflow programs with messaging activities, correlation support, durable two-way communication and rich hosting capabilities. Additionally, .NET Framework 4 provides new WCF features such as service discovery, router service, simplified configuration and a number of improvements to queuing, REST support, diagnostics, and performance.
Innovative new parallel programming features such as parallel loop support, Task Parallel Library (TPL), Parallel LINQ (PLINQ), and coordination data structures which let developers harness the power of multi-core processors.
Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results (selected in 'Test Results' table below)
What works
Installation using 'winetricks', e.g. 'winetricks dotnet40'
Apps using .NET Framework 4.0 "client" profile that don't make use of advanced features like WPF, WCF and WMI.
Example: "January 2012 Unreal Development Kit Beta" (from http://udk.com/)
What does not
n/a
What was not tested
Still various of bugs when running.
See notes, howtos.
Additional Comments
Always use a _clean_ WINEPREFIX and 'winetricks' for install!
Most apps need 'winetricks gdiplus' to have their menu bars correctly displayed.
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)
.NET applications that make use of System.IO.IsolatedStorage crash (missing "HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\" registry subkey)
Microsoft .NET Framework 4.0 installation using 'winetricks' (easy way)
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.0 Framework. Winetricks
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 dotnet40
Installation by Application
Some Applications bundle the .NET Framework Redistributables and try to install it on their own if not present. Don't let the application install .NET Framework 4.0 - this won't work!
Use winetricks to install .NET Framework 4.0 before running the app installer!
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.
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.
/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.
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!
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!