-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Design/Doc issue: PlatformTarget vs Platforms vs RuntimeIdentifier handled inconsistently #1553
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
Comments
I agree, we should simplify this, @dsplaisted @nguerrera Thoughts? |
Should we prohibit setting PlatformTarget for .NET Core projects and instead have RuntimeIdentifier be the sole way of setting this kind of value? That could help remove a discrepancy between whether this is a build-time vs. deployment-time decision. |
There's another related issue.. the current build targets don't multi-target per RID. If you need to do different things in the impl per RID, then you're stuck. I've implemented per-RID builds (and packaging under I piggy-back on the Should this be built-in: |
Any news to this? |
Most of my previous post was related to VS 16.2, In VS 16.3 preview this was fixed. |
I ran into this problem on one of our products. Visual Studio seems uses Note that our |
It seems the problem I'm having is dotnet/project-system#5901 |
From @davidmatson on August 28, 2017 20:11
I've stumbled across a number of cases where it isn't clear if I should use PlatformTarget, Platforms or RuntimeIdentifier. The tooling seems to get confused a bit between these properties as well - sometimes one UI (project properties) will reflect one property but another UI (Configuration Manager) will reflect a different property.
Could we document when to use which property? Or, perhaps even better, could we reduce the concept count here and would that lead to fewer bugs/ambiguities/possible conflicts?
For example, what's the right way to say the project is x64?
and/or
and/or
Is there any way to reduce the number of ways to say "I'm x64"?
Copied from original issue: dotnet/project-system#2748
The text was updated successfully, but these errors were encountered: