dotnet / dotnet/core

RelativePath in runtimeconfig.json

Open
#6,207 3 comments 0 reactions 0 assignees View on GitHub
area-aspnet
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.