**Description** Whenever I try to publish a single executable from from Visual studio exception is being thrown. **Reproduction** create any empty asp.net core minimal API project ant reference this package, try to publish as self contained, a single executable **Expected behavior** Publishing succeeds. **Relevant package, tooling and runtime versions** Visual Studio 2022 (v17.0.5) Net 6.0 LTS **Additional context** 