Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotnet publish --manifest doesn't update .deps.json file properly #3876

pavelovcharov opened this issue Nov 8, 2019 · 0 comments


Copy link

@pavelovcharov pavelovcharov commented Nov 8, 2019

We're researching possibility to exclude certain assemblies from publishing. These assemblies definitely will not be used in application, and we want to skip them from publishing to reduce a final application size.
As stated in documentation the --manifest option allows to skip certain packages from publishing. However this option doesn't updates the .deps.json file properly. Thus, the resulting application fails to start due to missing dependencies.
Is this behavior expected? Is there any other way to prevent certain assemblies from publishing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.