Skip to content

cannot call on other dotnet exe with project reference not working. #14635

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

Closed
Belpaire opened this issue Nov 20, 2020 · 1 comment
Closed

cannot call on other dotnet exe with project reference not working. #14635

Belpaire opened this issue Nov 20, 2020 · 1 comment
Assignees
Labels
untriaged Request triage from a team member

Comments

@Belpaire
Copy link

NET Core Version: 3.1.403
Windows version: version 1809
Does the bug reproduce also in WPF for .NET Framework 4.8?: No
Problem description:
I have a project structure like:

---|-wpfappProjectA
|
|-wpfappProjectB
With ProjectA having a Projectreference to projectB.
Debugging or running either app individually works. However when I want to run the wpfappProjectB.exe from ProjectA, it will complain of a missing runtime. This seems to be that alhtough projectB.exe is in the same folder, it does not contain the wpfappProjectB.runtimeconfig.dev.json or the wpfappProjectB.runtimeconfig.json files. If I copy these files I can run projectB from projectA. I am personally not quite sure whether this repository is where I should file the issue, so if needed you can redirect me. At first I thought it was wpf specific, but it seems like it is more of a generic dotnet thing(which is why the name of the reproducing repro is called that way.).

Expected behavior:
I'd expect that I can call an exe from another exe if I have a projectreference to it (namely, the runtime.json files are also copied).
Minimal repro:
https://github.com/Belpaire/wpfdotnetproblemreproduce edit: all you need to reproduce is to run wpfapp1 from visualstudio.

@marcpopMSFT marcpopMSFT added the untriaged Request triage from a team member label May 11, 2021
@marcpopMSFT marcpopMSFT self-assigned this May 11, 2021
@marcpopMSFT
Copy link
Member

I think this was fixed by this PR #1675. Please reactivate if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

2 participants