I’ve problem with publishing my ASP.NET Core web app to linux - problem with reference to Elements project.
If I add Elements project to ASP.NET Core as built dll, its generated to WebApplication.deps.json.
If Iadd it as project reference it does not happen.
I paste you test case.
WebApplication3 with reference to built ClassLibrary4
There is a link to ClassLibrary4.
WebApplication2 with reference to project ClassLibrary4
It’s the only difference between WebApplication2 and WebApplication3.
WebApplication3 is starting on linux
WebApplication2 isn’t starting on linux, but the is a workaround - copy WebApplication3.deps.json as WebApplication2.deps.json and it works.
I’ve also added ClassLibrary2 - c# library, and modified Elements library project file to be similar but it doesn’t change anyting.
Please help - I don’t want to build ma classlib seperately