Visual Studioを使用して、ユニットへの参照を常にロードおよび構築します(R:)。問題は、誰かがプロジェクトプロパティを編集すると、ドライブ文字がアセンブリパスから削除され、ビルドマシンがアプリケーションをビルドできないことです。
作成時のプロジェクトファイルは次のようになります。
<References>
<AssemblyReference
RelativePath="R:\ClientContext.dll"
AssemblyName="ClientContext, Version=8.3.0.0, PublicKeyToken=255e4d2a8e3ef422, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
そして、プロパティを編集した後:
<References>
<AssemblyReference
RelativePath="ClientContext.dll"
AssemblyName="ClientContext, Version=8.3.0.0, PublicKeyToken=255e4d2a8e3ef422, processorArchitecture=MSIL"
MinFrameworkVersion="131072"
/>
プロジェクトファイルはvcprojであり、これが他の形式でも発生するかどうかはわかりません。
事前に仲間に感謝します。