-
Notifications
You must be signed in to change notification settings - Fork 1.1k
*.runtimeconfig.json not copied to out put dir when project referenced #11207
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
Comments
Any updates on this issue? It also happens when you add a project reference to a net core console app from asp.net core service, *runtimeconfig.json for the console app is not copied to the output of asp.net core app which leads to this error:
When trying to run the console app. |
This is not minor issue, this is regression from .net framework. |
This is the same as #1675. You can find a workaround in that issue. |
[release/2.1.7xx] update F#
Visual Studio Version: 16.5.2
Summary:

When reference one .net core
exe
project (for example WinForm) from other, after build, files:dll
,exe
,pdb
andApp.config
(if present) are copied to out put directory of main project, but*.runtimeconfig.json
is not copied. So, running thisexe
lead to very confusing error:Steps to Reproduce:
Create solution with WinForm core project.
Add to solution 2-d WinForm core project.
Reference one from another.
Try run (
Process.Start
) referencedexe
from main project.Minimal repro:
Reftest.zip
Expected Behavior: All necessary files from referenced project must be copied.
Actual Behavior:
*.runtimeconfig.json
not copied.User Impact: you can not run referenced
exe
file from main project.The text was updated successfully, but these errors were encountered: