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 does not include any of dependencies referenced in project #22511

Open
lesio999 opened this issue Nov 8, 2021 · 1 comment
Open

Comments

@lesio999
Copy link

lesio999 commented Nov 8, 2021

Description

dotnet publish does not include any of dependencies referenced in C# project marked with Exe.

dotnet publish is executed with -o -c, -p:ParentMSBuildToolsPath and --no-restore option on that given project file

Configuration

version of .NET: 6.0 GA (btw: the issue was found in RC)
OS: windows
architecture: x64

Regression?

the same code worked (in working) in .netcore 3.1 version, where all dependencies for that project are included in publish output location.

Other information

@mairaw mairaw transferred this issue from dotnet/core Nov 8, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NetSDK untriaged Request triage from a team member labels Nov 8, 2021
@dsplaisted
Copy link
Member

Is it possible for you to provide a repro project or a binlog of your build?

@dsplaisted dsplaisted removed the untriaged Request triage from a team member label Dec 8, 2021
@dsplaisted dsplaisted removed their assignment Dec 8, 2021
@dsplaisted dsplaisted added this to the Discussion milestone Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants