Skip to content

RelativePath in runtimeconfig.json #6207

@genifycom

Description

@genifycom

Description

dotnet publish is indicating the following

publish: C:\Program Files\dotnet\sdk\5.0.202\Sdks\Microsoft.NET.Sdk.BlazorWebAssembly\targets\Microsoft.NET.Sdk.BlazorWebAssembly.Current.targets(617,5): error MSB4096: The item "C:\Dev\Projects\AWSBlazor\AWSBlazor\Client\bin\Release\net5.0\AWSBlazor.Client.runtimeconfig.json" in item list "AllPublishItemsFullPathWithTargetPath" does not define a value for metadata "RelativePath". In order to use this metadata, either qualify it by specifying %(AllPublishItemsFullPathWithTargetPath.RelativePath), or ensure that all items in this list define a value for this metadata. [C:\Dev\Projects\AWSBlazor\AWSBlazor\Client\AWSBlazor.Client.csproj]

I cannot seem to find information on RelativePath in runtimeconfig.json or how to debug this issue.

Can anyone provide guidance?

Configuration

Regression?

Seems to have been a continuing problem

Other information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions