Skip to content

GenerateDocumentationFile=true breaks DebugSymbolsProjectOutputGroup in VB projects #1598

@nguerrera

Description

@nguerrera

Get the following when trying to replace <DocumentationFile>Foo.xml</DocumentationFile> with <GenerateDocumentionFile>true</GenerateDocumentationFile>.

C:\Program Files (x86)\Microsoft Visual Studio\Preview\Enterprise\MSBuild\15.0\bin\Microsoft.Common.CurrentVersion.targets(5458,44): error MSB4023: Cannot evaluate the item metadata "%(FullPath)". The item metadata "%(FullPath)" cannot be applied to the path "D:\Src\roslyn\Binaries\Obj\BasicEditorFeatures\Debug\D:\Src\roslyn\Binaries\Obj\BasicEditorFeatures\Debug\Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.xml". The given path's format is not supported. [D:\Src\roslyn\src\EditorFeatures\VisualBasic\BasicEditorFeatures.vbproj]

The issue is that VB targets do not expect DocumentationFile to include the IntermediateOutputPath like C# targets, so GenerateDocumentationFile needs to behave differently for VB than C#.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions