Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Help understanding runtime identifiers (RIDs)

$
0
0

When I publish a project I can specify a RID (in fact, it appears, since I am targeting net452, one is defaulted (win7-x64) if I do not choose one).  I have a few questions about RIDs and compatibility.

1) If I specify a RID of win7-x32 I assume my code will also run on a 64 bit Windows OS?

2) If I specify a RID of win7, what does it build, will it build the 32 bit version or the 64 bit version?

3) If I specify a RID of win7, will my program run in Windows 8, 8.1, or 10?

4) What does the any RID do?  I understand how the portable deployment can be used on multiple platforms but how can the standalone deployment (built with a RID of any) work on Linux as well as Windows?  Am I misunderstanding this RID?

5) If I specify a RID of "blah" I expected an error.  Instead my application was built in the "bin/Release/blah" directory.  Did it simply default to some other runtime?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>