runtime-identifier

.NET Core RuntimeIdentifier vs TargetFramework

随声附和 提交于 2020-04-07 18:41:11
问题 Can someone explain the purpose of this two in csproj file (VS2017): <TargetFramework>netstandard1.6</TargetFramework> <RuntimeIdentifier>win7</RuntimeIdentifier> I just migrated from VS2015 and now can't publish my web api because it looks I should use only one target framework. In addition I can't specify multiple RIDs. All these changed things make me frustrated. Nothing works from scratch, should overcome something over and over. I just want developing my web-api on windows, run xUnit

NuGet - RID and TFM Examples

纵饮孤独 提交于 2019-12-10 18:56:26
问题 I've been reviewing the code for NuGet3 on GitHub, and I see several folder patterns in https://github.com/NuGet/NuGet3/blob/a5bc907d36ddaa8d4fa6c499e50d7ebf8993ed39/src/NuGet.Client/ManagedCodeConventions.cs related to expected folder structures within a NuGet package. However, I'm having a hard time finding any examples of these - specifically the rid and tfm values. How can I know all the possible values for rid and tfm? I know they mean Runtime Identifier and Target Framework Moniker, but

What does the win/any runtime mean in .NET Core

故事扮演 提交于 2019-11-28 20:11:32
I'm building a C# .NET core application and it is targeting the net452 framework. When I publish I can specify a runtime (--runtime), if I don't specify any runtime it uses win7-x64 (I assume that is because that is what my machine is running). However, I can also manually specify the runtime and it seems to accept any string I give it. However, the RID catalog seems to suggest both win as well as any are valid. UPDATE: I don't have any good answers so I'm going to clarify my questions and add a bounty. I've also asked on the ASP.NET core forums but gotten no response. If I specify a RID of

What does the win/any runtime mean in .NET Core

笑着哭i 提交于 2019-11-27 01:15:19
问题 I'm building a C# .NET core application and it is targeting the net452 framework. When I publish I can specify a runtime (--runtime), if I don't specify any runtime it uses win7-x64 (I assume that is because that is what my machine is running). However, I can also manually specify the runtime and it seems to accept any string I give it. However, the RID catalog seems to suggest both win as well as any are valid. UPDATE: I don't have any good answers so I'm going to clarify my questions and