AspNetCore.SignalR not work for me
I added a new solution in visual studio 2017 preview 6.0, whern i launch the solution i have an exemption: System.MissingMethodException: 'Method not found: 'System.Collections.Generic.Dictionary`2<System.String,System.Object> Microsoft.Extensions.Configuration.IConfigurationBuilder.get_Properties()'.'
here is the packages in my csproj: PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-final" PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.0.0-alpha1-26462" PackageReference Include="Microsoft.AspNetCore.SignalR.Http" Version="1.0.0-alpha1-26462"
Thanks,
I think ur using old packages of
Microsoft.AspNetCore.SignalR Microsoft.AspNetCore.SignalR.Http
what should be the version we now have? I am using 1.0.0-preview3-25814 but still, I get
MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<Microsoft.AspNetCore.Authorization.Policy.PolicyAuthorizationResult> Microsoft.AspNetCore.Authorization.Policy.IPolicyEvaluator.AuthorizeAsync(Microsoft.AspNetCore.Authorization.AuthorizationPolicy, Microsoft.AspNetCore.Authentication.AuthenticateResult, Microsoft.AspNetCore.Http.HttpContext)'
SignalR requires the latest ASP.NET Core to run, if you get type mismatches, align the build numbers of all ASP.NET Core packages.
Thanks @davidfowl , can you guide me on which version on .net core runtime works with the current signalr and what is the latest version on signlar?
@mubavoice add this NuGet feed https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json and update the dependencies in the NuGet Package Manager. This got me passed package mismatches.
Your SignalR reference is too old, use 1.0.0-alpha1-26462
After I have uninstalled all the runtime frame works and SDK's, I have installed the SDK 2.1.0-preview1-006958 and now the project runs fine.
Thanks Guys
Ok for me i updated csproj like ChatSample
Ok for me i updated csproj like ChatSample