
Whenever a new platform comes along, it will need to implement a particular version of the. In fact a new version of NuGet must also be made since it knows about all the possible combinations of platforms. This works fine, but what happens when an entirely new platform comes along? I have to go back to my PCL project, add the new platform, recompile my library and produce a new NuGet package (since the platforms I’m targeting are hardcoded into the package). When you create a new PCL project you have to pick which platforms you want to support and as a result you get the API surface that is common between all those platforms. However, there is a big problem with how PCL’s work today.
#Recompile platforms code
NET code that could run on a variety of platforms without having to cross-compile your code making it easier to share code between backend and frontend for example.
#Recompile platforms portable
As you might recall, Portable Class Libraries were introduced to make it easier to write. NET Platform Standard is meant as a better version of the Portable Class Library (or PCL’s) concept that we already know. If instead you target a higher version of the interface, you’ll restrict your code to run on less platforms, but it will have a larger interface available to it. And that interface is versioned, meaning that if your code targets a lower version of the interface it will run on more platforms, but the interface will also be smaller. Basically it guarantees that your code can run on top of all the platforms that implement that interface. NET Platforms must support as defined in the CoreFX repo.īut what does that actually mean? I guess the easiest way to think of it is as an interface that sits between your code and a particular place where. So what is it? Well, according to the documentation it is:Ī specific versioned set of reference assemblies that all.


It all has to do with a new concept called…. So I thought I’d write a blog about it to clear things up a bit. Now that RC2 is out there I guess a lot more people will be checking it out and playing with it and there’s one topic that seems to confuse a lot of people. Lots of exciting new stuff that I highly encourage checking out. NET Core RC2 has been released by Microsoft last week along with ASP.NET Core RC2 and a preview of the tooling.
