Skip to content

There is no path separator between the output folder and the xml file when compiling for Android. #9645

Closed
@JanKrivanek

Description

@JanKrivanek

Android framework version

net9.0-android

Affected platform version

Main

Description

Path separation not properly ensured for DocumentationFile in

<DocumentationFile Condition=" '$(DocumentationFile)' == '' and '$(_ComputeFilesToPublishForRuntimeIdentifiers)' != 'true' ">$(OutputPath)$(AssemblyName).xml</DocumentationFile>

The property construction should call [MSBuild]::EnsureTrailingSlash to properly ensure the separation

FYI @NonExistPlayer

Steps to Reproduce

Details in the original issue dotnet/msbuild#11057

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions