You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I replaced those with actual version numbers; but next, the resulting Program.cs has this error:
'IServiceCollection' does not contain a definition for 'AddDatasyncControllers' and no accessible extension method 'AddDatasyncControllers' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?)
on this line:
builder.Services.AddDatasyncControllers();
To Reproduce
Steps to reproduce the behavior:
Follow the steps given on the Getting Started page:
Install the datasync template: dotnet new -i CommunityToolkit.Datasync.Server.Template.CSharp
Create a project: dotnet new datasync-server
See Package Reference error in .csproj
Fix that error by substituting version number 8.04
Re-open project; see AddDatasyncControllers error in Program.cs
Expected behavior
That the program as documented in Getting Started will work without errors.
What platforms?
Windows 11.
The text was updated successfully, but these errors were encountered:
Describe the bug
I tried to use the steps as given in the Getting Started > Datasync server page, but the resulting csproj had these problematic lines in it:
I replaced those with actual version numbers; but next, the resulting Program.cs has this error:
on this line:
builder.Services.AddDatasyncControllers();
To Reproduce
Steps to reproduce the behavior:
Follow the steps given on the Getting Started page:
dotnet new -i CommunityToolkit.Datasync.Server.Template.CSharp
dotnet new datasync-server
AddDatasyncControllers
error in Program.csExpected behavior
That the program as documented in Getting Started will work without errors.
What platforms?
Windows 11.
The text was updated successfully, but these errors were encountered: