Closed cheers00 closed 9 years ago
I am seeing the same issue.
Didn't do anything but today, I can build the solution.
But I get the same error when I deploy and run the command.
I get the above mentioned error when ran the command (.cmd) But when I run dnx . run, I get the following error. I am publishing this as file system.
C:\Projects\MusicStore-master\artifacts\bin\MusicStore\Release\Publish>dnx . run
System.InvalidOperationException: Unable to resolve project 'Publish' from C:\Pr
ojects\MusicStore-master\artifacts\bin\MusicStore\Release\Publish
at Microsoft.Framework.Runtime.ApplicationHostContext..ctor(IServiceProvider
serviceProvider, String projectDirectory, String packagesDirectory, String confi
guration, FrameworkName targetFramework, ICache cache, ICacheContextAccessor cac
heContextAccessor, INamedCacheDependencyProvider namedCacheDependencyProvider, I
AssemblyLoadContextFactory loadContextFactory, Boolean skipLockFileValidation)
at Microsoft.Framework.Runtime.DefaultHost.Initialize(DefaultHostOptions opti
ons, IServiceProvider hostServices)
at Microsoft.Framework.Runtime.DefaultHost..ctor(DefaultHostOptions options,
IServiceProvider hostServices)
at Microsoft.Framework.ApplicationHost.Program.Main(String[] args)
Today I've had the error project.json(37,5): Error: Microsoft.Framework.Runtime.FileFormatException: Illegal character '/'
when I updated to dnx beta5 and had the following comments in my project.json:
//,
//"dnxcore50": {
// "dependencies": {
// "System.Reflection.TypeExtensions": "4.0.0-beta-23015"
// }
//}
it worked fine after I removed comments from the file. Hope it helps to somebody.
It seems that somewhere between beta4 and beta5 the json parser got more strict and it doesn't allow comments in JSON files (which are not in the JSON standard)
Try switching to the dev branch of music store
Indeed, comments are no longer supported in project.json
files. See https://github.com/aspnet/Announcements/issues/24 for more info.
This was most likely an issue if the master
branch (which is always the most recent stable build) was used with a dev
build of DNX (which is always newer).
I got the latest MusicStrore and I am having tough time to build the solution with VS 2015 RC. Nuget packages are not restored and I get the following error message when I tried to restore packages for MusicStore project (dnu restore).
Wondering if I am missing something.
I also tried build.cmd and it's timing out.
my dnvm list is below