XML documentation setting prevents app from building in Release configuration

未關閉
#801 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
42/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
csharp, visualbasic
領域
build-system

研究方向

使用 issue 中描述的 VB 應用程式、XML 文件設定和轉換步驟重現 Release 設定失敗。追蹤 XML 文件路徑在 Debug 和 Release 之間如何變更,然後驗證重新設定後仍保留有效的檔案名稱,且應用程式能在 Release 中成功建置。

由索引模型根據 Issue 內容生成。

描述

compilation error good first issue help wanted VB -> C#
Steps to reproduce
  1. Have a VB app with XML Documentation checked in project settings, set to \bin\FixityVB.xml

  2. Convert to C#

  3. Change to release configuration

  4. App won't build. Error is:
    Error CS2021 File name ‘C:\dev\fixity\FixityVB\bin\’ is empty, contains invalid characters, has a drive specification without an absolute path, or is too long

  5. Go into project settings, change config from Debug to Release. Notice that when you change to Release, the XML documentation file changes from "bin\FixityVB.xml" to "bin\ .xml" (several blank spaces or invalid characters)

  6. Uncheck the XML documentation file box

  7. Recheck it

  8. File changes back to "bin\FixityVB.xml"

  9. Now the program will run under Release configuration.

Error message shown

Error CS2021 File name ‘C:\dev\fixity\FixityVB\bin\’ is empty, contains invalid characters, has a drive specification without an absolute path, or is too long

Details

CC 8.40

主要語言
C#
星號
918
分支
244
平均合併
1 天 10 小時
30 天內合併 PR
29

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

icsharpcode/CodeConverter 的其他 Issue

查看 icsharpcode/CodeConverter 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。