Visual Studio 2015 - adding a new data source

I need to create a new data source, starting with a custom object.

This is possible in Visual Studio 2015 as indicated here , but I cannot find the menu item Project > Add New Data Source .

I also tried:

  • this answer , but the specified menu entry does not exist in VS2015, and the key shortcut simply extends the Debug menu

  • update VS2015 to version 3, allowing all components that seem to be relevant

  • creating a custom data set, but VS always asks me to connect to the database

So far, unable to find this dialogue. Has anyone found it anywhere?

Thanks in advance for every tip!

+2
source share
2 answers

I found a solution in this answer .

You simply cannot add an object data source to web type projects. Instead, you should create an intermediate class library project in which you create a data source and then reference this new project in a web project.

Hope this helps!

0
source

Try View -> Database Explorer. And in the database explorer, right-click in an empty space and select Add Connection.

View -> Database Explorer

0
source

All Articles