Skip to content

Use AssemblyName and not ProjectName for the runtimeconfig.json #854

Description

@Rand-Random

result = result.Replace("<DnaLibrary ", "<DnaLibrary " + $"CustomRuntimeConfiguration=\"{ProjectName}.runtimeconfig.json\" ");

Image a csproj where the user sets a custom AssemblyName
ProjectName = MyAddIn
AssemblyName = Company.MyAddIn

the produced runtimeconfig.json will be

Company.MyAddIn.runtimeconfig.json and not just simply MyAddIn.runtimeconfig.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions