WineHQ
.NET Framework 4.0



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


Name.NET Framework
Version4.0
License Free to use
URLhttp://msdn.microsoft.com/netf...
Votes 6
RatingGold
Wine Version1.7.19
Free Download Microsoft .NET Framework 4 (Standalone Installer) (48.1 MB)Direct download
Free Download Microsoft .NET Framework 4 (Web Installer) (868 KB)
Free Download Microsoft .NET Framework 4 (Standalone Installer)
Maintainers of this version:
Description

­The Microsoft .NET Framework version 4.0 redistributable package (released ­2010-04-12)
installs the .NET Framework runtime and associated file­s 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 .N­ET 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.
Selected Test Results (selected in 'Test Results' table below)

What works

What works

* Installation

* .NET Framework Setup Verification Tool

* GPS Track Analyse Net 6.04 (but no maps yet)


What does not
n/a


What was not tested
Most of the API


Additional Comments

.NET was installed IN Lubuntu 14.04

Afer a lot of trouble I fond here in WineHQ the test of Ubuntu 13.04. After a clean reinstall of Wine I tried his Instructions and it finally worked:
 
"
You must first run the ".NET Framework Cleaner Tool" by Aaron Stebner in order to completely remove all traces of the Wine "Mono" (MS .NET replacement) package.

Download here:
http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx

Then you can do `winetricks dotnet40` and it will work!
"

----------------
.NET appdb entry maintainer NOTE:

The extra comment about "Cleaner" should be seen as user experience/problem.

'winetricks' will automatically take care of uninstalling Mono prior running .NET installer.
The trouble probably stems from using outdated 'winetricks' from Ubuntu Repo or broken WINEPREFIX.
In general no cleaner tool is needed.
I never faced whatever problems were encountered here. Well, I don't use Ubuntu though.
Test Results
DistributionTest dateWine versionInstalls?Runs?RatingSubmitter
CurrentUbuntu 14.04 "Trusty" i386 (+ variants like Kubuntu)Dec 07 20141.7.31 No, but has workaround Yes Bronze Weinstein 
ShowLinux Mint 17 "Qiana" x86_64Jul 21 20141.7.19 Yes Yes Gold LinuxSupahFly 
ShowMac OS X 10.6 "Snow Leopard"Oct 26 20141.6.1 Yes Yes Gold Alex Chow 
ShowSlackware 14.0Nov 05 20131.7.5 Yes Yes Gold an anonymous user 
ShowUbuntu 12.04 "Precise" amd64 (+ variants like Kubuntu)Jul 07 20131.6-rc4 No, but has workaround Yes Gold Anthony Seleznev 


Known bugs
Bug # Description Status Resolution Other apps affected
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
15670 .NET applications that make use of System.IO.IsolatedStorage crash (missing "HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\" registry subkey) NEW View
30076 .NET Framework 4.x with WinVer setting "Windows 7" spams terminal with "LocaleNameToLCID/LCIDToLocaleName unsupported flags 8000000" (LOCALE_ALLOW_NEUTRAL_NAMES) NEW View
32323 Netflix (Silverlight 4.x) and several .NET Framework 3.x/4.0 WPF apps require either Arial or Verdana to be installed NEW View
33506 Microsoft Expression Design 4 (Free Version) crashes when quickly populating main menu items (dropdown sub-menu drawing) NEW View
38062 .NET 2.0/3.x/4.x applications and games using System.Net.NetworkInformation NetworkAddressChangedEventHandler crash on startup NEW View

 
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 Fr­amework. Win­etricks will take care of all needed installation prerequisites and work around some problems.

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

$ bash winetricks dotnet40 corefonts

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

$ bash winetricks -q dotnet40 corefonts
­

­


Installation by Application

Some Applications bundle the .NET Framework Redistributables and try to install it on their own if not present.­

This is supported only with recent Wine 1.7.x versions. Also make sure you properly uninstall Mono first!


 
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\\v4.0.30319\\ngen.exe" update

Some errors while loading dependent modules that are not GAC'd yet are expected and can be ignored.­


 
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.


 
Same or higher version of .NET Framework 4 has already been installed on this computer.

This happens if you run 'winetricks' recipe on existing/created 64-bit WINEPREFIX.

Winetricks and 64-bit WINEPREFIXes are not supported.

You have to create a pure 32-bit WINEPREFIX through WINEARCH=win32 environment variable before running winetricks script!


 
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.


 
To run this application, you first must install one of the following versions of the .NET Framework: .NETFramework,Version=v4.0

If you encounter this error, the .NET4 app basically requests .NET 4.0 Full Framework. The default for .NET 4.0 Framework is "Client Profile".

Workaround: If your .NET4 application is called "foo.exe", rename "foo.exe.config" to something different and run again.

If this file is missing the CLR assume that your app is targeting NET4 Client Profile by default (which should work out in most cases).­

This links explains the differences and implications: Microsoft MSDN blog


 
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"
­

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


 




   << Back

Page loaded in 0.02264 seconds.