openiddict / openiddict-core

Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
https://openiddict.com/
Apache License 2.0
4.36k stars 510 forks source link

Not able to build Openiddict-core with latest sources #76

Closed Challagolla closed 8 years ago

Challagolla commented 8 years ago

I fetched the latest Openiddict-core repository sources and built the openiddict solution. I am getting the below errors in each project. I have the latest dnx 1.0.0-rc2-20221 clr x86 win available on my machine. I restored the nugets after clearing the catche .nuget\packages folders. Still i am getting the below errors. Could someone help me on whether i am missing something.

I also followed the steps mentioned in [http://stackoverflow.com/questions/35518616/how-do-you-troubleshoot-aspnet-core-missing-dependencies/35519150#35519150].

_Severity   Code    Description Project File    Line    Suppression State
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   32  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   32  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   32  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   32  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   33  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   33  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   33  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   33  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   35  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   35  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   35  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   35  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   35  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   40  Active
Error   CS0012  The type 'Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   40  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   40  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   40  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   40  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   40  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   44  Active
Error   CS0012  The type 'Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   44  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   44  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   44  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   44  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   44  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   54  Active
Error   CS0012  The type 'Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   54  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   54  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   54  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   54  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   54  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   72  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   72  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   72  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   72  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   72  Active
Error   CS0012  The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.   OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   72  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   88  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   88  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   88  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   88  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   88  Active
Error   CS0012  The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.   OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   88  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   142 Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictExtensions.cs   145 Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictManager.cs  41  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Authentication.cs  23  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Authentication.cs  139 Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Exchange.cs    23  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Exchange.cs    98  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Exchange.cs    128 Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Exchange.cs    129 Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Exchange.cs    173 Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Introspection.cs   20  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Introspection.cs   75  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Introspection.cs   76  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Session.cs 16  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictProvider.Userinfo.cs    19  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictServices.cs 27  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictServices.cs 34  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictServices.cs 41  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictServices.cs 53  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictServices.cs 60  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Core..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Core\OpenIddictServices.cs 67  Active
Error   CS0012  The type 'Assembly' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Reflection, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Assets..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Assets\OpenIddictExtensions.cs 20  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.EF..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.EF\OpenIddictExtensions.cs 30  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.EF..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.EF\OpenIddictExtensions.cs 30  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.EF..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.EF\OpenIddictExtensions.cs 30  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.EF..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.EF\OpenIddictExtensions.cs 30  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.EF..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.EF\OpenIddictExtensions.cs 30  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.EF..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.EF\OpenIddictExtensions.cs 43  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.EF..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.EF\OpenIddictExtensions.cs 43  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.EF..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.EF\OpenIddictExtensions.cs 43  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.EF..NET Framework 4.5.1  E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.EF\OpenIddictExtensions.cs 43  Active
Error   CS0012  The type 'Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictController.cs    67  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    53  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    55  Active
Error   CS0012  The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.   OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    68  Active
Error   CS0012  The type 'Assembly' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Reflection, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    68  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    74  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    74  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    84  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    84  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    94  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    94  Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    104 Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    104 Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    114 Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    114 Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    124 Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    124 Active
Error   CS0012  The type 'Type' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    134 Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    134 Active
Error   CS0012  The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.   OpenIddict.Mvc..NET Framework 4.5.1 E:\Learning\Learning-Security\openiddict-core\src\OpenIddict.Mvc\OpenIddictExtensions.cs    134 Active
Error   CS0012  The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Helpers\CspUpgradeHelper.cs  18  Active
Error   CS0012  The type 'IList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Helpers\CspUpgradeHelper.cs  18  Active
Error   CS0012  The type 'ICollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Helpers\CspUpgradeHelper.cs  18  Active
Error   CS0012  The type 'IEnumerable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Helpers\CspUpgradeHelper.cs  18  Active
Error   CS0012  The type 'IEnumerable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Helpers\CspUpgradeHelper.cs  18  Active
Error   CS0012  The type 'IReadOnlyList<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Helpers\CspUpgradeHelper.cs  18  Active
Error   CS0012  The type 'IReadOnlyCollection<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Helpers\CspUpgradeHelper.cs  18  Active
Error   CS0012  The type 'IEquatable<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Helpers\CspUpgradeHelper.cs  18  Active
Error   CS0012  The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Helpers\CspUpgradeHelper.cs  18  Active
Error   CS0012  The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.    OpenIddict.Security..NET Framework 4.5.1    E:\Learning\Learning-Security\openiddict-core\external\NWebsec\Middleware\RedirectValidationMiddleware.cs   36  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  Mvc.Client.DNX 4.5.1    E:\Learning\Learning-Security\openiddict-core\samples\Mvc.Client\Startup.cs 34  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  Mvc.Server.DNX 4.5.1    E:\Learning\Learning-Security\openiddict-core\samples\Mvc.Server\Startup.cs 57  Active
Error   CS0012  The type 'IServiceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.  Mvc.Server.DNX 4.5.1    E:\Learning\Learning-Security\openiddict-core\samples\Mvc.Server\Startup.cs 118 Active_
kevinchalet commented 8 years ago

We're already aware of this issue (actually, all the aspnet-contrib packages are impacted). AFAIK, it's caused by a NuGet bug that was fixed earlier today.

@Eilon @davidfowl do you guys happen to know when we will get an updated NuGet package?

Eilon commented 8 years ago

@PinpointTownes if it's the issue I think it is, then hopefully tomorrow. We tried grabbing new packages today but ran into a problem, but we think that problem is now fixed, so tomorrow we'll try again.

Gillardo commented 8 years ago

Hope so, i am not having this bug, but since Openiddict is referencing an old version of AspNetCore.Identity (version 20143) but ApplicationDbContext is now not working because of the changes to constructors found here https://github.com/aspnet/EntityFramework/issues/4825

kevinchalet commented 8 years ago

@Eilon thanks! :clap:

@Gillardo the fix is already checked in (https://github.com/openiddict/openiddict-core/commit/24b167b952d9797a1d6d32933dfa7b1fd4351013), but we can't get a new package due to the build issues we're currently experiencing.

Gillardo commented 8 years ago

Thanks @PinpointTownes I will just have to wait for build for the moment

Challagolla commented 8 years ago

@PinpointTownes any update on this issue? are we still waiting for the rc2 build to successfully build the Openiddict-core repository sources?

This morning, when i run the dotnet restore command for the openiddict solution, i am getting the following errors.

_Errors in E:\Learning\Learning-Security\openiddict-core\samples\Mvc.Client\project.json Unable to locate Dependency Microsoft.Dnx.Compilation.CSharp.Common >= 1.0.0-rc2-20222 Unable to locate Dependency Microsoft.Dnx.Compilation.CSharp.Abstractions >= 1.0.0-rc2-20222 Unable to locate Dependency Microsoft.Extensions.PlatformAbstractions.Dnx >= 1.0.0-rc2-20222

Errors in E:\Learning\Learning-Security\openiddict-core\samples\Mvc.Server\project.json Unable to locate Dependency Microsoft.Dnx.Compilation.CSharp.Common >= 1.0.0-rc2-20222 Unable to locate Dependency Microsoft.Dnx.Compilation.CSharp.Abstractions >= 1.0.0-rc2-20222 Unable to locate Dependency Microsoft.Extensions.PlatformAbstractions.Dnx >= 1.0.0-rc2-20222_

The latest rc2 version on my machine is showing 1.0.0-rc2-20221 clr x86 win after running the dnvm upgrade -u command. But, when i run the dotnet restore command the error messages is showing that it needs dependencies >= 1.0.0-rc2-20222. am i missing something ? Please suggest.

kevinchalet commented 8 years ago

This error occurs because the aspnetcidev feed doesn't have the latest Microsoft.Dnx packages referenced by the MVC/DNX compat' package (1.0.0-rc2-20222 vs 1.0.0-rc2-20221). I pinged @davidfowl about this inconsistency but no solution came up so far.

There's sadly nothing I can do.

@Eilon could you please take a look tomorrow?

Gillardo commented 8 years ago

Oh this is becoming a pain... I know we are all working with the latest stuff and its the chance you take. Keep up the good work @PinpointTownes @davidfowl @Eilon

Please let us know when this issue is resolved

joshcomley commented 8 years ago

I've even tried downloading the relevant git repositories and compiling them myself, but they don't seem too keen on compiling :/

Eilon commented 8 years ago

There was a new build a few days ago - is this being built with DNX (problematic) or with dotnet-cli (should work fine)?

kevinchalet commented 8 years ago

@Eilon the inconsistent package issue is orthogonal and affects both DNX and CLI:

image

Eilon commented 8 years ago

@pranavkm any idea on what this is? Could it be related to the package stuff we're fixing?

pranavkm commented 8 years ago

Sorry about this - looks like we ran into issues publishing DNX packages to MyGet. It had run enough of the build process so that our build agents could get to these packages, but not enough to get it to aspnetcidev. I'll update this thread once we have new packages on the feed.

kevinchalet commented 8 years ago

@pranavkm thanks! :clap:

joshcomley commented 8 years ago

FYI you can hackily work around this locally by editing the cached nuspec file for the Microsoft.AspNetCore.Mvc.Dnx package, changing anything that says 1.0.0-rc2-20222 to 1.0.0-rc2-20221.

You may need to close and re-open Visual Studio, but you will need to delete and re-add the Microsoft.AspNetCore.Mvc.Dnx package, but once you do, it all works great.

C:\Users[username].nuget\packages\Microsoft.AspNetCore.Mvc.Dnx\1.0.0-rc2-20270\Microsoft.AspNetCore.Mvc.Dnx.nuspec

<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
  <metadata>
    <id>Microsoft.AspNetCore.Mvc.Dnx</id>
    <version>1.0.0-rc2-20270</version>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <authors>Microsoft.AspNetCore.Mvc.Dnx</authors>
    <owners>Microsoft.AspNetCore.Mvc.Dnx</owners>
    <description>Bridge for keeping compat with DNX.</description>
    <tags></tags>
    <dependencies>
      <group targetFramework=".NETFramework4.5.1">
        <dependency id="Microsoft.AspNetCore.Mvc.Razor" version="1.0.0-rc2-20270" />
        <dependency id="Microsoft.Dnx.Compilation.CSharp.Common" version="1.0.0-rc2-20221" />
        <dependency id="Microsoft.Dnx.Compilation.CSharp.Abstractions" version="1.0.0-rc2-20221" />
        <dependency id="Microsoft.Extensions.DependencyInjection" version="1.0.0-rc2-20270" />
        <dependency id="Microsoft.Extensions.PlatformAbstractions.Dnx" version="1.0.0-rc2-20221" />
        <dependency id="System.IO" version="4.0.0" />
        <dependency id="System.Reflection" version="4.0.0" />
        <dependency id="System.Runtime" version="4.0.10" />
      </group>
      <group targetFramework=".NETStandard1.5">
        <dependency id="Microsoft.AspNetCore.Mvc.Razor" version="1.0.0-rc2-20270" />
        <dependency id="Microsoft.Dnx.Compilation.CSharp.Common" version="1.0.0-rc2-20221" />
        <dependency id="Microsoft.Dnx.Compilation.CSharp.Abstractions" version="1.0.0-rc2-20221" />
        <dependency id="Microsoft.Extensions.DependencyInjection" version="1.0.0-rc2-20270" />
        <dependency id="Microsoft.Extensions.PlatformAbstractions.Dnx" version="1.0.0-rc2-20221" />
        <dependency id="System.IO" version="4.1.0-rc2-23826" />
        <dependency id="System.Reflection" version="4.1.0-rc2-23826" />
        <dependency id="System.Runtime" version="4.1.0-rc2-23826" />
      </group>
    </dependencies>
  </metadata>
</package>
pranavkm commented 8 years ago

The 20222 builds of DNX should be up on http://myget.org/gallery/aspnetcidev. Could you try restoring now?

joshcomley commented 8 years ago

@pranavkm great news, I can confirm it works for me receiving 20222 all OK. Thanks!

kevinchalet commented 8 years ago

@pranavkm fantastic, thanks! :clap:

Now, I need to find how to make CLI and DNX happy, but I guess DNX is broken ATM?

joshcomley commented 8 years ago

Although actually it only restores OK using Visual Studio (or, of course, dnu restore); if I use dotnet restore I still get:

error: Ix-Async 1.2.5 is not compatible with DNXCore,Version=v5.0.
error: Remotion.Linq 2.0.2 is not compatible with DNXCore,Version=v5.0.
error: Microsoft.CodeAnalysis.CSharp 1.1.0-rc1-20151109-01 is not compatible with DNXCore,Version=v5.0.
error: Microsoft.CodeAnalysis.Common 1.1.0-rc1-20151109-01 is not compatible with DNXCore,Version=v5.0.
error: Some packages are not compatible with DNXCore,Version=v5.0.
error: Ix-Async 1.2.5 is not compatible with DNXCore,Version=v5.0 (win7-x64).
error: Remotion.Linq 2.0.2 is not compatible with DNXCore,Version=v5.0 (win7-x64).
error: Microsoft.CodeAnalysis.CSharp 1.1.0-rc1-20151109-01 is not compatible with DNXCore,Version=v5.0 (win7-x64).
error: Microsoft.CodeAnalysis.Common 1.1.0-rc1-20151109-01 is not compatible with DNXCore,Version=v5.0 (win7-x64).
error: Some packages are not compatible with DNXCore,Version=v5.0 (win7-x64).
error: Ix-Async 1.2.5 is not compatible with DNXCore,Version=v5.0 (win7-x86).
error: Remotion.Linq 2.0.2 is not compatible with DNXCore,Version=v5.0 (win7-x86).
error: Microsoft.CodeAnalysis.CSharp 1.1.0-rc1-20151109-01 is not compatible with DNXCore,Version=v5.0 (win7-x86).
error: Microsoft.CodeAnalysis.Common 1.1.0-rc1-20151109-01 is not compatible with DNXCore,Version=v5.0 (win7-x86).
error: Some packages are not compatible with DNXCore,Version=v5.0 (win7-x86).
info : Committing restore...
info : Restore failed in 8284ms.
pranavkm commented 8 years ago

Does your dnxcore50 tfm include this: "imports": "portable-net451+win8"?

See https://github.com/aspnet/Mvc/blob/dev/samples/MvcSandbox/project.json#L31-L35

joshcomley commented 8 years ago

Interesting. Mine looked like this:

"dnxcore50": {
  "imports": [
    "dotnet5.4",
    "portable-net452+win81"
  ]
}

But I changed it to (from your link):

"netstandardapp1.5": {
  "imports": [
    "dnxcore50",
    "portable-net451+win8"
  ],
  "dependencies": {
    "NETStandard.Library": "1.0.0-*"
  }
}

And still the same result.

kevinchalet commented 8 years ago

Aaaaaaaaaaand we're back to business. I've finally found a workaround to make both DNX and CLI happy: https://github.com/openiddict/openiddict-core/commit/8df3b5ca0e7990a5cc5f7eadd6c836c45ac0968e. It's hacky but it works. @troydai told me he would take a look at the CLI bugs we've encountered.

ASOS and the OAuth2 extensions are already fixed and AppVeyor is pushing new OpenIddict packages ATM.

Challagolla commented 8 years ago

@pranavkm thanks for the dnx fix.

@PinpointTownes now i could able to build the Openiddict-core repository sources without any issues :+1: Thanks

Gillardo commented 8 years ago

@PinpointTownes thanks for getting this all updated. Can i ask why you have dropped dnx451 framework and replaced it with net451?

Eilon commented 8 years ago

@Gillardo net451 is a superset of dnx451 because it applies to all apps that run on .NET 4.5.1 and higher, which by definition includes all apps that use DNX on .NET 4.5.1 and higher. Plus, as DNX is going away, there is no point in targeting that.

singlewind commented 8 years ago

@Eilon part of their rename ASP.NET 5 to .NET Core, is there any targets profile name has been renamed?

Eilon commented 8 years ago

Everything DNX related is going away. Depending on the usage scenario, some things target net451 (and related), and some target netstandard1.0 - netstandard1.5. For example, MVC's assemblies target this: https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNetCore.Mvc.Core/project.json#L53-L55

Challagolla commented 8 years ago

@Eilon Does this mean, when we are using that particular assembly in our project we need to use the matching target version? for example, if we use Microsoft.AspNetCore.Mvc.Core package in our application, we need to use

"frameworks": {
    "net451": { },
    "netstandard1.5": {
      "imports": [
        "dotnet5.6",
        "portable-net451+win8"
      ]
   }
}

? is there any guidance on how to decide our target framework based on the packages in our project.json file?

Eilon commented 8 years ago

Well, your target framework(s) should match whichever frameworks you wish to target, of course :smile:

The only real rule is that you can't target any more than your dependencies target. But as to how few frameworks you wish to target, you can target any subset that the intersection of your dependencies target.

If you wish to target exactly what your dependencies target then using the same targets as those dependencies is likely a safe bet.

BTW there's in some sense nothing new here compared to how NuGet has worked for quite a long time. The concepts are all the same. It's just that the available list of target frameworks has changed.

Challagolla commented 8 years ago

@Eilon thanks :)

Challagolla commented 8 years ago

As the mentioned problem in the issue description is fixed, i am closing this issue.

kevinchalet commented 8 years ago

Reopening, as we're now facing a new issue, caused by insane recent changes in the CoreFX packages...

The IdentityModel packages on the aspnetcidev feed were probably built a long time ago with an old System.Runtime dependency, that used 4.1.0.0 as the assembly version while the latest System.Runtime on the aspnetcidev feed uses 4.0.20.0, which causes weird issues with DNX :trollface:

System.Runtime 4.1.0-rc2-23826: assembly version = 4.1.0.0. System.Runtime 4.1.0-rc2-23923: assembly version = 4.0.20.0.

Assembly 'Microsoft.IdentityModel.Protocols.OpenIdConnect' with identity 'Microsoft.IdentityModel.Protocols.OpenIdConnect, Version=2.0.0.575, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

/cc @tushargupta51 @brentschmaltz any chance you could trigger a new build? Thanks! :smile:

kevinchalet commented 8 years ago

BTW, it's not specific to System.Runtime as a few other packages have also been reversioned (e.g System.Collections, System.Xml.ReaderWriter, System.Security.Principal).

kevinchalet commented 8 years ago

Closing, as the IdentityModel packages have been re-built with the latest CoreFX packages and no longer cause the weird issues we were seeing with DNX.

CryptoHelper is impacted by a similar issue but it should be fixed soon. I created a ticket on the CryptoHelper repo and @henkmollema said he would take a look: https://github.com/henkmollema/CryptoHelper/issues/9 :clap: