I need to create a new data source starting from a custom object.
This seems possible in Visual Studio 2015 as stated here , but I can't find the Project > Add New Data Source
menu entry.
I also tried:
this answer but the stated menu entry does not exist in VS2015 and the key shortcut just expands the
Debug
menuupdating VS2015 to Update 3 enabling all components that seemed relevant to the matter
creating a custom dataset, but VS always asks me for a DB connection
So far no luck in finding that dialog. Did anyone find it somewhere?
Thanks in advance for every advice!
Try View -> Database Explorer. And in the database explorer, right click in some empty space and click Add Connection.
I found the solution in this answer.
You simply cannot add an object data source to web-type projects. Instead, you must create an intermediate class library project in which you create the data source and then reference this new project in the web project.
Hope this helps!