Skip to content

Error when running HelloWeb on Linux #332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vlesierse opened this issue Feb 23, 2015 · 2 comments
Closed

Error when running HelloWeb on Linux #332

vlesierse opened this issue Feb 23, 2015 · 2 comments

Comments

@vlesierse
Copy link

After running the latest dev version of KRE I encounter an error on Linux. k kestrel.

2015-02-23T11:23:15.389133636Z Information: [DefaultHost]: Project path: /app
2015-02-23T11:23:15.389195282Z Information: [DefaultHost]: Project root: /app
2015-02-23T11:23:15.389195282Z Information: [DefaultHost]: Packages path: /root/.k/packages
2015-02-23T11:23:15.408616824Z Information: [DependencyWalker]: Walking dependency graph for 'app Asp.Net,Version=v5.0'.
2015-02-23T11:23:15.459636683Z Information: [WalkContext]: Graph walk stage 1 took in 48ms
2015-02-23T11:23:15.463894991Z Information: [DependencyWalker]: Graph walk took 55ms.
2015-02-23T11:23:15.475045064Z Information: Breadcrumbs for servicing will not be written because the breadcrumbs folder () does not exist.
2015-02-23T11:23:15.493882579Z Information: [WalkContext]: Populate took 28ms
2015-02-23T11:23:15.493929267Z Information: [DependencyWalker]: Resolved dependencies for app in 85ms
2015-02-23T11:23:15.498359617Z Information: [LoaderContainer]: Load name=Microsoft.AspNet.Hosting
2015-02-23T11:23:15.512628092Z Information: [NuGetAssemblyLoader]: Loaded name=Microsoft.AspNet.Hosting in 14ms
2015-02-23T11:23:15.515596200Z Information: [LoaderContainer]: Load name=Microsoft.Framework.ConfigurationModel
2015-02-23T11:23:15.516317314Z Information: [NuGetAssemblyLoader]: Loaded name=Microsoft.Framework.ConfigurationModel in 0ms
2015-02-23T11:23:15.516476272Z Information: [LoaderContainer]: Load name=Microsoft.Framework.ConfigurationModel.IConfiguration
2015-02-23T11:23:15.517152537Z Information: [LoaderContainer]: Load name=Microsoft.Framework.ConfigurationModel.IConfiguration
2015-02-23T11:23:15.521686765Z 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.
2015-02-23T11:23:15.521735617Z File name: 'Microsoft.Framework.ConfigurationModel.IConfiguration, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
2015-02-23T11:23:15.521735617Z   at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
2015-02-23T11:23:15.521735617Z   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 

Does anyone has an idea what is going wrong? I've installed kvm as it is described in the README.md

It's related to this PR in aspnet/aspnet-docker.

@davidfowl
Copy link
Member

Mismatched packages and the KRE

@vlesierse
Copy link
Author

Ah, thnx.
I have put a NuGet.Config with the dev feed in ~/.config/NuGet. This did the trick because the application with the Docker container doesn't include the repository root.

ryanbrandenburg pushed a commit that referenced this issue Nov 19, 2018
ryanbrandenburg pushed a commit that referenced this issue Nov 20, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants