❔ Reference ProjectReference with non-standard file extension
Hey, I have a dotnet solution with two C# projects Foo and FooTest. Foo has to use a different file extension in its output (e.g.
Foo.bla
instead of Foo.dll
), and FooTest references Foo as project reference.
Unfortunately, I cannot execute the test project because it tries to load Foo.dll
, which obviously doesn't exist. I can work around this issue by just having two copies of the same assembly with two different file extensions, but is there a more elegant way to solve this?2 Replies
Huh, good question. I noticed we actually had a post build task to rename it in the first place 🙂 my bad.
I knew there was a property for it... Just tried it and the output extension is changed, but FooTest still doesn't find Foo
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.