You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a web application that we have just installed the latest version of Microsoft.VisualStudio.Threading onto (17.2.32).
After deploying it to our test environments, an error was thrown: The framework 'Microsoft.WindowsDesktop.App', version '3.1.0' was not found.
It seems there is now a requirement on that where there wasn't before.
This is in fact by design, because for netcoreapp3.1 we added the DispatcherSynchronizationContext-related APIs that previously were only found on net472.
You can avoid the WindowsDesktop runtime requirement by targeting net5.0+, which added the ability for us to split net5.0 from net5.0-windows targeting so that net5.0 consumers could avoid the WindowsDesktop runtime requirement.
Bug description
We have a web application that we have just installed the latest version of Microsoft.VisualStudio.Threading onto (
17.2.32
).After deploying it to our test environments, an error was thrown:
The framework 'Microsoft.WindowsDesktop.App', version '3.1.0' was not found.
It seems there is now a requirement on that where there wasn't before.
Repro steps
I created an empty project, csproj:
after building it, the runtimeconfig.json file produced looks like this:
After installing the package:
csproj:
runtimeconfig.json:
I'm assuming this was not indended? previous version 17.1.46 does not have the same issue.
I was trying to see what had that dependency and found that
was pulled in...but not sure what has referenced them either.
For now I have downgraded the package back to 17.1.46 and everything is working
The text was updated successfully, but these errors were encountered: