[SOLVED] Unable to start Squidex .Net project locally


#1

Hi,

I have cloned the latest version of the squidex repository and am attempting to run it locally.

All steps for the webpack dev server seems to run fine.

The dotnet restore step seems to run fine.

The dotnet run step fails with the following error:

/Users/richardprice/.nuget/packages/microsoft.orleans.orleanscodegenerator.build/2.1.0-beta1/build/Microsoft.Orleans.OrleansCodeGenerator.Build.targets(82,5): error MSB3073: The command ""/usr/local/share/dotnet/dotnet" "/Users/richardprice/.nuget/packages/microsoft.orleans.orleanscodegenerator.build/2.1.0-beta1/build/../tasks/netcoreapp2.0/Orleans.CodeGeneration.Build.dll" "@obj/Debug/netstandard2.0/codegen/Squidex.Infrastructure.orleans.g.args.txt"" exited with code 3. [/Users/richardprice/Code/squidex/src/Squidex.Infrastructure/Squidex.Infrastructure.csproj]

The build failed. Please fix the build errors and run again.

System info:

MacOS 10.13.6
.NET core 2.1.401
NPM 6.2.0
Node v10.9.0

Any suggestions?


#2

Can you give me the details, I need the build errors.


#3

Running a dotnet build specifically (which the docs dont tell you to do) results in the following:

dotnet build  20:07:16  ✘ 1
Microsoft ® Build Engine version 15.7.179.6572 for .NET Core
Copyright © Microsoft Corporation. All rights reserved.

Restore completed in 54.17 ms for /Users/richardprice/Code/squidex/src/Squidex.Domain.Apps.Events/Squidex.Domain.Apps.Events.csproj.
Restore completed in 54.14 ms for /Users/richardprice/Code/squidex/extensions/Squidex.Extensions/Squidex.Extensions.csproj.
Restore completed in 54.15 ms for /Users/richardprice/Code/squidex/src/Squidex.Domain.Apps.Core.Model/Squidex.Domain.Apps.Core.Model.csproj.
Restore completed in 54.16 ms for /Users/richardprice/Code/squidex/src/Squidex.Domain.Apps.Core.Operations/Squidex.Domain.Apps.Core.Operations.csproj.
Restore completed in 54.13 ms for /Users/richardprice/Code/squidex/src/Squidex.Domain.Apps.Entities.MongoDb/Squidex.Domain.Apps.Entities.MongoDb.csproj.
Restore completed in 54.12 ms for /Users/richardprice/Code/squidex/src/Squidex.Domain.Apps.Entities/Squidex.Domain.Apps.Entities.csproj.
Restore completed in 17.44 ms for /Users/richardprice/Code/squidex/src/Squidex.Infrastructure.Azure/Squidex.Infrastructure.Azure.csproj.
Restore completed in 17.82 ms for /Users/richardprice/Code/squidex/src/Squidex.Infrastructure.GetEventStore/Squidex.Infrastructure.GetEventStore.csproj.
Restore completed in 1.99 ms for /Users/richardprice/Code/squidex/src/Squidex.Infrastructure.GoogleCloud/Squidex.Infrastructure.GoogleCloud.csproj.
Restore completed in 2.17 ms for /Users/richardprice/Code/squidex/src/Squidex.Infrastructure.Redis/Squidex.Infrastructure.Redis.csproj.
Restore completed in 14.36 ms for /Users/richardprice/Code/squidex/src/Squidex.Domain.Users/Squidex.Domain.Users.csproj.
Restore completed in 16.59 ms for /Users/richardprice/Code/squidex/src/Squidex.Domain.Users.MongoDb/Squidex.Domain.Users.MongoDb.csproj.
Restore completed in 16.67 ms for /Users/richardprice/Code/squidex/src/Squidex.Shared/Squidex.Shared.csproj.
Restore completed in 16.59 ms for /Users/richardprice/Code/squidex/src/Squidex.Infrastructure/Squidex.Infrastructure.csproj.
Restore completed in 16.79 ms for /Users/richardprice/Code/squidex/src/Squidex.Infrastructure.RabbitMq/Squidex.Infrastructure.RabbitMq.csproj.
Restore completed in 3.22 ms for /Users/richardprice/Code/squidex/tools/Migrate_01/Migrate_01.csproj.
Restore completed in 1.56 ms for /Users/richardprice/Code/squidex/src/Squidex.Infrastructure.MongoDb/Squidex.Infrastructure.MongoDb.csproj.
Restore completed in 9.06 ms for /Users/richardprice/Code/squidex/src/Squidex/Squidex.csproj.
Squidex.Infrastructure -> /Users/richardprice/Code/squidex/src/Squidex.Infrastructure/bin/Debug/netstandard2.0/Squidex.Infrastructure.dll
Orleans-CodeGen - command-line = /Users/richardprice/.nuget/packages/microsoft.orleans.orleanscodegenerator.build/2.1.0-beta1/tasks/netcoreapp2.0/Orleans.CodeGeneration.Build.dll @obj/Debug/netstandard2.0/codegen/Squidex.Infrastructure.orleans.g.args.txt
Orleans-CodeGen - Reading code-gen params from file=obj/Debug/netstandard2.0/codegen/Squidex.Infrastructure.orleans.g.args.txt
Orleans-CodeGen - Options
InputLib=/Users/richardprice/Code/squidex/src/Squidex.Infrastructure/obj/Debug/netstandard2.0/codegen/Squidex.Infrastructure.dll
OutputFileName=/Users/richardprice/Code/squidex/src/Squidex.Infrastructure/obj/Debug/netstandard2.0/Squidex.Infrastructure.orleans.g.cs
Microsoft.DotNet.PlatformAbstractions.dll => /Users/richardprice/.nuget/packages/microsoft.dotnet.platformabstractions/2.0.0/lib/netstandard1.3/Microsoft.DotNet.PlatformAbstractions.dll
Microsoft.Extensions.Caching.Abstractions.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.caching.abstractions/2.1.2/lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll
Microsoft.Extensions.Configuration.Abstractions.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.configuration.abstractions/2.1.1/lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll
Microsoft.Extensions.Configuration.Binder.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.configuration.binder/2.1.1/lib/netstandard2.0/Microsoft.Extensions.Configuration.Binder.dll
Microsoft.Extensions.Configuration.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.configuration/2.1.1/lib/netstandard2.0/Microsoft.Extensions.Configuration.dll
Microsoft.Extensions.DependencyInjection.Abstractions.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.dependencyinjection.abstractions/2.1.1/lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll
Microsoft.Extensions.DependencyInjection.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/microsoft.extensions.dependencyinjection/2.0.0/lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll
Microsoft.Extensions.DependencyModel.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.dependencymodel/2.0.0/lib/netstandard1.6/Microsoft.Extensions.DependencyModel.dll
Microsoft.Extensions.Logging.Abstractions.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.logging.abstractions/2.1.1/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll
Microsoft.Extensions.Logging.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.logging/2.1.1/lib/netstandard2.0/Microsoft.Extensions.Logging.dll
Microsoft.Extensions.Options.ConfigurationExtensions.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/microsoft.extensions.options.configurationextensions/2.0.0/lib/netstandard2.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll
Microsoft.Extensions.Options.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.options/2.1.1/lib/netstandard2.0/Microsoft.Extensions.Options.dll
Microsoft.Extensions.Primitives.dll => /Users/richardprice/.nuget/packages/microsoft.extensions.primitives/2.1.1/lib/netstandard2.0/Microsoft.Extensions.Primitives.dll
Microsoft.Win32.Primitives.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll
mscorlib.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/mscorlib.dll
netstandard.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/netstandard.dll
Newtonsoft.Json.dll => /Users/richardprice/.nuget/packages/newtonsoft.json/11.0.2/lib/netstandard2.0/Newtonsoft.Json.dll
NodaTime.dll => /Users/richardprice/.nuget/packages/nodatime/2.4.0/lib/netstandard2.0/NodaTime.dll
Orleans.Core.Abstractions.dll => /Users/richardprice/.nuget/packages/microsoft.orleans.core.abstractions/2.1.0-beta1/lib/netstandard2.0/Orleans.Core.Abstractions.dll
Orleans.Core.dll => /Users/richardprice/.nuget/packages/microsoft.orleans.core/2.1.0-beta1/lib/netstandard2.0/Orleans.Core.dll
Orleans.Runtime.Abstractions.dll => /Users/richardprice/.nuget/packages/microsoft.orleans.runtime.abstractions/2.1.0-beta1/lib/netstandard2.0/Orleans.Runtime.Abstractions.dll
Orleans.Runtime.dll => /Users/richardprice/.nuget/packages/microsoft.orleans.orleansruntime/2.1.0-beta1/lib/netstandard2.0/Orleans.Runtime.dll
SixLabors.Core.dll => /Users/richardprice/.nuget/packages/sixlabors.core/1.0.0-beta0005/lib/netstandard1.1/SixLabors.Core.dll
SixLabors.ImageSharp.dll => /Users/richardprice/.nuget/packages/sixlabors.imagesharp/1.0.0-beta0004/lib/netstandard2.0/SixLabors.ImageSharp.dll
System.AppContext.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.AppContext.dll
System.Buffers.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/system.buffers/4.4.0/ref/netstandard2.0/System.Buffers.dll
System.Collections.Concurrent.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Collections.Concurrent.dll
System.Collections.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Collections.dll
System.Collections.Immutable.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/system.collections.immutable/1.4.0/lib/netstandard2.0/System.Collections.Immutable.dll
System.Collections.NonGeneric.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Collections.NonGeneric.dll
System.Collections.Specialized.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Collections.Specialized.dll
System.ComponentModel.Annotations.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/system.componentmodel.annotations/4.5.0/ref/netstandard2.0/System.ComponentModel.Annotations.dll
System.ComponentModel.Composition.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.Composition.dll
System.ComponentModel.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.dll
System.ComponentModel.EventBasedAsync.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll
System.ComponentModel.Primitives.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.Primitives.dll
System.ComponentModel.TypeConverter.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll
System.Console.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Console.dll
System.Core.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Core.dll
System.Data.Common.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Data.Common.dll
System.Data.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Data.dll
System.Diagnostics.Contracts.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Contracts.dll
System.Diagnostics.Debug.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Debug.dll
System.Diagnostics.FileVersionInfo.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll
System.Diagnostics.Process.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Process.dll
System.Diagnostics.StackTrace.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll
System.Diagnostics.TextWriterTraceListener.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll
System.Diagnostics.Tools.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Tools.dll
System.Diagnostics.TraceSource.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll
System.Diagnostics.Tracing.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Diagnostics.Tracing.dll
System.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.dll
System.Drawing.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Drawing.dll
System.Drawing.Primitives.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Drawing.Primitives.dll
System.Dynamic.Runtime.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Dynamic.Runtime.dll
System.Globalization.Calendars.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Globalization.Calendars.dll
System.Globalization.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Globalization.dll
System.Globalization.Extensions.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Globalization.Extensions.dll
System.IO.Compression.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.Compression.dll
System.IO.Compression.FileSystem.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll
System.IO.Compression.ZipFile.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll
System.IO.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.dll
System.IO.FileSystem.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.FileSystem.dll
System.IO.FileSystem.DriveInfo.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll
System.IO.FileSystem.Primitives.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll
System.IO.FileSystem.Watcher.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll
System.IO.IsolatedStorage.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.IsolatedStorage.dll
System.IO.MemoryMappedFiles.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll
System.IO.Pipes.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.Pipes.dll
System.IO.UnmanagedMemoryStream.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll
System.Linq.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Linq.dll
System.Linq.Expressions.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Linq.Expressions.dll
System.Linq.Parallel.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Linq.Parallel.dll
System.Linq.Queryable.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Linq.Queryable.dll
System.Memory.dll => /Users/richardprice/.nuget/packages/system.memory/4.5.1/ref/netstandard2.0/System.Memory.dll
System.Net.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.dll
System.Net.Http.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.Http.dll
System.Net.NameResolution.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.NameResolution.dll
System.Net.NetworkInformation.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.NetworkInformation.dll
System.Net.Ping.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.Ping.dll
System.Net.Primitives.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.Primitives.dll
System.Net.Requests.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.Requests.dll
System.Net.Security.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.Security.dll
System.Net.Sockets.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.Sockets.dll
System.Net.WebHeaderCollection.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll
System.Net.WebSockets.Client.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.WebSockets.Client.dll
System.Net.WebSockets.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Net.WebSockets.dll
System.Numerics.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Numerics.dll
System.Numerics.Vectors.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/system.numerics.vectors/4.4.0/ref/netstandard2.0/System.Numerics.Vectors.dll
System.ObjectModel.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ObjectModel.dll
System.Reactive.dll => /Users/richardprice/.nuget/packages/system.reactive/4.1.0/lib/netstandard2.0/System.Reactive.dll
System.Reflection.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Reflection.dll
System.Reflection.Emit.dll => /Users/richardprice/.nuget/packages/system.reflection.emit/4.3.0/ref/netstandard1.1/System.Reflection.Emit.dll
System.Reflection.Emit.ILGeneration.dll => /Users/richardprice/.nuget/packages/system.reflection.emit.ilgeneration/4.3.0/ref/netstandard1.0/System.Reflection.Emit.ILGeneration.dll
System.Reflection.Emit.Lightweight.dll => /Users/richardprice/.nuget/packages/system.reflection.emit.lightweight/4.3.0/ref/netstandard1.0/System.Reflection.Emit.Lightweight.dll
System.Reflection.Extensions.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Reflection.Extensions.dll
System.Reflection.Metadata.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/system.reflection.metadata/1.5.0/lib/netstandard2.0/System.Reflection.Metadata.dll
System.Reflection.Primitives.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Reflection.Primitives.dll
System.Reflection.TypeExtensions.dll => /Users/richardprice/.nuget/packages/system.reflection.typeextensions/4.5.1/ref/netstandard2.0/System.Reflection.TypeExtensions.dll
System.Resources.Reader.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Resources.Reader.dll
System.Resources.ResourceManager.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Resources.ResourceManager.dll
System.Resources.Writer.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Resources.Writer.dll
System.Runtime.CompilerServices.Unsafe.dll => /Users/richardprice/.nuget/packages/system.runtime.compilerservices.unsafe/4.5.1/ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll
System.Runtime.CompilerServices.VisualC.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll
System.Runtime.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.dll
System.Runtime.Extensions.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Extensions.dll
System.Runtime.Handles.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Handles.dll
System.Runtime.InteropServices.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.InteropServices.dll
System.Runtime.InteropServices.RuntimeInformation.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll
System.Runtime.InteropServices.WindowsRuntime.dll => /Users/richardprice/.nuget/packages/system.runtime.interopservices.windowsruntime/4.3.0/ref/netstandard1.0/System.Runtime.InteropServices.WindowsRuntime.dll
System.Runtime.Numerics.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Numerics.dll
System.Runtime.Serialization.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Serialization.dll
System.Runtime.Serialization.Formatters.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll
System.Runtime.Serialization.Json.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll
System.Runtime.Serialization.Primitives.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll
System.Runtime.Serialization.Xml.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll
System.Security.Claims.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Security.Claims.dll
System.Security.Cryptography.Algorithms.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll
System.Security.Cryptography.Csp.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll
System.Security.Cryptography.Encoding.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll
System.Security.Cryptography.Primitives.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll
System.Security.Cryptography.X509Certificates.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll
System.Security.Principal.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Security.Principal.dll
System.Security.SecureString.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Security.SecureString.dll
System.ServiceModel.Web.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ServiceModel.Web.dll
System.Text.Encoding.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Text.Encoding.dll
System.Text.Encoding.Extensions.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll
System.Text.RegularExpressions.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Text.RegularExpressions.dll
System.Threading.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.dll
System.Threading.Overlapped.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.Overlapped.dll
System.Threading.Tasks.Dataflow.dll => /Users/richardprice/.nuget/packages/system.threading.tasks.dataflow/4.9.0/lib/netstandard2.0/System.Threading.Tasks.Dataflow.dll
System.Threading.Tasks.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.Tasks.dll
System.Threading.Tasks.Extensions.dll => /Users/richardprice/.nuget/packages/system.threading.tasks.extensions/4.5.1/ref/netstandard2.0/System.Threading.Tasks.Extensions.dll
System.Threading.Tasks.Parallel.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll
System.Threading.Thread.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.Thread.dll
System.Threading.ThreadPool.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.ThreadPool.dll
System.Threading.Timer.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Threading.Timer.dll
System.Transactions.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Transactions.dll
System.ValueTuple.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.ValueTuple.dll
System.Web.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Web.dll
System.Windows.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Windows.dll
System.Xml.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Xml.dll
System.Xml.Linq.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Xml.Linq.dll
System.Xml.ReaderWriter.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Xml.ReaderWriter.dll
System.Xml.Serialization.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Xml.Serialization.dll
System.Xml.XDocument.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Xml.XDocument.dll
System.Xml.XmlDocument.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Xml.XmlDocument.dll
System.Xml.XmlSerializer.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Xml.XmlSerializer.dll
System.Xml.XPath.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Xml.XPath.dll
System.Xml.XPath.XDocument.dll => /usr/local/share/dotnet/sdk/NuGetFallbackFolder/netstandard.library/2.0.3/build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll
System.Xml.XPath.XmlDocument.dll => /Users/richardprice/.nuget/packages/system.xml.xpath.xmldocument/4.3.0/ref/netstandard1.3/System.Xml.XPath.XmlDocument.dll
Orleans-CodeGen - Generating file /Users/richardprice/Code/squidex/src/Squidex.Infrastructure/obj/Debug/netstandard2.0/Squidex.Infrastructure.orleans.g.cs


#4

warn: Orleans.CodeGenerator.RoslynCodeGenerator[101723]
Exception loading types from assembly ‘Squidex.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’:
Exc level 0: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Orleans.Runtime.TypeUtils.GetDefinedTypes(Assembly assembly, ILogger logger)
Exc level 1: System.IO.FileNotFoundException: Could not load file or assembly ‘System.Threading.Tasks.Dataflow, Version=4.6.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified.
.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Orleans.Runtime.TypeUtils.GetDefinedTypes(Assembly assembly, ILogger logger)
warn: Orleans.CodeGenerator.RoslynCodeGenerator[101723]
Exception loading types from assembly ‘Squidex.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’:
Exc level 0: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Orleans.Runtime.TypeUtils.GetDefinedTypes(Assembly assembly, ILogger logger)
Exc level 1: System.IO.FileNotFoundException: Could not load file or assembly ‘System.Threading.Tasks.Dataflow, Version=4.6.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified.
.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Orleans.Runtime.TypeUtils.GetDefinedTypes(Assembly assembly, ILogger logger)
warn: Orleans.CodeGenerator.RoslynCodeGenerator[101723]
Exception loading types from assembly ‘SixLabors.ImageSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’:
Exc level 0: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Orleans.Runtime.TypeUtils.GetDefinedTypes(Assembly assembly, ILogger logger)
Exc level 1: System.BadImageFormatException: Could not load file or assembly ‘System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (Exception from HRESULT: 0x80131058)
Exc level 2: System.BadImageFormatException: Cannot load a reference assembly for execution…
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Orleans.Runtime.TypeUtils.GetDefinedTypes(Assembly assembly, ILogger logger)
– Code Generation FAILED –

Exc level 0: System.IO.FileNotFoundException: Could not load file or assembly ‘System.Threading.Tasks.Extensions, Version=4.2.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. The system cannot find the file specified.

 at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
 at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
 at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
 at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
 at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
 at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
 at System.Attribute.GetCustomAttributes(MemberInfo element, Type type, Boolean inherit)
 at System.Attribute.GetCustomAttribute(MemberInfo element, Type attributeType, Boolean inherit)
 at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](MemberInfo element)
 at Orleans.CodeGenerator.RoslynCodeGenerator.AddSerializationTypes(SerializationTypeDescriptions serializationTypes, Assembly targetAssembly, List`1 assemblies)
 at Orleans.CodeGenerator.RoslynCodeGenerator.GenerateCode(Assembly targetAssembly, List`1 assemblies)
 at Orleans.CodeGenerator.RoslynCodeGenerator.GenerateSourceForAssembly(Assembly input)
 at Orleans.CodeGeneration.CodeGenerator.GenerateSourceForAssembly(Assembly grainAssembly, LogLevel logLevel)
 at Orleans.CodeGeneration.CodeGenerator.GenerateCodeInternal(CodeGenOptions options)
 at Orleans.CodeGeneration.CodeGenerator.GenerateCode(CodeGenOptions options)
 at Orleans.CodeGeneration.Program.Main(String[] args)

/Users/richardprice/.nuget/packages/microsoft.orleans.orleanscodegenerator.build/2.1.0-beta1/build/Microsoft.Orleans.OrleansCodeGenerator.Build.targets(82,5): error MSB3073: The command “”/usr/local/share/dotnet/dotnet" “/Users/richardprice/.nuget/packages/microsoft.orleans.orleanscodegenerator.build/2.1.0-beta1/build/…/tasks/netcoreapp2.0/Orleans.CodeGeneration.Build.dll” “@obj/Debug/netstandard2.0/codegen/Squidex.Infrastructure.orleans.g.args.txt”" exited with code 3. [/Users/richardprice/Code/squidex/src/Squidex.Infrastructure/Squidex.Infrastructure.csproj]

Build FAILED.

/Users/richardprice/.nuget/packages/microsoft.orleans.orleanscodegenerator.build/2.1.0-beta1/build/Microsoft.Orleans.OrleansCodeGenerator.Build.targets(82,5): error MSB3073: The command “”/usr/local/share/dotnet/dotnet" “/Users/richardprice/.nuget/packages/microsoft.orleans.orleanscodegenerator.build/2.1.0-beta1/build/…/tasks/netcoreapp2.0/Orleans.CodeGeneration.Build.dll” “@obj/Debug/netstandard2.0/codegen/Squidex.Infrastructure.orleans.g.args.txt”" exited with code 3. [/Users/richardprice/Code/squidex/src/Squidex.Infrastructure/Squidex.Infrastructure.csproj]
0 Warning(s)
1 Error(s)

Time Elapsed 00:00:09.64


#5

I have no idea what it is. It works on my machine and the build server


#6

Also having this issue after updating. Is there a specific version of dotnetcore that needs to be installed now?


#7

I have .NET SDK 2.1.401 installed


#8

This is working for me now, I had to uninstall all previous versions of .NetCore SDK and runtimes so that I only have 2.1.401 SDK and 2.1.3 runtime.


#9

Great and “Damn!”…but there is not so much I can do about it. There is a new code generator in the pipeline for Orleans.


#10

Hi, I can confirm that Dereks solution worked for me in that the project now builds and runs (and I did a fresh clone, although Im not sure if this helped at all), although I am now having further issues:

  1. The documentation (https://docs.squidex.io/getting-started/01-developing) says to open http://localhost:5000, which just gives me a 404 with the following output from the dotnet run console:

    {
    “logLevel”: “Information”,
    “elapsedRequestMs”: 0,
    “app”: {
    “name”: “Squidex”,
    “version”: “1.0.0.0”,
    “sessionId”: “6123afc9-5e4f-42a7-ace8-3b91fc16506f”
    },
    “web”: {
    “requestId”: “2f3a8637-f8d7-4da8-9165-140ed60a8414”,
    “requestPath”: “/build/index.html”,
    “requestMethod”: “GET”
    },
    “timestamp”: “2018-09-08T06:23:40.6286240Z”
    }

  2. If I run http://localhost:3000 instead, I get a page with a “Login to Squidex” button and some text underneath it saying a new window will open. If I click on this button, a new window does indeed pop up but immediately closes. Chrome developer tools suggests the request made is to http://localhost:3000/identity-server/.well-known/openid-configuration, and a console error is generated saying Error parsing JSON response Unexpected token < in JSON at position 0.

Any ideas?

Regards
Richard


#11

Fetching tag v1.10.0 doesnt resolve anything.


#12

Please check the hosting environment: https://andrewlock.net/how-to-set-the-hosting-environment-in-asp-net-core/

It should be set to Development and I thought the SDK does it.


#13

The SDK assumes “production” by default (meaning, no ASPNETCORE_ENVIRONMENT variable is set).

Setting the environment to development does indeed get me to a working Squidex install! Thanks :slight_smile:


#14

Interesting, perhaps it is Visual Studio that sets it to Development, never had this problem. Will add it to the docs.


#15

I pushed a new version with the new Orleans Code generator. It should fix the problem with the SDK. Can you test it out?

EDIT: Does not work, a bug in the Orleans Code Generator. Hopefully it will be fixed soon.


#16

It is finally fixed with RC2