WineHQ

.NET Framework

No Screenshot

Submit Screenshot

.NET Framework 4.6.2, released on 2016-08-02.






This package also includes:

Application Details:

Version: 4.6.2
License: Free to use
URL: http://msdn.microsoft.com/netf...
Votes: 1
Latest Rating: Silver
Latest Wine Version Tested: 5.0-rc2-staging

Maintainers: About Maintainership

Free Download Offline installer (59.1 MB)

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)

What does not

The date time picker in the Visual Basic application does not work after installing dotnet.

Workarounds

What was not tested

Everything other than applications created using Visual Basic 2012

Hardware tested

Graphics:

  • GPU: Unknown
  • Driver: unknown

Additional Comments

Installation Method :

  1. Install wine stagging like the one on the winehq wiki and adjust it to the operating system you are using.
  2. Install winetricks
  3. Open winetricks -> select the default wineprefix -> Install a Windows DLL or component -> Select the MS .net that you want to install.


selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Dec 23 20195.0-rc2-stagingYes Yes NoSilverRidho Armand 
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Jan 08 20172.0-rc3No, but has workaround Yes GoldJasmin Sehic 

Known Bugs

Bug # Description Status Resolution Other apps affected
42170 Microsoft .NET Framework 4.6.2 offline installer does not complete, needs wevtapi.EvtNext stub CLOSED FIXED View

Show open bugs

HowTo / Notes

Get winetricks!

Install winetricks (more details here) to make easier to configure the Wine prefix:

$ sudo wget 'https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks' -O /usr/local/bin/winetricks
$ sudo chmod +x /usr/local/bin/winetricks
Automated installation through winetricks

Last update: 2020-08-24


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 --force 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 --force 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 --force dotnet40 corefonts

If it success and you need to install a higher 4.x version, go to Manual Installation (Step 2). 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

Download and run 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"


Comments

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

4.6.1 cannot be installed on 2.0.2 in Ubuntu :(
by jno on Wednesday August 2nd 2017, 9:36
After somehow successful installs of all those 4.0 and up...

fixme:wer:WerReportCreate build report information from scratch for 0x10ba128
fixme:wer:WerReportAddDump (0x10ba128, 0xc4, (nil), 2, 0xdbd800, (nil), 0) :stub
fixme:wer:WerReportSetParameter (0x10ba128, 0, (null), L"Microsoft .NET Framework 4.6.1 Setup") :stub
fixme:wer:WerReportSetParameter (0x10ba128, 1, (null), L"4.6.01055") :stub
fixme:wer:WerReportSetParameter (0x10ba128, 2, (null), L"14.0.1055.0") :stub
fixme:wer:WerReportSetParameter (0x10ba128, 3, (null), L"1") :stub
fixme:wer:WerReportSetParameter (0x10ba128, 4, (null), L" ") :stub
fixme:wer:WerReportSetParameter (0x10ba128, 5, (null), L"None_UI_Interactive_Crash") :stub
fixme:wer:WerReportSetParameter (0x10ba128, 6, (null), L"0xc000008c") :stub
fixme:wer:WerReportSetParameter (0x10ba128, 7, (null), L"0") :stub
fixme:wer:WerReportSetParameter (0x10ba128, 8, (null), L" ") :stub
fixme:wer:WerReportAddFile (0x10ba128, L"C:\\users\\jno\\Temp\\Setup_20170802_173014689.html", 5, 0x0) :stub
fixme:wer:WerReportAddFile (0x10ba128, L"C:\\users\\jno\\Temp\\Microsoft .NET Framework 4.6.1 Setup_20170802_173018228.html", 5, 0x0) :stub
fixme:wer:WerReportSetUIOption (0x10ba128, 3, L".NET Framework 4.6.1 Setup has failed") :stub
fixme:wer:WerReportSetUIOption (0x10ba128, 8, L".NET Framework 4.6.1 Setup has failed") :stub
fixme:wer:WerReportSubmit (0x10ba128, 1, 0x10, 0xdbd80c) :stub
exit status: 1
------------------------------------------------------
exit status 1 - dotnet461 installation failed
------------------------------------------------------
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
fixme:ntdll:EtwEventUnregister (deadbeef) stub.
jno@jno-intra:~/Downloads$ wine --version
wine-2.0.2
jno@jno-intra:~/Downloads$
Back