This repository was archived by the owner on Apr 11, 2020. It is now read-only.

Description
From @ewhance on December 23, 2016 17:17
I'm using Visual Studio Enterprise 2015, version 14.0.25431.01 Update 3 and a .net core project. The SDK does not change the result.
Steps to reproduce:
- Create new .net core project.
- Create custom publish target.
- Default target location.
- Default settings.
- Publish.
- Observe the added directories after the msdeploy execution: '\bin\Release\PublishOutput'.
- Publish again.
- Observe that the msdeploy execution has now created another set of directories inside the first: '\bin\Release\PublishOutput\bin\Release\PublishOutput'
- Repeat publish until file name becomes to long and crashes VS.
I also have found that even if I manually delete all of the published output as well as the publish profiles, the next publish still results in the same behavior.
Copied from original issue: dotnet/aspnetcore#1888