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

Deployment can fail if the project directory has both a project file and a solution file #1085

Open
jskeet opened this issue Mar 5, 2019 · 0 comments
Assignees

Comments

@jskeet
Copy link
Member

jskeet commented Mar 5, 2019

Directory Layout:

  • Library
    • Library.csproj
  • App
    • App.sln
    • App.csproj (depends on Library.csproj)

The VS extension runs "dotnet publish" in the "App" directory without specifying that it wants to publish the project - the .NET Core SDK then publishes both projects in the target directory, leading to two .deps.json files, and Cloud Build fails.

Fix: specify the project file on the command line for dotnet publish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants