I don't understand why I have InvalidOperationException: Role Customer does not exist error in my signin POST action. The user was inserted in the user table and this error is throw at line 43 of https://paste.ofcode.org/3sT46YfkQ54YecnZj6gf8n
I am trying to create
self-contained application for testing my local CoreFx build as per this documentation https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/dogfooding.md#option-2-self-contained
I have downloaded the nightly build and am doing the steps in 'self-contained' section (above link). However the
dotnet restore gives me following errors. Appreciate help with the same. Thanks!!!
D:\Home\Test>dotnet restore D:\Home\Test\Test.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Runtime.win-x64 with version (= 5.0.0-alpha1.19459.39) D:\Home\Test\Test.csproj : error NU1102: - Found 24 version(s) in dotnetcore-feed [ Nearest version: 3.0.0-preview4-19121-14 ] D:\Home\Test\Test.csproj : error NU1102: - Found 6 version(s) in nuget.org [ Nearest version: 3.0.0-preview9.19424.4 ] D:\Home\Test\Test.csproj : error NU1102: - Found 0 version(s) in Microsoft Visual Studio Offline Packages D:\Home\Test\Test.csproj : error NU1102: - Found 0 version(s) in CliFallbackFolder Restore failed in 138.21 ms for D:\Home\Test\Test.csproj.
dotnet new consolethrew up list of templates to use, which I could not figure out. Hence used native 3.x to create project as mentioned in docs; but the generated csproj file had
netcoreapp3.0. Changing that to
netcoreapp5.0resolved all the errors. Thanks!
anyone know where/if the docs for ref assembly generation are?- this might help: https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/updating-ref-source.md