.NETCore


(Mateusz Gałązka) #1

Hi,

after some time I’m back to .NET Core with Elements

I’ve got the project you uploaded, but when I reference it to ASP.NET Core Web Application I’m getting error

Project ‘NetCoreApplication286.elements’ targets ‘.NETCore2.1’. It cannot be referenced by a project that targets ‘.NETCoreApp,Version=v2.1’.

Any idea how to reference it?


(Mateusz Gałązka) #2

Using Elements 10.0.0.2305


(Mateusz Gałązka) #3

Great success :slight_smile: Changed
.NETCore2.1
to
netcoreapp2.1
and I can reference Elements code to ASP.NET Core project :slight_smile:


(Mateusz Gałązka) #4

Success - it would be nice :slight_smile:

I’m trying to add npgsql reference to my .NETCoreApp - could you please look at this?

RemObjects.zip (441.8 KB)

Using VS C# it’s running ok, using Elements build error :frowning:


(Mateusz Gałązka) #5

Under water it builds, but do not work properly

ConsoleApplication3.zip (30.1 KB)


(Mateusz Gałązka) #6

If you’ll fix sth I’ll be happy to test it (before friday beta) because I’ve got time for it this week :slight_smile:


(marc hoffman) #7

Curious. here it fails with the rather unhelpful message:

A JSON parsing exception occurred in [/Users/mh/Downloads/ConsoleApplication3 2/bin/Debug/ConsoleApplication3.deps.json]: Key not found

(ok, but WHAT key? the JSON looks fine…)


(Mateusz Gałązka) #8

Don’t know what’s this, but found, that ASP.NET Core App builds with .NET 4.5 ClassLib and my code is running - one step forward :slight_smile: