Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Not compiling Client side #15

Closed
indcoder opened this issue Jul 27, 2019 · 3 comments
Closed

Not compiling Client side #15

indcoder opened this issue Jul 27, 2019 · 3 comments
Assignees

Comments

@indcoder
Copy link
Contributor

Added the following package
Blazor-Auth0-ClientSide -Version 0.7.2-beta.2

and I'm consistently being faced with the following error on running dotnet run under VS Code.

exited with code -532462766

Please check the Nuget package.

@henalbrod henalbrod self-assigned this Jul 28, 2019
@henalbrod
Copy link
Owner

henalbrod commented Jul 28, 2019

Hi!,

Haven't tested the library on VSCode yet, I'll take a look.

@henalbrod
Copy link
Owner

henalbrod commented Jul 28, 2019

Sorry but I was unable to reproduce the issue, could you provide more insights about how to reproduce it please?

Also, Blazor-Auth0-ClientSide -Version 0.7.2-beta.2 is compatible with .Net Core Preview 7, please verify all the prerequisites were installed:

1 - You installed the latest .NET Core 3.0 Preview SDK release.

2 - You installed the Blazor templates by running the following command in a command shell:

dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview7.19365.7

3 - You created the client side blazor project vía command shell:

dotnet new blazor

4 - You installed the latest C# extension for Visual Studio Code

5 - You added the Blazor.Auth0.ClientSide library by adding a new reference in the .csproj file

<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <LangVersion>7.3</LangVersion>
    <RazorLangVersion>3.0</RazorLangVersion>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.0.0-preview7.19365.7" />
    <PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.0.0-preview7.19365.7" PrivateAssets="all" />
    <PackageReference Include="Microsoft.AspNetCore.Blazor.DevServer" Version="3.0.0-preview7.19365.7" PrivateAssets="all" />

    // == Blazor.Auth0.ClientSide library reference ==
    <PackageReference Include="Blazor-Auth0-ClientSide" Version="0.7.2-beta.2" />
    //===============================

  </ItemGroup>

</Project>

@indcoder
Copy link
Contributor Author

Yes @Pegazux it worked postt a restart of the machine, after ugrading to preview 7. Thanks for detailed explanation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants