Skip to content

"dotnet publish {ProjectDirectory}" no longer works #7460

@pranavkm

Description

@pranavkm

Steps to reproduce

  1. Create a new project
  2. Restore and run dotnet publish <directory with proj file>

Expected behavior

Publish succeeds

Actual behavior

Publish fails with

MSBUILD : error MSB1009: Project file does not exist.
Switch: D:\temp\msbuild-test\src2

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-preview5-004384)

Product Information:
 Version:            1.0.0-preview5-004384
 Commit SHA-1 hash:  05b448944c

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions