aspnet / MusicStore

[Archived] MusicStore test application that uses ASP.NET/EF Core. Project moved to https://github.com/aspnet/AspNetCore
1.3k stars 878 forks source link

Problem in executing the source codes #583

Closed dongliu828 closed 8 years ago

dongliu828 commented 8 years ago

I have downloaded the zip file, unpacked it, compiled it, and executed it with Visual Studio 2015 Community on IIS Express.

Compilation is OK. Executing the project throws an error in Program.cs file as -

An exception of type 'System.IO.FileLoadException' occurred in Microsoft.AspNet.Hosting.dll but was not handled in user code

Additional information: Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)

jarrettv commented 8 years ago

Also seeing this issue but mine says:

Additional information: Method 'get_Configuration' in type 'WrappedApplicationEnvironment' from assembly 'Microsoft.AspNet.Hosting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' does not have an implementation.

xaclincoln commented 8 years ago

same issue as @jarrettv when running samples in Routing repository.

Cuiqs76 commented 8 years ago

same issue as @jarrettv when open the project. the reference lib couldn't load.

chancewen commented 8 years ago

same issue as @jarrettv .

capesean commented 8 years ago

@jarrettv that's probably caused by an assembly version mismatch. Check if your project is on the right (RC2?) version.

Eilon commented 8 years ago

This sounds like a mismatch of builds between the DNX and the packages. Both the public build CI and internal build CI have been green (until a few days ago, when we just renamed everything and caused some breaks).

AirBar84 commented 8 years ago

Hardcore breakages... argh... very frustrating.

Eilon commented 8 years ago

@AirBar84 indeed, and we're sorry about that - we're working as hard as we can to get all the issues resolved.

chancewen commented 8 years ago

@Eilon thank you !

Do you mean that we need to wait a few days for the new version of DNX to match the package ?

Currently through the dnvm, I can get the latest version of 1.0.0.rc2-16357 on windows. It does not work.

Eilon commented 8 years ago

@chancewen yes, there are a few different big changes going on right now and we have as many people on the team as possible working on finishing up the work.

As always, the most stable builds (RC1) are on nuget.org and continue to work.

filipw commented 8 years ago

same here, there is no way to run anything from the CI builds because 1.0.0.rc2-16357 crashes with this exception

ghost commented 8 years ago

Almost no documentation, only one real sample that's not working: asp.net core is like being in the jungle right now it seems... Is there a way to get it working ?

Eilon commented 8 years ago

@nockawa this is a really really really big change so it's taking us a bit longer than we were expecting. Some apps definitely already work, but MusicStore perhaps not.

ghost commented 8 years ago

Can you point me to some "real world" samples that are working right now? I would like to learn about authentication, with external provider, session state, cache. Any working samples would do. Thanks