-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solution-level error when a RuntimeIdentifier is specified #863
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@sfoslund If you're looking for issues to tackle, this one is a candidate |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I've split off my issues into the one linked above since it's still happening regardless of a runtime id. |
mmitche
pushed a commit
to mmitche/sdk
that referenced
this issue
Jun 5, 2020
…0190808.9 (dotnet#863) - Microsoft.AspNetCore.Mvc.Analyzers - 3.0.0-preview9.19408.9 - Microsoft.AspNetCore.Mvc.Api.Analyzers - 3.0.0-preview9.19408.9 - Microsoft.AspNetCore.Analyzers - 3.0.0-preview9.19408.9 - Microsoft.AspNetCore.Components.Analyzers - 3.0.0-preview9.19408.9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to a subset of #696 that won't be fixed by #828.
If a solution build has a RID specified, it will fail.
This can be because (after #828) it double-builds a library (once with RID specified from the solution's global properties, once with it removed):

Or, if nothing is done, this will fail when attempting to specify a RID on a project that doesn't need one.
If VS and the CLI distributed a solution-extension target that ran before
Build
and errored when'$(RuntimeIdentifier)' != ''
, it would at least provide guiderails to nudge users back into the more supported scenarios. It could say something likeBuilding a solution with a specific RuntimeIdentifier is not supported. If you would like to publish for a single RID, specifiy the RID at the individual project level instead.
The text was updated successfully, but these errors were encountered: