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
You can receive the error An assembly specified in the application dependencies manifest (ConsoleApp2.deps.json) was not found: package: 'runtimepack.Microsoft.Windows.SDK.NET.Ref', version: '10.0.22000.29' path: 'Microsoft.Windows.SDK.NET.dll' if you use the options GenerateRuntimeConfigDevFile, UseCommonOutputDirectory and specific Windows version (<TargetFramework>net7.0-windows10.0.22000.0)</TargetFramework> together, build the application and run it.
Steps to Reproduce:
Create a Project with following settings (in csproj file):
Problem:
It seems like the nuget dependency of microsoft.windows.sdk.net.ref cannot find the correct version on runtime. (The correct nuget package path is in the generated .runtimeconfig.dev.json). If you copy the needed dlls from [NuGet Package directory]\microsoft.windows.sdk.net.ref\10.0.22000.29\lib\net6.0 to the application output directory manually you can start the application.
Seems to happen for every windows target OS Version 10.*
The text was updated successfully, but these errors were encountered:
You can receive the error
An assembly specified in the application dependencies manifest (ConsoleApp2.deps.json) was not found: package: 'runtimepack.Microsoft.Windows.SDK.NET.Ref', version: '10.0.22000.29' path: 'Microsoft.Windows.SDK.NET.dll'
if you use the optionsGenerateRuntimeConfigDevFile
,UseCommonOutputDirectory
and specific Windows version(<TargetFramework>net7.0-windows10.0.22000.0)</TargetFramework>
together, build the application and run it.Steps to Reproduce:
Create a Project with following settings (in csproj file):
Problem:
It seems like the nuget dependency of microsoft.windows.sdk.net.ref cannot find the correct version on runtime. (The correct nuget package path is in the generated .runtimeconfig.dev.json). If you copy the needed dlls from [NuGet Package directory]\microsoft.windows.sdk.net.ref\10.0.22000.29\lib\net6.0 to the application output directory manually you can start the application.
Seems to happen for every windows target OS Version 10.*
The text was updated successfully, but these errors were encountered: