Skip to content

Changing TargetName causes incorrect incorrect runtimeconfig file names to be generated #2252

@Pilchie

Description

@Pilchie

Using:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netcoreapp11</TargetFramework>
    <OutputType>exe</OutputType>
    <TargetName>TestFilename</TargetName>
  </PropertyGroup>

</Project>

Creates .runtimeconfig.json and .runtimeconfig.dev.json files to be created that don't use the same name.

🔗 Taken from https://github.com/dotnet/project-system/issues/2556, and possibly the cause of the debugging issue there - tag @jnm2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions