Instructions to configure your PublishProfiles file:
-
Change the temp output to a path with a shorter path name.
-
Open your target .pubxml in .\Properties\PublishProfiles from a text editor.
-
Change or add an element called PublishOutputPathNoTrailingSlash under PropertyGroup and set the value to your desired path:
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishOutputPathNoTrailingSlash>C:\Temp\Publish</PublishOutputPathNoTrailingSlash>
</PropertyGroup>
</Project>