Running HelloWeb on OS X 10.10.2: Could not load file or assembly 'Microsoft.Framework.ConfigurationModel.IConfiguration'
I've been trying to run the HelloWeb sample on OS X 10.10.2 but get the exception:
$ k kestrel
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Framework.ConfigurationModel.IConfiguration, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Output from kpm restore and k kestrel
$ kpm restore
Restoring packages for /Users/heli/Work/git/aspnet-Home/samples/HelloWeb/project.json
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Kestrel'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Diagnostics'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Hosting'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.WebListener'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.StaticFiles'.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Hosting' 1095ms
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Hosting/1.0.0-beta1.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Kestrel' 1157ms
GET https://www.nuget.org/api/v2/package/Kestrel/1.0.0-beta1.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.StaticFiles' 1139ms
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.StaticFiles/1.0.0-beta1.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.WebListener' 1213ms
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Server.WebListener/1.0.0-beta1.
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.Hosting/1.0.0-beta1 651ms
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.StaticFiles/1.0.0-beta1 626ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.FeatureModel'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.FileSystems'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Http'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.PipelineCore'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Http.Extensions'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Security.DataProtection'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Collections'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.ConfigurationModel'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.Contracts'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.DependencyInjection'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.Debug'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.Logging'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.Tools'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.OptionsModel'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Globalization'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Newtonsoft.Json'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.IO'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Linq'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.ComponentModel'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Console'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Resources.ResourceManager'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime.Extensions'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime.InteropServices'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Text.Encoding'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Tasks'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading'.
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.Server.WebListener/1.0.0-beta1 795ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Net.Http.Server'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Net.WebSocketAbstractions'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Win32.Primitives'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Collections.Concurrent'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Net.Primitives'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime.Handles'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Claims'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.X509Certificates'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Principal'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Text.Encoding.Extensions'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Overlapped'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.ThreadPool'.
OK https://www.nuget.org/api/v2/package/Kestrel/1.0.0-beta1 1463ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.Kestrel'.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Console' 1091ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Text.Encoding' 1193ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime.Extensions' 1238ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading' 1698ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Text.Encoding.Extensions' 1673ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Principal' 1727ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Overlapped' 2014ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.ComponentModel' 2727ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.FileSystems' 8767ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.OptionsModel' 9267ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.PipelineCore' 9792ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Http' 10279ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.FeatureModel' 16330ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.ThreadPool' 16646ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.Logging' 17386ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Diagnostics' 19661ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime.InteropServices' 23876ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.Kestrel' 23624ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Resources.ResourceManager' 24882ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.X509Certificates' 30718ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection' 31417ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime' 31914ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Newtonsoft.Json' 37948ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Tasks' 38448ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Claims' 44294ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.IO' 44991ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Globalization' 45495ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Win32.Primitives' 45807ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.Contracts' 52046ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Http.Extensions' 52551ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Linq' 53050ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Security.DataProtection' 59094ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Collections.Concurrent' 59402ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Collections' 65630ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Net.Http.Server' 65940ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.DependencyInjection' 66635ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.Debug' 67138ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.ConfigurationModel' 67642ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Net.WebSocketAbstractions' 67953ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Net.Primitives' 68455ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Runtime.Handles' 68959ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.Tools' 69655ms
GET https://www.nuget.org/api/v2/package/System.Text.Encoding/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Console/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Linq/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Security.Principal/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Threading.ThreadPool/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Runtime.InteropServices/4.0.20-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Threading/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Collections.Concurrent/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Security.Claims/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.PipelineCore/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Http/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.FeatureModel/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/Microsoft.Net.WebSocketAbstractions/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/System.Diagnostics.Tools/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Threading.Overlapped/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Resources.ResourceManager/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Collections/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Runtime.Handles/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Diagnostics/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Server.Kestrel/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/Microsoft.Net.Http.Server/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/System.Runtime.Extensions/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Reflection/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/System.IO/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/Microsoft.Win32.Primitives/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Runtime/4.0.20-beta-22231.
GET https://www.nuget.org/api/v2/package/Microsoft.Framework.ConfigurationModel/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/System.Net.Primitives/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Globalization/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Security.DataProtection/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/System.Security.Cryptography.X509Certificates/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/Microsoft.Framework.DependencyInjection/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/Microsoft.Framework.Logging/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.Http.Extensions/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/System.Diagnostics.Debug/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Diagnostics.Contracts/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/System.Text.Encoding.Extensions/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/Microsoft.Framework.OptionsModel/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/Newtonsoft.Json/6.0.6.
GET https://www.nuget.org/api/v2/package/System.ComponentModel/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.FileSystems/1.0.0-beta1.
GET https://www.nuget.org/api/v2/package/System.Threading.Tasks/4.0.10-beta-22231.
OK https://www.nuget.org/api/v2/package/System.Security.Principal/4.0.0-beta-22231 374ms
OK https://www.nuget.org/api/v2/package/Microsoft.Net.WebSocketAbstractions/1.0.0-beta1 373ms
OK https://www.nuget.org/api/v2/package/System.Linq/4.0.0-beta-22231 401ms
OK https://www.nuget.org/api/v2/package/System.Diagnostics.Tools/4.0.0-beta-22231 396ms
OK https://www.nuget.org/api/v2/package/System.Threading/4.0.0-beta-22231 409ms
OK https://www.nuget.org/api/v2/package/System.Runtime.Handles/4.0.0-beta-22231 430ms
OK https://www.nuget.org/api/v2/package/System.Runtime.InteropServices/4.0.20-beta-22231 441ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection.Primitives'.
OK https://www.nuget.org/api/v2/package/System.Security.Claims/4.0.0-beta-22231 436ms
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.Http/1.0.0-beta1 443ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Globalization.Extensions'.
OK https://www.nuget.org/api/v2/package/System.Collections/4.0.10-beta-22231 471ms
OK https://www.nuget.org/api/v2/package/System.ComponentModel/4.0.0-beta-22231 385ms
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.FileSystems/1.0.0-beta1 381ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.IO.FileSystem'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection.Extensions'.
OK https://www.nuget.org/api/v2/package/System.Console/4.0.0-beta-22231 509ms
OK https://www.nuget.org/api/v2/package/System.Runtime.Extensions/4.0.10-beta-22231 493ms
OK https://www.nuget.org/api/v2/package/Microsoft.Win32.Primitives/4.0.0-beta-22231 507ms
OK https://www.nuget.org/api/v2/package/System.Globalization/4.0.10-beta-22231 511ms
OK https://www.nuget.org/api/v2/package/System.Collections.Concurrent/4.0.0-beta-22231 534ms
OK https://www.nuget.org/api/v2/package/System.Diagnostics.Contracts/4.0.0-beta-22231 520ms
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.PipelineCore/1.0.0-beta1 550ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.HttpFeature'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.WebUtilities'.
OK https://www.nuget.org/api/v2/package/System.Runtime/4.0.20-beta-22231 552ms
OK https://www.nuget.org/api/v2/package/System.IO/4.0.10-beta-22231 562ms
OK https://www.nuget.org/api/v2/package/System.Text.Encoding.Extensions/4.0.10-beta-22231 561ms
OK https://www.nuget.org/api/v2/package/System.Threading.Tasks/4.0.10-beta-22231 481ms
OK https://www.nuget.org/api/v2/package/System.Threading.Overlapped/4.0.0-beta-22231 595ms
OK https://www.nuget.org/api/v2/package/Microsoft.Framework.OptionsModel/1.0.0-beta1 594ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Globalization.Extensions' 167ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection.Primitives' 179ms
GET https://www.nuget.org/api/v2/package/System.Reflection.Primitives/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/Microsoft.Framework.ConfigurationModel/1.0.0-beta1 607ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection.TypeExtensions'.
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.FeatureModel/1.0.0-beta1 646ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.IO.FileSystem' 162ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.Runtime.Interfaces'.
GET https://www.nuget.org/api/v2/package/System.IO.FileSystem/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/Microsoft.Framework.DependencyInjection/1.0.0-beta1 651ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Linq.Expressions'.
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.Security.DataProtection/1.0.0-beta1 676ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Win32.Registry'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Encryption'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Encryption.Aes'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Hashing.Algorithms'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.RandomNumberGenerator'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Principal.Windows'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Xml.XDocument'.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.WebUtilities' 157ms
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebUtilities/1.0.0-beta1.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.HttpFeature' 159ms
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.HttpFeature/1.0.0-beta1.
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.Server.Kestrel/1.0.0-beta1 709ms
GET https://www.nuget.org/api/v2/package/System.Globalization.Extensions/4.0.0-beta-22231.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Thread'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.TraceSource'.
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.Tracing'.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection.Extensions' 278ms
GET https://www.nuget.org/api/v2/package/System.Reflection.Extensions/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Reflection.TypeExtensions' 161ms
GET https://www.nuget.org/api/v2/package/System.Reflection.TypeExtensions/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Linq.Expressions' 155ms
GET https://www.nuget.org/api/v2/package/System.Linq.Expressions/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Win32.Registry' 155ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Xml.XDocument' 156ms
GET https://www.nuget.org/api/v2/package/System.Xml.XDocument/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/System.Resources.ResourceManager/4.0.0-beta-22231 851ms
OK https://www.nuget.org/api/v2/package/System.Reflection.Primitives/4.0.0-beta-22231 246ms
OK https://www.nuget.org/api/v2/package/System.Diagnostics.Debug/4.0.10-beta-22231 851ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Hashing.Algorithms' 184ms
GET https://www.nuget.org/api/v2/package/System.Security.Cryptography.Hashing.Algorithms/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Principal.Windows' 185ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.TraceSource' 164ms
GET https://www.nuget.org/api/v2/package/System.Diagnostics.TraceSource/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/System.Threading.ThreadPool/4.0.10-beta-22231 900ms
OK https://www.nuget.org/api/v2/package/Microsoft.Framework.Logging/1.0.0-beta1 894ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.Logging.Interfaces'.
OK https://www.nuget.org/api/v2/package/System.Reflection/4.0.10-beta-22231 911ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.Runtime.Interfaces' 272ms
GET https://www.nuget.org/api/v2/package/Microsoft.Framework.Runtime.Interfaces/1.0.0-beta1.
OK https://www.nuget.org/api/v2/package/System.Security.Cryptography.X509Certificates/4.0.0-beta-22231 921ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Encoding'.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.RandomNumberGenerator' 248ms
GET https://www.nuget.org/api/v2/package/System.Security.Cryptography.RandomNumberGenerator/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Diagnostics.Tracing' 226ms
GET https://www.nuget.org/api/v2/package/System.Diagnostics.Tracing/4.0.10-beta-22231.
GET https://www.nuget.org/api/v2/package/Microsoft.Win32.Registry/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Encryption.Aes' 272ms
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.Http.Extensions/1.0.0-beta1 946ms
GET https://www.nuget.org/api/v2/package/System.Security.Principal.Windows/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/System.Net.Primitives/4.0.10-beta-22231 971ms
OK https://www.nuget.org/api/v2/package/Microsoft.Net.Http.Server/1.0.0-beta1 975ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Net.WebSockets'.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Thread' 278ms
GET https://www.nuget.org/api/v2/package/System.Threading.Thread/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/System.IO.FileSystem/4.0.0-beta-22231 363ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.IO.FileSystem.Primitives'.
OK https://www.nuget.org/api/v2/package/System.Text.Encoding/4.0.10-beta-22231 1027ms
OK https://www.nuget.org/api/v2/package/System.Reflection.Extensions/4.0.0-beta-22231 252ms
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.Diagnostics/1.0.0-beta1 1025ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.RequestContainer'.
GET https://www.nuget.org/api/v2/package/System.Security.Cryptography.Encryption.Aes/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Framework.Logging.Interfaces' 167ms
GET https://www.nuget.org/api/v2/package/Microsoft.Framework.Logging.Interfaces/1.0.0-beta1.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Encryption' 392ms
GET https://www.nuget.org/api/v2/package/System.Security.Cryptography.Encryption/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.HttpFeature/1.0.0-beta1 387ms
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebUtilities/1.0.0-beta1 440ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.Net.WebSockets' 177ms
GET https://www.nuget.org/api/v2/package/Microsoft.Net.WebSockets/1.0.0-beta1.
OK https://www.nuget.org/api/v2/package/System.Reflection.TypeExtensions/4.0.0-beta-22231 386ms
OK https://www.nuget.org/api/v2/package/Microsoft.Framework.Runtime.Interfaces/1.0.0-beta1 249ms
OK https://www.nuget.org/api/v2/package/Newtonsoft.Json/6.0.6 1164ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Encoding' 255ms
GET https://www.nuget.org/api/v2/package/System.Security.Cryptography.Encoding/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/System.Linq.Expressions/4.0.0-beta-22231 364ms
OK https://www.nuget.org/api/v2/package/System.Security.Cryptography.Hashing.Algorithms/4.0.0-beta-22231 319ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Hashing'.
OK https://www.nuget.org/api/v2/package/System.Xml.XDocument/4.0.0-beta-22231 365ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Xml.ReaderWriter'.
OK https://www.nuget.org/api/v2/package/Microsoft.Win32.Registry/4.0.0-beta-22231 277ms
OK https://www.nuget.org/api/v2/package/System.Diagnostics.TraceSource/4.0.0-beta-22231 370ms
OK https://www.nuget.org/api/v2/package/System.Security.Cryptography.RandomNumberGenerator/4.0.0-beta-22231 338ms
OK https://www.nuget.org/api/v2/package/System.Diagnostics.Tracing/4.0.10-beta-22231 335ms
OK https://www.nuget.org/api/v2/package/System.Globalization.Extensions/4.0.0-beta-22231 575ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.RequestContainer' 278ms
GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.RequestContainer/1.0.0-beta1.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.IO.FileSystem.Primitives' 302ms
GET https://www.nuget.org/api/v2/package/System.IO.FileSystem.Primitives/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Security.Cryptography.Hashing' 165ms
GET https://www.nuget.org/api/v2/package/System.Security.Cryptography.Hashing/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/System.Threading.Thread/4.0.0-beta-22231 374ms
OK https://www.nuget.org/api/v2/package/System.Security.Cryptography.Encryption.Aes/4.0.0-beta-22231 316ms
OK https://www.nuget.org/api/v2/package/System.Security.Principal.Windows/4.0.0-beta-22231 432ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Xml.ReaderWriter' 232ms
GET https://www.nuget.org/api/v2/package/System.Xml.ReaderWriter/4.0.10-beta-22231.
OK https://www.nuget.org/api/v2/package/Microsoft.Framework.Logging.Interfaces/1.0.0-beta1 374ms
OK https://www.nuget.org/api/v2/package/System.Security.Cryptography.Encoding/4.0.0-beta-22231 312ms
OK https://www.nuget.org/api/v2/package/System.IO.FileSystem.Primitives/4.0.0-beta-22231 217ms
OK https://www.nuget.org/api/v2/package/Microsoft.Net.WebSockets/1.0.0-beta1 377ms
GET https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Timer'.
OK https://www.nuget.org/api/v2/package/Microsoft.AspNet.RequestContainer/1.0.0-beta1 313ms
OK https://www.nuget.org/api/v2/package/System.Security.Cryptography.Hashing/4.0.0-beta-22231 312ms
OK https://www.nuget.org/api/v2/FindPackagesById()?Id='System.Threading.Timer' 224ms
GET https://www.nuget.org/api/v2/package/System.Threading.Timer/4.0.0-beta-22231.
OK https://www.nuget.org/api/v2/package/System.Xml.ReaderWriter/4.0.10-beta-22231 362ms
OK https://www.nuget.org/api/v2/package/System.Security.Cryptography.Encryption/4.0.0-beta-22231 803ms
OK https://www.nuget.org/api/v2/package/System.Threading.Timer/4.0.0-beta-22231 329ms
Resolving complete, 74528ms elapsed
Installing Kestrel 1.0.0-beta1
Installing Microsoft.AspNet.Server.Kestrel 1.0.0-beta1
Installing Microsoft.AspNet.StaticFiles 1.0.0-beta1
Installing Microsoft.AspNet.Http 1.0.0-beta1
Installing Microsoft.AspNet.FileSystems 1.0.0-beta1
Installing Microsoft.AspNet.Http.Extensions 1.0.0-beta1
Installing Microsoft.Framework.DependencyInjection 1.0.0-beta1
Installing Microsoft.Framework.ConfigurationModel 1.0.0-beta1
Installing Microsoft.AspNet.Hosting 1.0.0-beta1
Installing Microsoft.Framework.OptionsModel 1.0.0-beta1
Installing Microsoft.AspNet.Security.DataProtection 1.0.0-beta1
Installing Microsoft.AspNet.PipelineCore 1.0.0-beta1
Installing Microsoft.AspNet.HttpFeature 1.0.0-beta1
Installing Microsoft.AspNet.WebUtilities 1.0.0-beta1
Installing Microsoft.AspNet.FeatureModel 1.0.0-beta1
Installing Microsoft.Framework.Runtime.Interfaces 1.0.0-beta1
Installing Newtonsoft.Json 6.0.6
Installing Microsoft.Framework.Logging 1.0.0-beta1
Installing Microsoft.Framework.Logging.Interfaces 1.0.0-beta1
Installing Microsoft.AspNet.Server.WebListener 1.0.0-beta1
Installing Microsoft.Net.WebSocketAbstractions 1.0.0-beta1
Installing Microsoft.Net.Http.Server 1.0.0-beta1
Installing Microsoft.Net.WebSockets 1.0.0-beta1
Installing Microsoft.AspNet.Diagnostics 1.0.0-beta1
Installing Microsoft.AspNet.RequestContainer 1.0.0-beta1
Installing System.Runtime 4.0.20-beta-22231
Installing System.Threading.Tasks 4.0.10-beta-22231
Installing System.Collections 4.0.10-beta-22231
Installing System.IO 4.0.10-beta-22231
Installing System.Linq 4.0.0-beta-22231
Installing System.Runtime.Extensions 4.0.10-beta-22231
Installing System.Threading 4.0.0-beta-22231
Installing System.Globalization 4.0.10-beta-22231
Installing System.Diagnostics.Debug 4.0.10-beta-22231
Installing System.Threading.ThreadPool 4.0.10-beta-22231
Installing System.Runtime.InteropServices 4.0.20-beta-22231
Installing System.Runtime.Handles 4.0.0-beta-22231
Installing System.Reflection.Primitives 4.0.0-beta-22231
Installing System.Reflection 4.0.10-beta-22231
Installing System.Net.Primitives 4.0.10-beta-22231
Installing System.Text.Encoding 4.0.10-beta-22231
Installing System.Diagnostics.TraceSource 4.0.0-beta-22231
Installing System.Diagnostics.Tracing 4.0.10-beta-22231
Installing System.Threading.Thread 4.0.0-beta-22231
Installing System.Diagnostics.Tools 4.0.0-beta-22231
Installing System.Diagnostics.Contracts 4.0.0-beta-22231
Installing System.Resources.ResourceManager 4.0.0-beta-22231
Installing System.Security.Claims 4.0.0-beta-22231
Installing System.Security.Principal 4.0.0-beta-22231
Installing System.ComponentModel 4.0.0-beta-22231
Installing System.Globalization.Extensions 4.0.0-beta-22231
Installing System.Reflection.Extensions 4.0.0-beta-22231
Installing System.IO.FileSystem 4.0.0-beta-22231
Installing System.IO.FileSystem.Primitives 4.0.0-beta-22231
Installing System.Reflection.TypeExtensions 4.0.0-beta-22231
Installing System.Collections.Concurrent 4.0.0-beta-22231
Installing System.Linq.Expressions 4.0.0-beta-22231
Installing System.Security.Cryptography.X509Certificates 4.0.0-beta-22231
Installing System.Security.Cryptography.Encoding 4.0.0-beta-22231
Installing System.Security.Cryptography.Encryption 4.0.0-beta-22231
Installing System.Console 4.0.0-beta-22231
Installing System.Text.Encoding.Extensions 4.0.10-beta-22231
Installing Microsoft.Win32.Registry 4.0.0-beta-22231
Installing System.Security.Cryptography.RandomNumberGenerator 4.0.0-beta-22231
Installing System.Security.Cryptography.Encryption.Aes 4.0.0-beta-22231
Installing System.Security.Principal.Windows 4.0.0-beta-22231
Installing System.Security.Cryptography.Hashing.Algorithms 4.0.0-beta-22231
Installing System.Security.Cryptography.Hashing 4.0.0-beta-22231
Installing System.Xml.XDocument 4.0.0-beta-22231
Installing System.Xml.ReaderWriter 4.0.10-beta-22231
Installing Microsoft.Win32.Primitives 4.0.0-beta-22231
Installing System.Threading.Overlapped 4.0.0-beta-22231
Installing System.Threading.Timer 4.0.0-beta-22231
Restore complete, 74861ms elapsed
$ k kestrel
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Framework.ConfigurationModel.IConfiguration, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'Microsoft.Framework.ConfigurationModel.IConfiguration, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
$ kvm list
Active Version Runtime Location Alias
------ ------- ------- -------- -----
* 1.0.0-beta3-11021 mono ~/.k/runtimes default
aspnet/Home#269 Also refers to this error but that was due to running k web on OS X.
I happen to have the very same problem with beta3-11021 on OSX Yosemite. Updating project.json to use vX.Y.Z-* instead of v.X.Y.Z-betaSTH doesn't change anything. Trying to install an older beta via kvm install 1.0.0-beta2 or something like that always resulted in
kvm install 1.0.0-beta2
Downloading kre-mono.1.0.0-beta2 from https://www.myget.org/F/aspnetrelease/api/v2
kre-mono.1.0.0-beta2 was not found in repository https://www.myget.org/F/aspnetrelease/api/v2
Mono:
mono --version
Mono JIT compiler version 3.12.0 (tarball Wed Jan 28 15:32:29 GMT 2015)
I have the same problem and I tried the same options but the problem still exists.
you are using KRE beta3 with beta1 bits of packages. Can you restore the packages from the myget/aspnetrelease feed which will restore beta3 packages and then see if the error reproduces ?
The same problem
As shown on main page... "All the component packages are available on Nuget. To try out the latest bits under development switch to the dev branch of the Home repo and use the dev feed in Nuget.config (https://www.myget.org/F/aspnetvnext)."
Create a NuGet.config on the root of your application. kpm try to read it before go to the root config. The config should looks like:
<configuration>
<packageSources>
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext" />
<add key="NuGet.org" value="https://www.myget.org/F/aspnetvnext" />
</packageSources>
<packageSourceCredentials>
<AspNetVNext>
<add key="Username" value="aspnetreadonly" />
<add key="ClearTextPassword" value="4d8a2d9c-7b80-4162-9978-47e918c9658c" />
</AspNetVNext>
</packageSourceCredentials>
</configuration>
Sorry guys, I typed the myget URL twice, here is the real config file.
<configuration>
<packageSources>
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetrelease/" />
<add key="NuGet.org" value="https://nuget.org/api/v2/" />
</packageSources>
<packageSourceCredentials>
<AspNetVNext>
<add key="Username" value="aspnetreadonly" />
<add key="ClearTextPassword" value="4d8a2d9c-7b80-4162-9978-47e918c9658c" />
</AspNetVNext>
</packageSourceCredentials>
</configuration>
Also, check on yout project.json for your dependencies... If youre referencing beta1 there, it wont work:
"dependencies": {
"Microsoft.AspNet.Server.IIS":"1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.AspNet.Security.Cookies": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
"Microsoft.AspNet.StaticFiles": "1.0.0-*",
"Kestrel": "1.0.0-*"
},
Updating project.json and adding the nuget.config file fixed the problem for me. I can now run the web app.
During restore, though, I received:
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Abort trap: 6
Trace below:
stacktrace:
Native stacktrace:
Debug info from gdb:
OK https://nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Server.WebListener' 2035ms
OK https://nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Hosting' 2036ms
OK https://nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.StaticFiles' 2093ms
OK https://nuget.org/api/v2/FindPackagesById()?Id='Microsoft.AspNet.Diagnostics' 2780ms
(lldb) command source -s 0 '/tmp/mono-gdb-commands.CKcioA'
Executing commands in '/private/tmp/mono-gdb-commands.CKcioA'.
(lldb) process attach --pid 15026
Process 15026 stopped
Executable module set to "/usr/local/bin/mono".
Architecture set to: x86_64-apple-macosx.
(lldb) thread list
Process 15026 stopped
* thread #1: tid = 0xba656, 0x00007fff8ad5d716 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0xba65d, 0x00007fff8ad59a56 libsystem_kernel.dylib`semaphore_wait_trap + 10
thread #3: tid = 0xba65e, 0x00007fff8ad5e662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
thread #4: tid = 0xba65f, 0x00007fff8ad5de6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #5: tid = 0xba660, 0x00007fff8ad5de6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #6: tid = 0xba661, 0x00007fff8ad5de6a libsystem_kernel.dylib`__workq_kernreturn + 10
thread #7: tid = 0xba667, 0x00007fff8ad5d716 libsystem_kernel.dylib`__psynch_cvwait + 10
thread #8: tid = 0xba668, 0x00007fff8ad5da3a libsystem_kernel.dylib`__semwait_signal + 10
thread #9: tid = 0xba669, 0x00007fff8ad5de22 libsystem_kernel.dylib`__wait4 + 10
thread #10: tid = 0xba66e, 0x00007fff8ad5d9aa libsystem_kernel.dylib`__select + 10
thread #11: tid = 0xba66f, 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
thread #12: tid = 0xba670, 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
thread #13: tid = 0xba672, 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
thread #14: tid = 0xba681, 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
(lldb) thread backtrace all
* thread #1: tid = 0xba656, 0x00007fff8ad5d716 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff8ad5d716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff84bf8c3b libsystem_pthread.dylib`_pthread_cond_wait + 727
frame #2: 0x000000010c69d3a6 mono`_wapi_handle_timedwait_signal_handle + 512
frame #3: 0x000000010c6ab926 mono`WaitForSingleObjectEx + 487
frame #4: 0x000000010c62e38f mono`mono_wait_uninterrupted + 104
frame #5: 0x000000010c62e567 mono`ves_icall_System_Threading_WaitHandle_WaitOne_internal + 78
frame #6: 0x000000010f32d7a4
frame #7: 0x000000010f680c16
frame #8: 0x000000010f680504
frame #9: 0x000000010efe5990
frame #10: 0x000000010c4d0e85 mono`mono_jit_runtime_invoke + 1465
frame #11: 0x000000010c6501a6 mono`mono_runtime_invoke + 110
frame #12: 0x000000010c655aff mono`mono_runtime_invoke_array + 873
frame #13: 0x000000010c5e33a8 mono`ves_icall_InternalInvoke + 697
frame #14: 0x000000010ef0bce4
frame #15: 0x000000010ef0b87b
thread #2: tid = 0xba65d, 0x00007fff8ad59a56 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #0: 0x00007fff8ad59a56 libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x000000010c6b77ba mono`mono_sem_wait + 20
frame #2: 0x000000010c64dc96 mono`finalizer_thread + 114
frame #3: 0x000000010c632464 mono`start_wrapper + 412
frame #4: 0x000000010c6bc5b8 mono`inner_start_thread + 208
frame #5: 0x00007fff84bf6899 libsystem_pthread.dylib`_pthread_body + 138
frame #6: 0x00007fff84bf672a libsystem_pthread.dylib`_pthread_start + 137
frame #7: 0x00007fff84bfafc9 libsystem_pthread.dylib`thread_start + 13
thread #3: tid = 0xba65e, 0x00007fff8ad5e662 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x00007fff8ad5e662 libsystem_kernel.dylib`kevent64 + 10
frame #1: 0x00007fff851b9421 libdispatch.dylib`_dispatch_mgr_invoke + 239
frame #2: 0x00007fff851b9136 libdispatch.dylib`_dispatch_mgr_thread + 52
thread #4: tid = 0xba65f, 0x00007fff8ad5de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff8ad5de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff84bf7f08 libsystem_pthread.dylib`_pthread_wqthread + 330
frame #2: 0x00007fff84bfafb9 libsystem_pthread.dylib`start_wqthread + 13
thread #5: tid = 0xba660, 0x00007fff8ad5de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff8ad5de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff84bf7f08 libsystem_pthread.dylib`_pthread_wqthread + 330
frame #2: 0x00007fff84bfafb9 libsystem_pthread.dylib`start_wqthread + 13
thread #6: tid = 0xba661, 0x00007fff8ad5de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #0: 0x00007fff8ad5de6a libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff84bf7f08 libsystem_pthread.dylib`_pthread_wqthread + 330
frame #2: 0x00007fff84bfafb9 libsystem_pthread.dylib`start_wqthread + 13
thread #7: tid = 0xba667, 0x00007fff8ad5d716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #0: 0x00007fff8ad5d716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff84bf8c3b libsystem_pthread.dylib`_pthread_cond_wait + 727
frame #2: 0x000000010c69d39c mono`_wapi_handle_timedwait_signal_handle + 502
frame #3: 0x000000010c6ab919 mono`WaitForSingleObjectEx + 474
frame #4: 0x000000010c62e38f mono`mono_wait_uninterrupted + 104
frame #5: 0x000000010c62e567 mono`ves_icall_System_Threading_WaitHandle_WaitOne_internal + 78
frame #6: 0x000000010f32d7a4
frame #7: 0x000000010f45c35b
frame #8: 0x000000010f458b1f
frame #9: 0x000000010c4d0e85 mono`mono_jit_runtime_invoke + 1465
frame #10: 0x000000010c6501a6 mono`mono_runtime_invoke + 110
frame #11: 0x000000010c63248f mono`start_wrapper + 455
frame #12: 0x000000010c6bc5b8 mono`inner_start_thread + 208
frame #13: 0x00007fff84bf6899 libsystem_pthread.dylib`_pthread_body + 138
frame #14: 0x00007fff84bf672a libsystem_pthread.dylib`_pthread_start + 137
frame #15: 0x00007fff84bfafc9 libsystem_pthread.dylib`thread_start + 13
thread #8: tid = 0xba668, 0x00007fff8ad5da3a libsystem_kernel.dylib`__semwait_signal + 10
frame #0: 0x00007fff8ad5da3a libsystem_kernel.dylib`__semwait_signal + 10
frame #1: 0x00007fff80d56dc0 libsystem_c.dylib`nanosleep + 200
frame #2: 0x000000010c6ad0e8 mono`SleepEx + 149
frame #3: 0x000000010c6348be mono`monitor_thread + 870
frame #4: 0x000000010c632464 mono`start_wrapper + 412
frame #5: 0x000000010c6bc5b8 mono`inner_start_thread + 208
frame #6: 0x00007fff84bf6899 libsystem_pthread.dylib`_pthread_body + 138
frame #7: 0x00007fff84bf672a libsystem_pthread.dylib`_pthread_start + 137
frame #8: 0x00007fff84bfafc9 libsystem_pthread.dylib`thread_start + 13
thread #9: tid = 0xba669, 0x00007fff8ad5de22 libsystem_kernel.dylib`__wait4 + 10
frame #0: 0x00007fff8ad5de22 libsystem_kernel.dylib`__wait4 + 10
frame #1: 0x000000010c55e3e9 mono`mono_handle_native_sigsegv + 421
frame #2: 0x000000010c5af24d mono`mono_arch_handle_altstack_exception + 84
frame #3: 0x000000010c4cec54 mono`mono_sigsegv_signal_handler + 379
frame #4: 0x00007fff8d7945aa libsystem_platform.dylib`_sigtramp + 26
frame #5: 0x000000010c5bdc7e mono`mono_type_get_name_recurse + 30
frame #6: 0x000000010c5bdc4c mono`mono_type_get_name_full + 47
frame #7: 0x000000010c5ef3bd mono`find_method + 405
frame #8: 0x000000010c5edea5 mono`get_method_constrained + 294
frame #9: 0x000000010c4eb3c4 mono`mono_method_to_ir + 85248
frame #10: 0x000000010c4cb9d8 mono`mini_method_compile + 2632
frame #11: 0x000000010c4cdfee mono`mono_jit_compile_method_with_opt + 1337
frame #12: 0x000000010c4cda6e mono`mono_jit_compile_method + 42
frame #13: 0x000000010c55f8ae mono`common_call_trampoline + 1069
frame #14: 0x000000010c87b172
frame #15: 0x000000010fbd8936
frame #16: 0x000000010fb9cbbd
thread #10: tid = 0xba66e, 0x00007fff8ad5d9aa libsystem_kernel.dylib`__select + 10
frame #0: 0x00007fff8ad5d9aa libsystem_kernel.dylib`__select + 10
frame #1: 0x000000010c6b7237 mono`mono_poll + 387
frame #2: 0x000000010c634c73 mono`tp_poll_wait + 253
frame #3: 0x000000010c632464 mono`start_wrapper + 412
frame #4: 0x000000010c6bc5b8 mono`inner_start_thread + 208
frame #5: 0x00007fff84bf6899 libsystem_pthread.dylib`_pthread_body + 138
frame #6: 0x00007fff84bf672a libsystem_pthread.dylib`_pthread_start + 137
frame #7: 0x00007fff84bfafc9 libsystem_pthread.dylib`thread_start + 13
thread #11: tid = 0xba66f, 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #0: 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #1: 0x000000010c6b7764 mono`mono_sem_timedwait + 194
frame #2: 0x000000010c632e4b mono`async_invoke_thread + 852
frame #3: 0x000000010c632464 mono`start_wrapper + 412
frame #4: 0x000000010c6bc5b8 mono`inner_start_thread + 208
frame #5: 0x00007fff84bf6899 libsystem_pthread.dylib`_pthread_body + 138
frame #6: 0x00007fff84bf672a libsystem_pthread.dylib`_pthread_start + 137
frame #7: 0x00007fff84bfafc9 libsystem_pthread.dylib`thread_start + 13
thread #12: tid = 0xba670, 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #0: 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #1: 0x000000010c6b7764 mono`mono_sem_timedwait + 194
frame #2: 0x000000010c632e4b mono`async_invoke_thread + 852
frame #3: 0x000000010c632464 mono`start_wrapper + 412
frame #4: 0x000000010c6bc5b8 mono`inner_start_thread + 208
frame #5: 0x00007fff84bf6899 libsystem_pthread.dylib`_pthread_body + 138
frame #6: 0x00007fff84bf672a libsystem_pthread.dylib`_pthread_start + 137
frame #7: 0x00007fff84bfafc9 libsystem_pthread.dylib`thread_start + 13
thread #13: tid = 0xba672, 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #0: 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #1: 0x000000010c6b7764 mono`mono_sem_timedwait + 194
frame #2: 0x000000010c632e4b mono`async_invoke_thread + 852
frame #3: 0x000000010c632464 mono`start_wrapper + 412
frame #4: 0x000000010c6bc5b8 mono`inner_start_thread + 208
frame #5: 0x00007fff84bf6899 libsystem_pthread.dylib`_pthread_body + 138
frame #6: 0x00007fff84bf672a libsystem_pthread.dylib`_pthread_start + 137
frame #7: 0x00007fff84bfafc9 libsystem_pthread.dylib`thread_start + 13
thread #14: tid = 0xba681, 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #0: 0x00007fff8ad59a6e libsystem_kernel.dylib`semaphore_timedwait_trap + 10
frame #1: 0x000000010c6b7764 mono`mono_sem_timedwait + 194
frame #2: 0x000000010c632e4b mono`async_invoke_thread + 852
frame #3: 0x000000010c632464 mono`start_wrapper + 412
frame #4: 0x000000010c6bc5b8 mono`inner_start_thread + 208
frame #5: 0x00007fff84bf6899 libsystem_pthread.dylib`_pthread_body + 138
frame #6: 0x00007fff84bf672a libsystem_pthread.dylib`_pthread_start + 137
frame #7: 0x00007fff84bfafc9 libsystem_pthread.dylib`thread_start + 13
(lldb) detach
Process 15026 detached
(lldb) quit
(lldb) OK https://www.myget.org/F/aspnetrelease/FindPackagesById()?Id='Microsoft.AspNet.Diagnostics' 6965ms
I guess the problem is the following:
Currently in the aspnet/Home/Samples/HelloWeb/project.json (master) all dependencies are referencing 'beta1' but in the aspnet/homebrew-k the referenced version is 'beta3'. So if you at the moment follow the install instructions in the Readme.md for OS X you will end up with a kvm version 'beta3' that is incompatible with the HelloWeb sample.
I have been able to run my local vNext that way after it was failing to update KVM/KRE:
- reinstall KVM/KRE/etc following Brew based (re)install with untap: https://github.com/aspnet/Home
- at least today evening this:
kvm upgrade
worked and install KRE/Mono. Now it lists:
kvm list
Active Version Runtime Location Alias
------ ------- ------- -------- -----
1.0.0-beta3-11021 mono ~/.k/runtimes
* 1.0.0-beta3-11030 mono ~/.k/runtimes default
I'm now able to run samples from dev branch :+1: :smile:
I'm not able to run any other samples - e.g. I'm contributor to @aspnet-generator and all our current examples just don't run at all because of different build problems:
/Users/piotrblazejewicz/projects/MyMvcApplication/Startup.cs(13,13): error CS0012: The type 'IServiceDescriptor' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Framework.DependencyInjection.IServiceDescriptor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
/Users/piotrblazejewicz/projects/MyMvcApplication/Startup.cs(13,13): error CS0012: The type 'IServiceCollection' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Framework.DependencyInjection.IServiceCollection, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Build failed.
0 Warnings(s)
2 Error(s)
MyWebApplication k kestrel
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Framework.ConfigurationModel.IConfiguration, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'Microsoft.Framework.ConfigurationModel.IConfiguration, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
https://github.com/OmniSharp/generator-aspnet/pull/59#issuecomment-73129981
I'm not able to rewrite dependencies in existing projects, that's KPM job.
Thanks!
Same issue, followed the steps from
https://www.jeremymorgan.com/tutorials/vnext/how-to-build-c-sharp-on-mac-osx/
I tried newer packages by updating project.json file as below, and same issue
"dependencies": {
"Microsoft.AspNet.Server.IIS":"1.0.0-beta2",
"Microsoft.AspNet.Mvc": "6.0.0-beta2",
"Microsoft.AspNet.Hosting": "1.0.0-beta2",
"Microsoft.AspNet.Security.Cookies": "1.0.0-beta2",
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta2",
"Microsoft.AspNet.StaticFiles": "1.0.0-beta2",
"Kestrel": "1.0.0-beta2"
},
"commands": {
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.urls http://localhost:5001",
"kestrel": "Microsoft.AspNet.Hosting --server Kestrel --server.urls http://localhost:5004"
}
Adding @davidfowl and @suhasj after upgrading via home brew I'm getting the same build error as Peter.
I got it to "kind of" work using
"dependencies": {
"Microsoft.AspNet.Server.IIS":"1.0.0-*",
"Microsoft.AspNet.Mvc": "6.0.0-*",
"Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.AspNet.Security.Cookies": "1.0.0-*",
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
"Microsoft.AspNet.StaticFiles": "1.0.0-*",
"Kestrel": "1.0.0-beta3-11018"
},
I'm on the latest version of everything but this does not seem to exist anymore so I had to comment it out:
app.UseWelcomePage();
And I've got this error:
/Users/simone.basso/code/smnbss/YoWebApp/Startup.cs(10,17): error CS1061: 'IApplicationBuilder' does not contain a definition for 'UseWelcomePage' and no extension method 'UseWelcomePage' accepting a first argument of type 'IApplicationBuilder' could be found (are you missing a using directive or an assembly reference?)
kpm --version
1.0.0-beta3-11030
osx
10.10.2
mono -V
Mono JIT compiler version 3.12.0 (tarball Wed Jan 28 15:32:29 GMT 2015)
Looks like yeoman-generators for aspnet5 are completely out of date. These are the commands I used to setup my environment and create my project http://smnbss.com/2015/02/08/asp-net-vnext-what-you-need-to-know-to-start-coding-on-osx/
This app is actually working https://github.com/smnbss/VNEXT.YoMVCApp
While this is not https://github.com/smnbss/VNEXT.YoWebApp
+1. Same issue here.
Yeoman generators work with beta2 packages which are the latest on nuget.org. I noticed when running kvm upgrade on my box it was using myget.org (not sure why) so it was pulling beta3. Here is how I went back to beta2 and tested the yo generators.
export KRE_FEED="https://www.nuget.org/api/v2"
rm -r -f ~/.kpm/packages/
kvm install 1.0.0-beta2 -p
FYI If you have seen errors like
Downloading kre-mono.1.0.0-beta2 from https://www.myget.org/F/aspnetrelease/api/v2
kre-mono.1.0.0-beta2 was not found in repository https://www.myget.org/F/aspnetrelease/
You should delete the following ~/.k/runtimes to clear out invalid folders which were created with the kvm install command and reinstall kvm.
@sayedihashimi Looks like they pushed beta3 in the brew script. @anurse the beta3 packages are not in nuget yet but the homebrew script is updated to pull in beta3 xre. Can we revert to beta2 till beta3 is public
That's because it seems like things were updated inconsistently. The home repository master samples seem to be pointing at beta1, homebrew is beta3 etc.
I'm getting the same issue with dnx on Windows...[UPDATED]. Nevermind, I switched my Nuget feed to nightly (https://www.myget.org/F/aspnetvnext/api/v2/), set my project.json dependences to end in "...1.0.0-beta4-*" (not ...1.0.0-beta4) and it works! :-)
Facing the same issue with Ubuntu with beta4.
I just had to change the 1.0.0-beta4 to 1.0.0-beta4-* for one of the dependencies and then restore again.
@schotime sounds wrong.