I suggest using Visual Studio 2015 or 2017.
The error you are getting is probably because the database hasn't been populated by setup yet. Go ahead and tell Visual Studio to continue after the error comes up and visit the /setup/default.aspx page.
Hope this helps,
Joe Davis