New console app with framework reference to Microsoft.NETCore.App, remove the version property from .runtimeconfig.json, run the app:
Fails with:
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App' was not found.
- The following frameworks were found:
<list of frameworks on the machine>
Running this on a Debug build causes an assert in fx_resolver.
We should explicitly check for this and fail with a meaningful error message. It's not valid to have a framework reference without version.
New console app with framework reference to
Microsoft.NETCore.App, remove theversionproperty from.runtimeconfig.json, run the app:Fails with:
Running this on a Debug build causes an assert in
fx_resolver.We should explicitly check for this and fail with a meaningful error message. It's not valid to have a framework reference without version.