Website publish failing due to file path being too long

后端 未结 6 718
失恋的感觉
失恋的感觉 2020-12-13 18:47

I am trying to publish a Website project from a vendor that has ridiculously long paths to some of its files. When publishing, the error is:

The specified pa         


        
6条回答
  •  醉梦人生
    2020-12-13 18:54

    The answer of Jason Beck worked to me with a small change. To avoid the error "The IntermediateOutputPath must end with a trailing slash." use the "\" at the end of the path: ..\Temp\

    Your "CONFIG_PUBLISH_FILE.pubxml" should look like this (The "..." omits other configuration that you file may have): ... ... ..\Temp\ ...

提交回复
热议问题