Skip to content

dotnet publish places output in sub-directory of the app output by default #5892

@DamianEdwards

Description

@DamianEdwards

Steps to reproduce

Create an ASP.NET Core application in VS then publish it using dotnet publish

Expected behavior

The output of publish doesn't impact the files contained in the folder of my running app

Actual behavior

The output of publish is now included in the folder that my app runs from when I dotnet run. Depending on the what the application does, this could result in clashes with content already in the app, etc.

image

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.0-rc2-002426)

Product Information:
 Version:     1.0.0-rc2-002426
 Commit Sha:  08ee6dedd9

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions