on-internet
← Community

What is causing "Could not resolve CoreCLR path" when referencing a Console App from another Console App?

Stack Overflow ·

I'm trying to build a console application, A, into another console application, B (an NUnit testing project). B references A by a ProjectReference. When running A, it works fine. All is also fine when I run B without referencing A. However, I'm met with the aforementioned error when B references A. Why? And how can I fix it? Some similar questions I've found do not fix the issue. https://github.com/dotnet/sdk/issues/5779 - My runtimeconfig is as follows: { "runtimeOptions": { "tfm" : "net6.0", "framework" : { "name" : "Microsoft.NETCore.App", "version" : "6.0.12" } } } https://github.com/dotne

Comments

Sign in or sign up to comment and upvote.

No comments yet.