-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET February 2022 Update - .NET 6.0.2, .NET 5.0.14 #7172
Comments
The same issue happens with this release when trying to update via Windows Update:
Manually downloading and installing works. |
After updating to SDK 6.0.102 we are seeing that our WPF app references the following,
However with SDK 6.0.101 (previous) our app referenced against,
Other common runtime references are not affected, just WPF related ones listed above (regardless of SDK version used to compile),
Also in both cases the runtimeconfig.json looks like this, {
"runtimeOptions": {
"tfm": "net6.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
{
"name": "Microsoft.WindowsDesktop.App",
"version": "6.0.0"
}
],
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
} This difference means that our app will not launch for folks that are still on the 6.0.1 runtime (they must update to 6.0.2 to resolve). We see the following exception,
Is this expected behavior? |
@marcpopMSFT - any ideas on #7172 (comment)? Update: Just found out this is a real issue. cc @RussKie as he's working on a WinForms fix now. @suprak: A "workaround" is described at dotnet/winforms#6663 (comment) though it amounts to not running 6.0.2 for WinForms/WPF apps. The caveat is that this is a security release so if you're also affected by CVE-2022-21986, there is another consideration. |
#7176 for Issue building with Windows Desktop 6.0.2 with added details for a workaround. |
6.0.2 breaks our web application build with error |
For the benefit of others searching here for a configuration error / breaking change new in dotnet 6.0.2, I've reported this issue: dotnet/runtime#61577 (comment) Environment variable configuration set up with a prefix containing The issue may surface as new/unexpected errors like |
With 5.0.14 update our project ran into below error. 5.0.13 is working fine. We don't see deps.json file in 5.0.14 folder anymore. |
Closed in favor of #7259 |
Release Notes
6.0.2
5.0.14
Please report any issues you find either by responding to this issue, creating a new issue or creating a new issue in one of the following repos:
Status of availability of SDK on Microsoft's Linux feeds:
Note: This list refers to the Microsoft-provisioned feeds (packages.microsoft.com) and does not in any way represent direct availability in distros (eg RHEL, Fedora).
Known Issues
If there are any more issues with this release we will track them here and check issues off as they're resolved. See the linked issues for details on progress and resolution details.
.NET 6.0.2
There have been limited reports of a failure to install the update via Microsoft Update on Windows 11. The update fails with error code 0x80070643. A workaround is to install the package that is failing manually by downloading it from the .NET 6.0.102 x64 SDK download site, then scanning again.
We are aware of an issue where some customers are unable to run Windows Forms apps built against 6.0.2. This appears a result of Windows Desktop servicing ref packs in 6.0.2. This was reported on 6.0.2 SDK update has broken WinForms apps winforms#6663 . A workaround is added to the Issue building with Windows Desktop 6.0.2 #7176
The text was updated successfully, but these errors were encountered: