Cannot add data source in Visual Studio 2019

Tobias Reuß 1 Reputation point
2021-11-01T12:17:14.98+00:00

Hi there,

I'm currently setting up a SQL database.

Now in Visual Studio 2019 I want to add a new data source. This always comes up with this mistake. And the link that is stored does not bring me anything / does not work.

145514-screenshot-2021-11-01-131301.png

Community Center | Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,846 Reputation points Microsoft Employee Moderator
    2021-11-03T05:25:49.96+00:00

    @Tobias Reuß ,

    The datasource binding is not support in .NET Core form designer yet and the team is currently working on the feature.
    However, you can can add datasource binding in .NET Core project programmatically(edit the codes in form.designer.cs, form.cs or other required files ) or migrate the codes from a .NET Framework project to the .NET Core project.

    Please refer to Developer Community forum.

    Thanks
    Saurabh


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.