dotnet publish fails due to a build error that doesn't happen when I run just dotnet build
Hi there,
I'm having a weird thing going on here.
I use Jetbrains Rider, and have a project that uses a class library a colleague made. The error that is happening says that
I don't even know where to begin troubleshooting this. Any advice?
I'm having a weird thing going on here.
I use Jetbrains Rider, and have a project that uses a class library a colleague made. The error that is happening says that
Required member X.Y must be set in the object initializer or attribute constructor. And this is super weird to see as an Error and not a warning, because 1) we never instantiate that class, it's resolved through DI and 2) this works in a regular build. So it's only during the publish part this goes wrong.I don't even know where to begin troubleshooting this. Any advice?
