我正在编写构建过程模板的自定义活动。我在构建活动时遇到以下问题。
>XamlBuildTask : error XC1043: Extension 'Microsoft.Activities.Build.BeforeInitializeComponentExtension' threw an exception of type 'System.IO.PathTooLongException' : '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.'.
你有什么想法?请帮忙!
我找到一个提示here。希望它可能对您有所帮助。
目前有两种解决方法:
减少工作流 x:Class 属性中的命名空间。这使得
生成的文件的名称较短。
使用 subst 或 mklink 命令
创建映射,使解决方案所在的路径成为
小很多。在团队构建中,需要修改工作空间映射
一样。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)