I was under the impression self-contained core deployments came with everything they needed as part of the build/release, but I've shipped the contents of my release folder to the target environment and I get the following error:
An assembly specified in the application dependencies manifest was not found: package: 'Microsoft.AspNet'WebApi.Client', version: '5.2.6' path: 'lib/netstandard2.0/System.Net.Http.Formatting.dll'
I've tried adding the following attribute to the project XML but I still can't see that DLL in the release directory:
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
Just to be clear, I've tried running the exe (which is when I get this error) from the publish directory and the winx64 directory (which I'm surprised to find is a lot smaller in size?)
I know probably one of the solutions here would be to ensure I install a framework/dependency on the target environment, but I really want to avoid doing that since I'd like this app to be truly self-contained.
Project XML:
Publish settings: