Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to .NET Core 3.0-preview6 #59

Closed
OnurGumus opened this issue Jun 24, 2019 · 8 comments
Closed

Update to .NET Core 3.0-preview6 #59

OnurGumus opened this issue Jun 24, 2019 · 8 comments
Labels

Comments

@OnurGumus
Copy link

with .net core 3.0 preview 6 , I am getting below error:

Application startup exception: System.TypeLoadException: Could not load type 'Microsoft.AspNetCore.Authorization.IAuthorizeData' from assembly 'Microsoft.AspNetCore.Http.Abstractions, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
   at Bolero.Remoting.Server.Remote.authorize[req,resp](FSharpFunc`2 f)
   at HelloWorld.Server.BookService.get_Handler() in D:\playground\bolero2\HelloWorld\src\HelloWorld.Server\Startup.fs:line 26
   at Bolero.Remoting.Server.RemoteHandler`1.Bolero-Remoting-Server-IRemoteHandler-get_Handler()
   at <StartupCode$Bolero-Server>[email protected](IServiceProvider services)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSit
@ScottHutchinson
Copy link

I can confirm that for me preview 6 failed, but preview 5 works great so far. The hot reload is amazing!

@granicz granicz changed the title Preview-6 breaks bolero again Update to .NET Core 3.0-preview6 Jun 29, 2019
@granicz granicz added the good first issue Good for newcomers label Jun 29, 2019
@Tarmil
Copy link
Member

Tarmil commented Jun 30, 2019

This depends on the Blazor SignalR extension to be updated for preview6, see BlazorExtensions/SignalR#32.

@ScottHutchinson
Copy link

It's still broken. I guess it hasn't been deployed yet? If so, maybe we should not close an issue until the solution has been deployed? How could I check the Blazor version that is installed? Thanks

@Tarmil
Copy link
Member

Tarmil commented Jul 7, 2019

It is merged to master, which is why I closed the issue. You can try the nightly build by adding the CI to your NuGet sources: https://ci.appveyor.com/nuget/bolero

@ScottHutchinson
Copy link

@Tarmil Thanks. I will try to learn how to use the nightly build. But how will I know when dotnet new -i Bolero.Templates will work with preview6, so I can tell my colleagues "you can use it with preview6 now, and you don't need to downgrade .NET Core 3.0, or use a nightly build anymore"?

@granicz
Copy link
Member

granicz commented Jul 7, 2019

@ScottHutchinson It will have a "released: vx.xx" tag, such as this ticket.

@ScottHutchinson
Copy link

@granicz That helps. I wonder if I'm subscribed to this closed issue, will I get notified when that released label gets added?

Also, I guess I could subscribe some RSS reader to https://www.nuget.org/packages/Bolero.Server/atom.xml to get notifications of releases. It would be nice if the Nuget Gallery had that built in, but I don't see it now.

@ScottHutchinson
Copy link

It is merged to master, which is why I closed the issue. You can try the nightly build by adding the CI to your NuGet sources: https://ci.appveyor.com/nuget/bolero

I added that url to a nuget.config file in my HelloWorldBolero repo root folder and ran dotnet restore. But it didn't seem to change anything.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="MyGet" value="https://ci.appveyor.com/nuget/bolero" />
  </packageSources>
</configuration>

Do I need to put that nuget.config file in each project folder (client and server)?

Maybe I need to update my PackageReference elements?

<PackageReference Include="Bolero.Build" Version="0.5.28-preview*" />

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

No branches or pull requests

4 participants