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

Add .Net 4.5.1 assembly reference

$
0
0

Hi 

With the 1.0 release out, I started upgrading our Asp.Net.Core Web Api solution, currently based on RC1. 

The existing site references the standard .Net Core assemblies - but along those I need to reference a domain specific business logic assembly. This is a quite large assembly, currently targeting .Net 4.5.1 - and not something that I can really change. 

In the RC1 this worked fine, in project.json i used the dnx451 moniker. 

With the final 1.0 version out, I need to reference netstandard16 - if I understand the charts correctly, to both support .Net core and .Net 4.5.1. (https://docs.microsoft.com/da-dk/dotnet/articles/standard/library)

My problem here is that I don't know how to get my hands on .Net Framework vNext. :-) 

Are there any way to create a new Asp.Net Core WebApi site, and reference non netcoreapp compatible assemblies? 

I understand I can use net451 - but then I won't be able to use the .Net Core assemblies. 

Is the ability to use .Net 4.5 assemblies in a .Net Core application lost for now - until .Net Framework 4.6.3 arrives? 

Best regards

/Anders


Viewing all articles
Browse latest Browse all 9386

Trending Articles