XamlBuildTask : error XC1043: Extension 'Microsoft.Activities.Buil-6ren">
gpt4 book ai didi

TFS 构建错误 - "The specified path, file name, or both are too long..."

转载 作者:行者123 更新时间:2023-12-02 19:47:22 24 4
gpt4 key购买 nike

我正在编写构建过程模板的自定义事件。我在构建事件时遇到以下问题。

>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 。希望对您有所帮助。

Currently there are a two workarounds:

Reduce the namespace in workflow x:Class property. This makes thegenerated file have a shorter name.

Use the subst or mklink command tocreate mapping so that the path the solution is located in becomes alot smaller. In team build, the workspace mapping needs to be modifiedequally.

关于TFS 构建错误 - "The specified path, file name, or both are too long...",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21226058/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com