我正在尝试使用文件系统方法发布网站。我在 Visual Studio 2010 中使用了这种方法,并没有遇到很多问题。但是我在 Visual Studio 2012 中尝试时收到了上述错误。完整的错误如下...
Error : Copying file Service References\ACOServiceReference\FocusedReadMissionsRedux.ACOServiceReference.searchPatientbyDemographicsResponse.datasource to obj\Release\Package\PackageTmp\Service References\ACOServiceReference\FocusedReadMissionsRedux.ACOServiceReference.searchPatientbyDemographicsResponse.datasource failed. The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
我错过了什么或做错了什么?显然文件路径太长了,但是有没有办法可以创建类似路径变量或缩短路径名的东西?我该如何设置?