-
Notifications
You must be signed in to change notification settings - Fork 168
Runtime error when running "Web Application" with no modifications #141
Comments
If you are running dnx, the beta4 branch is the dev home for that version. The current release is still running k, so you would need to have that installed. As a note k and DNX can run side by side. |
Install instructions for k
|
Ok thanks @spboyer. After doing that (and installing grunt and bower), I was able to run However, when I type in Any ideas? |
Looks to be a known Mono issue..? http://www.mono-project.com/docs/about-mono/releases/3.12.0/ Ref this issue: aspnet/Mvc#2348 |
@spboyer Thanks - that got me past that hurdle. Once I enter One strange thing I found though, if I try Even though it fails to build using that command, I can still successfully start the web app ( |
Trying to create/run a simple aspnet web app on OSX Yosemite. After typing
yo aspnet
, selectingWeb Application
, typing in the name of my project (foo
), the project is successfully created. I then typednx . kestrel
to start the application and I get the following error:System.InvalidOperationException: Unable to resolve project 'foo' from /Users/tbehunin/code/foo at Microsoft.Framework.Runtime.ApplicationHostContext..ctor (IServiceProvider serviceProvider, System.String projectDirectory, System.String packagesDirectory, System.String configuration, System.Runtime.Versioning.FrameworkName targetFramework, ICache cache, ICacheContextAccessor cacheContextAccessor, INamedCacheDependencyProvider namedCacheDependencyProvider, IAssemblyLoadContextFactory loadContextFactory, Boolean skipLockFileValidation) [0x00000] in <filename unknown>:0 at Microsoft.
(stacktrace continues on...)Am I missing a command somewhere?
Also, the output when running
yo aspnet
specifies to use thek
commands (kpm restore
,kpm build
,k run
,k kestrel
, etc). However, all the docs on the AspNet GitHub page referencednx
,dnvm
, etc. Not sure what I'm doing wrong here..?The text was updated successfully, but these errors were encountered: