Fix Dependency Model

Fixes AWS deploy crash "Could not load file or assembly 'Microsoft.Extensions.DependencyModel'" in Shine/Playon .NET services. Root cause is Dockerfile `dotnet publish` of the whole solution into one flat out/ folder — test projects (coverlet.collector) overwrite the host's DependencyModel. Fix by setting IsPublishable false on test projects. Use immediately when this exception, assembly-not-found for DependencyModel, or a coverlet/test-publish version clash appears. Do not add a Host PackageReference for DependencyModel.

pavelt-papaya Updated

File contents

pavelt-papaya/pavelt-cursor-skills/tree/main/fix-dependency-model commit 2401150894

Frequently asked questions

npx skillmds@latest add pavelt-papaya/fix-dependency-model