Categories: Business Intelligence

SSDT-BI and Visual Studio Online

Recently I had to create a new business intelligence project at a client. However, there was no source control present. Because I like my code checked in somewhere – you never know if your laptop crashes or even get stolen – I decided to try out Visual Studio Online. It’s free for basic use. All in all the process to get my source control up and running was quite smooth, but there were some bumps along the way.

First I had SSDT-BI 2013 installed – the one you use for SQL Server 2014 – which is basically a Visual Studio 2013 shell. I created my account on Visual Studio online and I created a team project. At the page, there is a little button Open in Visual Studio 2013, which would open VS2013 and link that team project with team explorer.

It gave an error of course, since I didn’t have team explorer installed. (I didn’t take a screenshot, sorry)

So I decided to take another route by removing SSDT-BI 2013 and installing the full Visual Studio community edition, as explained here: Set up Visual Studio (step 1). You can download the latest community edition here. After installing, I realized a bit too late that I had installed VS 2015, while I actually need VS 2013 (to develop for SQL Server 2014, you need VS 2013. In SQL Server 2016 they will finally solve this issue and you can use one version of Visual Studio to develop for different versions of SQL Server). After some profound cursing, uninstalling VS 2015 and a bit of googling, I found the download page for Visual Studio 2013 community edition (check under Visual Studio 2013 – Community 2013). I installed it and good to know: it can also install SQL Server Data Tools as well (not to be mistaken with SSDT-BI).

I tried to install SSDT-BI again, but the set-up wouldn’t let me because apparently SSDT-BI was already installed.

Weird, since I had previously uninstalled VS2013. Wondering about the magics of Microsoft, I opened Visual Studio, signed in to Visual Studio Online and lo and behold, I could use the business intelligence settings (step 5 of Set up Visual Studio).

I created a new SSIS project, added it to source control (I had to select my Visual Studio online website in the list of TFS servers) and at last I had fully functional source control in my SSDT-BI 2013.

At the website, I can see my code as well (the wonders of a cloud environment):

The black boxes are a very special undocumented feature of Visual Studio Online to protect your privacy 😉

Also check out this excellent blog post by Jeffrey Verheul (blog | twitter) about integrating VS Online with SSMS.


------------------------------------------------
Do you like this blog post? You can thank me by buying me a beer 🙂
Koen Verbeeck

Koen Verbeeck is a Microsoft Business Intelligence consultant at AE, helping clients to get insight in their data. Koen has a comprehensive knowledge of the SQL Server BI stack, with a particular love for Integration Services. He's also a speaker at various conferences.

Recent Posts

Free webinar – Tackling the Gaps and Islands Problem with T-SQL Window Functions

I'm hosting a free webinar at MSSQLTips.com at the 19th of December 2024, 6PM UTC.…

6 days ago

dataMinds Connect 2024 – Session Materials

The slides and scripts for my session "Tackling the Gaps & Islands Problem with T-SQL…

4 weeks ago

Connect to Power BI as a Guest User in another Tenant

Sometimes your Microsoft Entra ID account (formerly known as Azure Active Directory) is added as…

2 months ago

How to use a Script Activity in ADF as a Lookup

In Azure Data Factory (ADF, but also Synapse Pipelines and Fabric Pipelines), you have a…

4 months ago

Database Build Error – Incorrect syntax near DISTINCT

I wrote a piece of SQL that had some new T-SQL syntax in it: IS…

4 months ago

Speaking at dataMinds Connect 2024

I'm very excited to announce I've been selected as a speaker for dataMinds Connect 2024,…

5 months ago