Open
Description
In my Dockerfile I doing a final build after
- restoring dependencies
- building the project (without restore)
- publishing the project (without build)
Sadly this does not work (for whatever reason) when using the WebOptimizer Build target (default)
Workaround:
Do not use --no-build
Error:
/usr/share/dotnet/sdk/7.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Publish.targets(254,5): error MSB3030: Could not copy the file "/build/src/WebApp/bin/Release/net7.0/WebApp.runtimeconfig.json" because it was not found.
Metadata
Assignees
Labels
No labels