Latest and DNX


(marc hoffman) #61

New build is up. this build, also has some improvements too the black theme you’ll like.

Update no it doesn’t, coz i forgot to pull those here on the laptop before i did there build. Ah well, you’ll get those friday :wink:


(JohnMoshakis) #62

Sorry it seems to be worse. Its not even resolving the dotnet core reference.

This is the example I was working on

ConsoleApplication23.zip (43.3 KB)

On the left is the latest. On the right is the last.


(marc hoffman) #63

Build log?


(marc hoffman) #64

Odd. your sample doesn’t resolve for me either, buy by previous project still does.


(marc hoffman) #65

Looks like my change broke support for */not having a version number at all. add one to and you should be all set for now. fixing, of course.


(marc hoffman) #66

For me kit now fails on

NuGet package Microsoft.AspNetCore.Owin matching version 1.1.0 was not found in any repositories.

which indeed doesn’t seem to exist (locally).


(JohnMoshakis) #67

/Applications/Fire.app/Contents/Resources/Mono/bin/mono /Applications/Fire.app/Contents/Resources/EBuild.exe /var/folders/42/j8j5j6pd0s51c9_zq3hv_9wr0000gn/T/ConsoleApplication23.fire.temp.sln --logger:fire --verbosity:detailed --xml:/var/folders/42/j8j5j6pd0s51c9_zq3hv_9wr0000gn/T/ConsoleApplication23.fire.temp.sln.xml
RemObjects EBuild. An open source build engine for Elements and beyond.
Copyright RemObjects Software 2016-2017. All Rights Reserved. Created by marc hoffman.
Version 9.1.100.2114 (stable) built on talax, 20170308-184231. Commit dd057c9.

<RemObjects.EBuild.Elements.EBuildElementsProject: ConsoleApplication23.elements>
project ConsoleApplication23.elements
-> Task RemObjects.EBuild.BuildSolution started.
Project: <RemObjects.EBuild.Elements.EBuildElementsProject: ConsoleApplication23.elements>
-> Project ConsoleApplication23.elements started.
-> Task RemObjects.EBuild.Elements.ElementsBuildProject started.
-> Task RemObjects.EBuild.Elements.ElementsCopyFinalOutput started.
-> Task RemObjects.EBuild.Elements.ElementsDetermineFinalOutput started.
-> Task RemObjects.EBuild.Elements.ElementsLink started.
-> Task RemObjects.EBuild.Elements.ElementsCoreCompile started.
-> Task RemObjects.EBuild.Elements.ElementsPreparePlatforms started.
Preparing target ‘Echoes’ for platform ‘Echoes’.
-> Task RemObjects.EBuild.Elements.ElementsPrepareEchoesPlatform started for Echoes.
-> Task RemObjects.EBuild.Elements.ElementsPreflightEchoes started.
<- Task RemObjects.EBuild.Elements.ElementsPreflightEchoes finished, took 0.2098s (0.2115s).
<- Task RemObjects.EBuild.Elements.ElementsPrepareEchoesPlatform finished, took 0.0043s (0.2183s).
<- Task RemObjects.EBuild.Elements.ElementsPreparePlatforms finished, took 0.2274s (0.2275s).
-> Task RemObjects.EBuild.Elements.ElementsApplyLegacySettings started for Echoes.
<- Task RemObjects.EBuild.Elements.ElementsApplyLegacySettings finished, took 0.0005s (0.0005s).
-> Task RemObjects.EBuild.Elements.ElementsResolveReferences started.
– Task RemObjects.EBuild.Elements.ElementsPreparePlatforms skipped, already ran.
-> Task RemObjects.EBuild.Elements.ElementsCheckForTargetlessReferences started.
<- Task RemObjects.EBuild.Elements.ElementsCheckForTargetlessReferences finished, took 0.0020s (0.0022s).
-> Task RemObjects.EBuild.Elements.ElementsResolveEchoesReferencesForTarget started for Echoes.
Reference ‘Elements’ was resolved to ‘/Users/JohnMoshakis/Documents/Elements/References/Echoes/Elements.dll’ via XML for target ‘Echoes’.
-> Task RemObjects.EBuild.Elements.ElementsProcessNuGetReferences started for Echoes.
<- Task RemObjects.EBuild.Elements.ElementsProcessNuGetReferences failed with exception Input string was not in a correct format., took 0.0000s (0.1468s).
<- Task RemObjects.EBuild.Elements.ElementsResolveEchoesReferencesForTarget failed, took 0.1008s (0.2481s).
<- Task RemObjects.EBuild.Elements.ElementsResolveReferences failed, took 0.2488s (0.2520s).
<- Task RemObjects.EBuild.Elements.ElementsCoreCompile failed, took 0.0000s (0.4819s).
<- Task RemObjects.EBuild.Elements.ElementsLink failed, took 0.0000s (0.4823s).
<- Task RemObjects.EBuild.Elements.ElementsDetermineFinalOutput failed, took 0.0000s (0.4828s).
<- Task RemObjects.EBuild.Elements.ElementsCopyFinalOutput failed, took 0.0000s (0.4834s).
<- Task RemObjects.EBuild.Elements.ElementsBuildProject failed, took 0.0000s (0.4845s).
<- Project ConsoleApplication23.elements failed, took 0.4973s.
<- Task RemObjects.EBuild.BuildSolution failed, took 0.5187s (0.5204s)

Sorry I upgraded to the latest versions to see if that made a difference. These are the original version numbers I had.

 <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Owin" Version="1.1.0" />
    <PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.0" />
    <PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.0.0" />
    <PackageReference Include="Nancy" Version="2.0.0-clinteastwood" />
  </ItemGroup>

(marc hoffman) #68

Yep, as i said, the problem was the missing version number, which i didn’t handle properly since implementing the range handling.

I’ve now also implemented remote resolving of references, so your project now resolved all and compiles successfully. Crossing a few more Ts and then ill see if i can shoot you a new version :wink:


(JohnMoshakis) #69

Thanks.

Do you mean I haven’t got a version on ?

<NuGetReference Include="Microsoft.NETCore.App" />


(marc hoffman) #70

Correct. change it to, say,

<NuGetReference Include="Microsoft.NETCore.App:1.1" />

and you’ll be fine with your current version.


(marc hoffman) #71

John,

i’m wondering if you have bene ankle to find out anything are actually running .NET core apps (aside from dotnet run, which off expects a csproj. It looks like corehost is the right tool to use, but i can’t get beyond it failing with Could not resolve CoreCLR path..

steps:

  • cd to /usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.1.1
  • copy libhostpolicy.dylib next to the exe (else it’ll complain it can’t find it)
  • run export COREHOST_TRACE=1
  • run ./corehost /path/to/exe.

Here’s what i get:

Floorshow:1.1.1 mh $ ./corehost "/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.exe"
Tracing enabled
--- Invoked dotnet [version: 1.1.0, commit hash: 928f77c4bc3f49d892459992fb6e1d5542cb5e86] main = {
./corehost
/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.exe
}
Resolved fxr [/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.1.1/libhostfxr.dylib]...
Tracing enabled
--- Invoked hostfxr [commit hash: 928f77c4bc3f49d892459992fb6e1d5542cb5e86] main
Own DLL path=[/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.1.1/corehost.dll]
Checking if CoreCLR path exists=[/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.1.1/libcoreclr.dylib]
Detecting mode... CoreCLR present in own dir [/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.1.1] and checking if [corehost.deps.json] file present=[0]
--- Executing in split/FX mode...
Detected a non-standalone application, expecting app.dll to execute.
Treating application '/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.exe' as a managed executable.
App runtimeconfig.json from [/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.exe]
Runtime config is cfg=/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.runtimeconfig.json dev=/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.runtimeconfig.dev.json
Attempting to read runtime config: /Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.runtimeconfig.json
Attempting to read dev runtime config: /Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.runtimeconfig.dev.json
Runtime config [/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.runtimeconfig.json] is valid=[1]
Executing as a standalone app as per config file [/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.runtimeconfig.json]
--- Resolving libhostpolicy.dylib version from deps json [/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.deps.json]
Dependency manifest [/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.deps.json] does not exist
The expected libhostpolicy.dylib directory is [/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes]
Tracing enabled
Reading from host interface version: [0x16041101:120] to initialize policy version: [0x16041101:120]
--- Invoked hostpolicy [commit hash: 4c41eace622faf3cdfdd0bcd4030a71235fbd3d5] [runtime.osx.10.10-x64.Microsoft.NETCore.DotNetHostPolicy,1.0.3,runtimes/osx.10.10-x64/native][x64] main = {
./corehost
/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.exe
}
Deps file: 
Directory core servicing at [] was not specified or found
Fallback directory core servicing at [/opt/coreservicing] was not found
-- arguments_t: own_path=/usr/local/share/dotnet/shared/Microsoft.NETCore.App/1.1.1/corehost app_dir=/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes deps=/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.deps.json core_svc= packages_cache= mgd_app=/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.exe
Could not locate the dependencies manifest file [/Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.deps.json]. Some libraries may fail to resolve.
-- Listing probe configurations...
Adding tpa entry: /Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.exe
Adding files from local dir /Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes
Adding ConsoleApplication23 to local assembly set from /Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes/ConsoleApplication23.exe
Adding to native path: /Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes
Adding to resources path: /Users/mh/Downloads/ConsoleApplication23 2/bin/Debug/Echoes
Could not resolve CoreCLR path. For more details, enable tracing by setting COREHOST_TRACE environment variable to 1
Floorshow:1.1.1 mh $ 

(simple .NET Core apps can off be run from Fire in Mono, but ASP Core doesn’t seem to like that :wink:


(marc hoffman) #72

New build is up for you btw.


(JohnMoshakis) #73

Sorry no I haven’t. I had been leaving any serious exploration for when Oxygene arrived.


(JohnMoshakis) #74

References are resolving and it builds. !!

At runtime I get

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Hosting.Abstractions, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies.
File name: 'Microsoft.AspNetCore.Hosting.Abstractions, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Hosting.Abstractions, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies.
File name: 'Microsoft.AspNetCore.Hosting.Abstractions, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
~> Process ConsoleApplication23 terminated with exit code 1

(JohnMoshakis) #75

ConsoleApplication24.zip (98.3 KB)

In the attached example it seems to be ignoring the nuget reference to System.Data.SqlClient

I cant see any reference to it in the build log.

/Applications/Fire.app/Contents/Resources/Mono/bin/mono /Applications/Fire.app/Contents/Resources/EBuild.exe /var/folders/42/j8j5j6pd0s51c9_zq3hv_9wr0000gn/T/ConsoleApplication24.fire.temp.sln --logger:fire --verbosity:detailed --xml:/var/folders/42/j8j5j6pd0s51c9_zq3hv_9wr0000gn/T/ConsoleApplication24.fire.temp.sln.xml
RemObjects EBuild. An open source build engine for Elements and beyond.
Copyright RemObjects Software 2016-2017. All Rights Reserved. Created by marc hoffman.
Version 9.1.100.2114 (stable) built on bajor, 20170309-164503. Commit 99af08b.

   -> Task RemObjects.EBuild.BuildSolution started.
      Project: <RemObjects.EBuild.Elements.EBuildElementsProject: ConsoleApplication24.elements>
      -> Project ConsoleApplication24.elements started.
      -> Task RemObjects.EBuild.Elements.ElementsBuildProject started.
         -> Task RemObjects.EBuild.Elements.ElementsCopyFinalOutput started.
            -> Task RemObjects.EBuild.Elements.ElementsDetermineFinalOutput started.
               -> Task RemObjects.EBuild.Elements.ElementsLink started.
                  -> Task RemObjects.EBuild.Elements.ElementsCoreCompile started.
                     -> Task RemObjects.EBuild.Elements.ElementsPreparePlatforms started.
                        Preparing target 'Echoes' for platform 'Echoes'.
                        -> Task RemObjects.EBuild.Elements.ElementsPrepareEchoesPlatform started for Echoes.
                           -> Task RemObjects.EBuild.Elements.ElementsPreflightEchoes started.
                           <- Task RemObjects.EBuild.Elements.ElementsPreflightEchoes finished, took 0.0358s (0.0367s).
                        <- Task RemObjects.EBuild.Elements.ElementsPrepareEchoesPlatform finished, took 0.0038s (0.0424s).
                     <- Task RemObjects.EBuild.Elements.ElementsPreparePlatforms finished, took 0.0489s (0.0491s).
                     -> Task RemObjects.EBuild.Elements.ElementsApplyLegacySettings started for Echoes.
                     <- Task RemObjects.EBuild.Elements.ElementsApplyLegacySettings finished, took 0.0005s (0.0006s).
                     -> Task RemObjects.EBuild.Elements.ElementsResolveReferences started.
                        -- Task RemObjects.EBuild.Elements.ElementsPreparePlatforms skipped, already ran.
                        -> Task RemObjects.EBuild.Elements.ElementsCheckForTargetlessReferences started.
                        <- Task RemObjects.EBuild.Elements.ElementsCheckForTargetlessReferences finished, took 0.0018s (0.0020s).
                        -> Task RemObjects.EBuild.Elements.ElementsResolveEchoesReferencesForTarget started for Echoes.
                           -> Task RemObjects.EBuild.Elements.ElementsProcessNuGetReferences started for Echoes.
                              Adding dependency Libuv:1.9.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency Microsoft.NETCore.Platforms:1.0.1 from Libuv:1.9.1.
                              Adding dependency Microsoft.CSharp:4.0.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Dynamic.Runtime:4.3.0 from Microsoft.CSharp:4.3.0.
                              Adding dependency System.Linq.Expressions:4.3.0 from System.Dynamic.Runtime:4.3.0.
                              Adding dependency System.Reflection:4.3.0 from System.Linq.Expressions:4.3.0.
                              Adding dependency Microsoft.NETCore.Targets:1.1.0 from System.Reflection:4.3.0.
                              Adding dependency System.IO:4.3.0 from System.Reflection:4.3.0.
                              Adding dependency System.Runtime:4.3.0 from System.IO:4.3.0.
                              Adding dependency System.Text.Encoding:4.3.0 from System.IO:4.3.0.
                              Adding dependency System.Threading.Tasks:4.3.0 from System.IO:4.3.0.
                              Adding dependency System.Reflection.Primitives:4.3.0 from System.Reflection:4.3.0.
                              Adding dependency System.ObjectModel:4.3.0 from System.Dynamic.Runtime:4.3.0.
                              Adding dependency Microsoft.NETCore.DotNetHostPolicy:1.0.3 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency Microsoft.NETCore.DotNetHostResolver:1.1.0 from Microsoft.NETCore.DotNetHostPolicy:1.1.0.
                              Adding dependency Microsoft.NETCore.DotNetHost:1.1.0 from Microsoft.NETCore.DotNetHostResolver:1.1.0.
                              Adding dependency Microsoft.NETCore.Runtime.CoreCLR:1.0.6 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency Microsoft.NETCore.Jit:1.1.1 from Microsoft.NETCore.Runtime.CoreCLR:1.1.1.
                              Adding dependency Microsoft.NETCore.Windows.ApiSets:1.0.1 from Microsoft.NETCore.Runtime.CoreCLR:1.1.1.
                              Adding dependency Microsoft.VisualBasic:10.0.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency NETStandard.Library:1.6.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Collections:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Diagnostics.Debug:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Diagnostics.Tools:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Globalization:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Linq:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Net.Primitives:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Runtime.Handles:4.3.0 from System.Net.Primitives:4.3.0.
                              Adding dependency System.Reflection.Extensions:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Resources.ResourceManager:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Runtime.Extensions:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Text.Encoding.Extensions:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Text.RegularExpressions:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Threading:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Xml.ReaderWriter:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Xml.XDocument:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Collections.Concurrent:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Diagnostics.Tracing:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.IO.Compression:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Net.Http:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Security.Cryptography.X509Certificates:4.3.0 from System.Net.Http:4.3.0.
                              Adding dependency System.Security.Cryptography.Algorithms:4.3.0 from System.Security.Cryptography.X509Certificates:4.3.0.
                              Adding dependency System.Security.Cryptography.Primitives:4.3.0 from System.Security.Cryptography.Algorithms:4.3.0.
                              Adding dependency System.Security.Cryptography.Encoding:4.3.0 from System.Security.Cryptography.X509Certificates:4.3.0.
                              Adding dependency System.Runtime.InteropServices:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Runtime.InteropServices.RuntimeInformation:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Runtime.Numerics:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Threading.Timer:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency Microsoft.Win32.Primitives:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.AppContext:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Console:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Globalization.Calendars:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.IO.Compression.ZipFile:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.IO.FileSystem:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.IO.FileSystem.Primitives:4.3.0 from System.IO.FileSystem:4.3.0.
                              Adding dependency System.Net.Sockets:4.3.0 from NETStandard.Library:1.6.1.
                              Adding dependency System.Buffers:4.0.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Collections.Immutable:1.2.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.ComponentModel:4.0.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.ComponentModel.Annotations:4.1.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Diagnostics.DiagnosticSource:4.0.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Diagnostics.Process:4.1.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Globalization.Extensions:4.0.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.IO.FileSystem.Watcher:4.0.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.IO.MemoryMappedFiles:4.0.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.IO.UnmanagedMemoryStream:4.3.0 from System.IO.MemoryMappedFiles:4.3.0.
                              Adding dependency System.Linq.Parallel:4.0.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Linq.Queryable:4.0.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Net.NameResolution:4.0.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Net.Requests:4.0.11 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Net.WebHeaderCollection:4.3.0 from System.Net.Requests:4.3.0.
                              Adding dependency System.Net.Security:4.0.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Security.Principal:4.3.0 from System.Net.Security:4.3.0.
                              Adding dependency System.Numerics.Vectors:4.1.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Reflection.DispatchProxy:4.0.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Reflection.Metadata:1.3.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Reflection.TypeExtensions:4.1.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Resources.Reader:4.0.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Threading.Tasks.Dataflow:4.6.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Runtime.Serialization.Primitives:4.3.0 from System.Threading.Tasks.Dataflow:4.7.0.
                              Adding dependency System.Threading.Tasks.Extensions:4.0.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Threading.Tasks.Parallel:4.0.1 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Threading.Thread:4.0.0 from Microsoft.NETCore.App:1.1.1.
                              Adding dependency System.Threading.ThreadPool:4.0.10 from Microsoft.NETCore.App:1.1.1.
                              Adding .dll reference System.Data.Common.dll.
                              Adding .dll reference Microsoft.CSharp.dll.
                              Adding .dll reference System.Dynamic.Runtime.dll.
                              Adding .dll reference System.Linq.Expressions.dll.
                              Adding .dll reference System.ObjectModel.dll.
                              Adding .dll reference Microsoft.VisualBasic.dll.
                              Adding .dll reference System.Linq.dll.
                              Adding .dll reference System.Text.RegularExpressions.dll.
                              Adding .dll reference System.Threading.dll.
                              Adding .dll reference System.Xml.ReaderWriter.dll.
                              Adding .dll reference System.Xml.XDocument.dll.
                              Adding .dll reference System.Collections.Concurrent.dll.
                              Adding .dll reference System.Security.Cryptography.Primitives.dll.
                              Adding .dll reference System.Runtime.InteropServices.RuntimeInformation.dll.
                              Adding .dll reference System.Runtime.Numerics.dll.
                              Adding .dll reference System.AppContext.dll.
                              Adding .dll reference System.IO.Compression.ZipFile.dll.
                              Adding .dll reference System.IO.FileSystem.Primitives.dll.
                              Adding .dll reference System.Buffers.dll.
                              Adding .dll reference System.Collections.Immutable.dll.
                              Adding .dll reference System.ComponentModel.dll.
                              Adding .dll reference System.ComponentModel.Annotations.dll.
                              Adding .dll reference System.Diagnostics.DiagnosticSource.dll.
                              Adding .dll reference System.IO.UnmanagedMemoryStream.dll.
                              Adding .dll reference System.Linq.Parallel.dll.
                              Adding .dll reference System.Linq.Queryable.dll.
                              Adding .dll reference System.Net.WebHeaderCollection.dll.
                              Adding .dll reference System.Security.Principal.dll.
                              Adding .dll reference System.Numerics.Vectors.dll.
                              Adding .dll reference System.Reflection.DispatchProxy.dll.
                              Adding .dll reference System.Reflection.Metadata.dll.
                              Adding .dll reference System.Reflection.TypeExtensions.dll.
                              Adding .dll reference System.Resources.Reader.dll.
                              Adding .dll reference System.Threading.Tasks.Dataflow.dll.
                              Adding .dll reference System.Runtime.Serialization.Primitives.dll.
                              Adding .dll reference System.Threading.Tasks.Extensions.dll.
                              Adding .dll reference System.Threading.Tasks.Parallel.dll.
                              Adding .dll reference System.Threading.Thread.dll.
                              Adding .dll reference System.Threading.ThreadPool.dll.
                           <- Task RemObjects.EBuild.Elements.ElementsProcessNuGetReferences finished, took 1.7499s (1.7506s).
                        <- Task RemObjects.EBuild.Elements.ElementsResolveEchoesReferencesForTarget finished, took 0.0025s (1.7536s).
                     <- Task RemObjects.EBuild.Elements.ElementsResolveReferences finished, took 1.7543s (1.7574s).
                     -> Task RemObjects.EBuild.Elements.ElementsResolveSourceFiles started.
                     <- Task RemObjects.EBuild.Elements.ElementsResolveSourceFiles finished, took 0.0063s (0.0067s).
                     -> Task RemObjects.EBuild.Elements.ElementsPreCompileEchoes started for Echoes.
                        -- Task RemObjects.EBuild.Elements.ElementsProcessXamlFiles skippedfor Echoes, condition not met.
                     <- Task RemObjects.EBuild.Elements.ElementsPreCompileEchoes finished, took 0.0000s (0.0010s).
                     -- Task RemObjects.EBuild.Elements.ElementsPreCompileToffee skippedfor Echoes, condition not met.
                     -- Task RemObjects.EBuild.Elements.ElementsPreCompileCooper skippedfor Echoes, condition not met.
                     -- Task RemObjects.EBuild.Elements.ElementsPreCompileIsland skippedfor Echoes, condition not met.
                     Compiling target 'Echoes'
                     -> Target Echoes started compiling.
                     RemObjects Elements (Oxygene, C# and Swift) Compiler for .NET, Cocoa, Java and Island.
                     Version 9.1.100.2114 (stable) built on bajor, 20170309-164503. Commit 99af08b.
                     Copyright 2003-2017 RemObjects Software, LLC. All rights reserved.
                     
                     Source file: /Users/JohnMoshakis/Documents/develop/Echoes/ConsoleApplication24/Program.pas
                     Source file: /Users/JohnMoshakis/Documents/develop/Echoes/ConsoleApplication24/Properties/AssemblyInfo.pas
                     Source file: /Users/JohnMoshakis/Documents/develop/Echoes/ConsoleApplication24/Properties/Resources.Designer.pas
                     Source file: /Users/JohnMoshakis/Documents/develop/Echoes/ConsoleApplication24/Properties/Settings.Designer.pas
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Data.Common/4.3.0/lib/netstandard1.2/System.Data.Common.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/Microsoft.CSharp/4.3.0/lib/netstandard1.3/Microsoft.CSharp.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Dynamic.Runtime/4.3.0/lib/netstandard1.3/System.Dynamic.Runtime.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Linq.Expressions/4.3.0/lib/netstandard1.6/System.Linq.Expressions.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.ObjectModel/4.3.0/lib/netstandard1.3/System.ObjectModel.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/Microsoft.VisualBasic/10.1.0/lib/netstandard1.3/Microsoft.VisualBasic.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Linq/4.3.0/lib/netstandard1.6/System.Linq.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Text.RegularExpressions/4.3.0/lib/netstandard1.6/System.Text.RegularExpressions.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Threading/4.3.0/lib/netstandard1.3/System.Threading.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Xml.ReaderWriter/4.3.0/lib/netstandard1.3/System.Xml.ReaderWriter.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Xml.XDocument/4.3.0/lib/netstandard1.3/System.Xml.XDocument.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Collections.Concurrent/4.3.0/lib/netstandard1.3/System.Collections.Concurrent.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Security.Cryptography.Primitives/4.3.0/lib/netstandard1.3/System.Security.Cryptography.Primitives.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Runtime.InteropServices.RuntimeInformation/4.3.0/lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Runtime.Numerics/4.3.0/lib/netstandard1.3/System.Runtime.Numerics.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.AppContext/4.3.0/lib/netstandard1.6/System.AppContext.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.IO.Compression.ZipFile/4.3.0/lib/netstandard1.3/System.IO.Compression.ZipFile.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.IO.FileSystem.Primitives/4.3.0/lib/netstandard1.3/System.IO.FileSystem.Primitives.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Buffers/4.3.0/lib/netstandard1.1/System.Buffers.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Collections.Immutable/1.3.0/lib/netstandard1.0/System.Collections.Immutable.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.ComponentModel/4.3.0/lib/netstandard1.3/System.ComponentModel.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.ComponentModel.Annotations/4.3.0/lib/netstandard1.4/System.ComponentModel.Annotations.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Diagnostics.DiagnosticSource/4.3.0/lib/netstandard1.1/System.Diagnostics.DiagnosticSource.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.IO.UnmanagedMemoryStream/4.3.0/lib/netstandard1.3/System.IO.UnmanagedMemoryStream.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Linq.Parallel/4.3.0/lib/netstandard1.3/System.Linq.Parallel.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Linq.Queryable/4.3.0/lib/netstandard1.3/System.Linq.Queryable.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Net.WebHeaderCollection/4.3.0/lib/netstandard1.3/System.Net.WebHeaderCollection.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Security.Principal/4.3.0/lib/netstandard1.0/System.Security.Principal.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Numerics.Vectors/4.3.0/lib/netstandard1.0/System.Numerics.Vectors.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Reflection.DispatchProxy/4.3.0/lib/netstandard1.3/System.Reflection.DispatchProxy.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Reflection.Metadata/1.4.1-beta-24322-03/lib/netstandard1.1/System.Reflection.Metadata.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Reflection.TypeExtensions/4.3.0/lib/netstandard1.5/System.Reflection.TypeExtensions.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Resources.Reader/4.3.0/lib/netstandard1.0/System.Resources.Reader.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Threading.Tasks.Dataflow/4.7.0/lib/netstandard1.0/System.Threading.Tasks.Dataflow.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Runtime.Serialization.Primitives/4.3.0/lib/netstandard1.3/System.Runtime.Serialization.Primitives.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Threading.Tasks.Extensions/4.3.0/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Threading.Tasks.Parallel/4.3.0/lib/netstandard1.3/System.Threading.Tasks.Parallel.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Threading.Thread/4.3.0/lib/netstandard1.3/System.Threading.Thread.dll
                     Reference: /Users/JohnMoshakis/.nuget/packages/System.Threading.ThreadPool/4.3.0/lib/netstandard1.3/System.Threading.ThreadPool.dll
                     Entering phase "Loading Source Files" (00:00:00.1888559)
                     Entering phase "Loading Resources" (00:00:00.1445623)
                     Entering phase "Resolving Namespaces" (00:00:00.0023957)
E:                   Unknown namespace "System.Data.SqlClient" in uses list [/Users/JohnMoshakis/Documents/develop/Echoes/ConsoleApplication24/Program.pas (4)]
                     Entering phase "Resolving Types" (00:00:00.0452350)
                     Entering phase "Resolving Properties and Events" (00:00:00.1291254)
                     Entering phase "Resolving Interfaces" (00:00:00.0113131)
                     Entering phase "Resolving Bodies" (00:00:00.1159212)
E:                   Unknown identifier "SqlConnection" [/Users/JohnMoshakis/Documents/develop/Echoes/ConsoleApplication24/Program.pas (13)]
                     Entering phase "Checking Members" (00:00:00.2029019)
                     Entering phase "Generating Helper Types" (00:00:00.0328635)
                     <- Target Echoes failed compiling.
                  <- Task RemObjects.EBuild.Elements.ElementsCoreCompile failed, took 1.0162s (2.8346s).
               <- Task RemObjects.EBuild.Elements.ElementsLink failed, took 0.0000s (2.8353s).
            <- Task RemObjects.EBuild.Elements.ElementsDetermineFinalOutput failed, took 0.0000s (2.8358s).
         <- Task RemObjects.EBuild.Elements.ElementsCopyFinalOutput failed, took 0.0000s (2.8364s).
      <- Task RemObjects.EBuild.Elements.ElementsBuildProject failed, took 0.0000s (2.8372s).
      <- Project ConsoleApplication24.elements failed, took 2.8378s.
   <- Task RemObjects.EBuild.BuildSolution failed, took 2.9157s (2.9172s).
   Saving XML details to /var/folders/42/j8j5j6pd0s51c9_zq3hv_9wr0000gn/T/ConsoleApplication24.fire.temp.sln.xml.

(marc hoffman) #76

That’s running form Fire, i assume (i.e. with Mono)?


(marc hoffman) #77

Will have a look later today, thanx


(JohnMoshakis) #78

Yes its running from Fire.


(marc hoffman) #79

k, thats expected then. Mono just ha son way to find the assemblies needed for ASP.NET. I started digging more into running .exes with .NET Core itself, and am making some progress, but not quite there yet. .2115 will generate the .deps.json file needed by .NETCore, but running the app with corehost still fails; this will need more investigation and work from me next week.


(marc hoffman) #80

As for System.Data.SqlClient, can reproduce the issue.

Package System.Data.SqlClient found in <NuGetRepository https://api.nuget.org/v3/index.json>
Available Versions: 4.3.0-preview1-24530-04,4.3.0,4.1.0-rc2-24027,4.1.0,4.0.0-beta-23516,4.0.0-beta-23409,4.0.0-beta-23225,4.0.0-beta-23123,4.0.0-beta-23109,4.0.0-beta-23019,4.0.0-beta-22816,4.0.0-beta-22605,1.0.0-beta2,1.0.0-beta1.
Dependency System.Data.Common:4.3.0-preview1-24530-04: Version number mismatch between existing NuGet reference System.Data.Common:4.3.0.
Upgrading dependency System.Data.Common from version 4.3.0-preview1-24530-04 to 4.3.0.

this is odd, but harmless

Expanding Package System.Data.SqlClient:4.3.0.
Expanding Package Libuv:1.9.1.

this is there problem, it doesn’t seem to find anything inside to expand. i looked at the package i got downloaded and it only has versions for

MonoAndroid10   
MonoTouch10      
net451           
net46            
xamarinios10     
xamarinmac20     
xamarintvos10    
xamarinwatchos10

none of which should (afaict) qualify for a .NET Core app. so the resolver is behaving correctly; this package simply doesn’t support .NET Core (yet).

i’ll add a warning message when this happens for top-level references (its common to happen for indirect ones, and i don’t wanna clutter the log with messages). But you should already be seeing this error message i the IDE:

aReference.MetaData["Error"] := String.Format("Package {0} has no deliverable for platform(s) {1}.", aReference.Name, Setting["NuGetPlatformName"].Value);

thanx,
marc