[英]Visual-studio extension project build error in “Debug” mode
我為Visual-studio創建了擴展。 當我在“調試”模式下構建項目時,我收到錯誤消息The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters
。 但在“發布”模式下,它正在成功構建。
在調試模式下,項目通過以下路徑構建在文件夾中: “C:\\ Users \\ UserName \\ AppData \\ Local \\ Microsoft \\ VisualStudio \\ 15.0_ed6a412fExp \\ Extensions \\ CompanyName \\ ProjectName \\ 1.3 +項目的所有子文件夾”總和此路徑超過260符號。
我嘗試了下一個選項來解決這個問題:
<application xmlns="urn:schemas-microsoft-com:asm.v3"> <windowsSettings xmlns:ws2="https://schemas.microsoft.com/SMI/2016/WindowsSettings"> <ws2:longPathAware>true</ws2:longPathAware> </windowsSettings> </application>
這個步驟對我沒有幫助。 我可以解決當前的問題嗎?
謝謝。
你可以試試這個
取自鏈接
來自MSDN支持的人建議嘗試這樣:( 解決文件路徑太長的異常的最佳方法
另外,來自開發者的有用鏈接https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/2156195-fix-260-character-file-name-length-limitation看看VS的第二篇評論開發
那么 ,使用.net 4.6.2可以解決我想的問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.