Skip to content

Warning in extension project: warning : Some features may not work correctly, because the generation of the runtime configure file (*.runtimeconfig.json) has been disabled.  #17543

@rolfbjarne

Description

@rolfbjarne

I get this warning (which was introduced by this PR) on a iOS extension:

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.2.1024/targets/Xamarin.Shared.Sdk.targets(979,3): warning : Some features may not work correctly, because the generation of the runtime configure file (*.runtimeconfig.json) has been disabled. [/Users/.../ShareExtension/ShareExtension.csproj]

I have not set GenerateRuntimeConfigurationFiles to false, but when I set it to true explicitly, the warning disappears. On the main project, the warning does not show up, even without having to set GenerateRuntimeConfigurationFiles=false.
Is it safe to ignore the warning? Should I set GenerateRuntimeConfigurationFiles=false or does this have any unwanted side-effects?

Originally posted by @tipa in #11887 (comment)

Metadata

Metadata

Assignees

Labels

bugIf an issue is a bug or a pull request a bug fixdotnetAn issue or pull request related to .NET (6)good first issueThis is a good first issue for someone to start working with our code

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions