poppastring / dasblog-core

The original DasBlog reimagined with ASP.NET Core
MIT License
469 stars 193 forks source link

Trying to publish as self-contained app #683

Closed Tdue21 closed 1 year ago

Tdue21 commented 1 year ago

My webhost currently only supports up to .NET 5 as framework-dependent. Fortunately they also support self-contained, so yay. However, when I try to publish the project DasBlog.Web I get the following error:

Metadata file 'C:\..\DasBlog.CLI\obj\Release\net6.0\win-x86\ref\dasblog-core.dll' could not be found for project DasBlog.Web.

According to my webhost, I need to publish for win-x86, so these are the settings I use for publishing:

image

What am I missing?

Tdue21 commented 1 year ago

Hm... After much mucking about with the settings, it suddenly worked. Unfortunately, I am not sure exactly what worked :(