XML documentation setting prevents app from building in Release configuration

オープン
#801 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, visualbasic
領域
build-system

調査の方向性

issue に記載されている VB アプリ、XML ドキュメントの設定、および変換手順を使用して、Release 構成の失敗を再現します。Debug と Release の間で XML ドキュメントのパスがどのように変化するかを追跡し、その後、再構成によって有効なファイル名が維持され、アプリが 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時間
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

icsharpcode/CodeConverter のほかの issue

icsharpcode/CodeConverter の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。