Skip to content

Reason for runtimeconfig.dev.json in build output since .NET Core 3? #15210

@vuplea

Description

@vuplea

An OutputType=Exe project build will create a runtimeconfig.dev.json which adds probing paths:

    "additionalProbingPaths": [
      "C:\\Users\\radu.oancea\\.dotnet\\store\\|arch|\\|tfm|",
      "C:\\Users\\radu.oancea\\.nuget\\packages"
    ]

Since all the dependencies should be near the AppHost, and the runtime probes in its directory first (e.g. I've used dotnet store first on my dependencies, but it still loaded them from the build folder), does runtimeconfig.dev.json have an effect?

Metadata

Metadata

Assignees

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