How do I use SSDT with VS2015 - sql-server-2012

I am using Windows 7 SP1.
I have SQL Server 2012 installed along with Visual Studio Community 2015.
The SQL Server 2012 installation has always forced me to use VS2010 Shell to launch SQL Server Data Tools.
I recently installed an update through the NuGet Package Manager in VS2015 which included SSDT. I was hoping that this would enable me to use SSDT with VS2015. However it still launches with VS2010.
My question is: How do I used SQL Server Data Tools with Visual Studio 2015?
Thanks

The latest release (Feb 2016) is the first release of SSDT that can target different versions of SSIS so you can now target 2012 from visual studio 2015:
https://blogs.msdn.microsoft.com/ssdt/2016/03/07/ssdt-preview-update-feb-2016/
It is still in preview though so you will need to download the pre-release bits:
https://msdn.microsoft.com/en-us/library/mt204009.aspx
or wait a month or so for the RTM release.
I usually use the pre-release builds and they are normally pretty solid but each environment is different :)
ed

Related

How to Update Version from Earlier Versions of Visual Studio to 2017?

I have a number of projects created in earlier version of Visual Studio. These open fine in 2017, I can edit and save changes, but the solution file still has the icon indicating they are VB10, VB11 or VB14 solutions.
My concern is that in later versions of Visual Studio the solutions will no longer be supported. Can I force a complete upgrade to Visual Studio 2017? Is this necessary?

VS 2013 Could not load file or assembly 'Microsoft.SqlServer.Management.SqlParser, Version=13.0.0.0

I have some SQL CLR projects I created with VS 2012. I want to open them with VS 2013, so I installed SSDT 16.5 for VS 2013.
Now, I am getting this error opening the SQL CLR projects:
Could not load file or assembly 'Microsoft.SqlServer.Management.SqlParser, Version=13.0.0.0
Thanks for any ideas
I also faced this issue, Installing SQL Server 2017 broke SSDT. I have fixed the issue, Here is how I was able to fix it
Steps
Uninstall Microsoft SQL Server 2017 TSQL Language Service.
Install TSqlLanguageService.msi from SQL Server 2016. Part of Microsoft® SQL
Server® 2016 Feature Pack - https://www.microsoft.com/en-us/download/details.aspx?id=52676 (Version:13.0.1601.5 File: ENU\x64\TSqlLanguageService.msi)
then restart visual studio and reload the project
Installing a newer version of SQL Server Management Studio can break SQL Server Data Tools. You need to downgrade the TSQL Language service to 2016 (13.0.0.0) level.
Originally from here:
https://www.sqlservercentral.com/Forums/1921984/Microsoft-Visual-Studio-Could-not-load-file-or-assembly-MicrosoftSqlServerManagementSqlParser-Versio
Installing SQL Server 2017 broke SSDT. I have fixed the issue, but
just wanted to post this because I couldn't find the solution at
first. Steps
Uninstall Microsoft SQL Server 2017 TSQL Language Service.
Install TSqlLanguageService.msi from SQL Server 2016.
Part of Microsoft® SQL Server® 2016 Feature Pack - https://www.microsoft.com/en-us/download/details.aspx?id=52676
Version:13.0.1601.5
File: ENU\x64\TSqlLanguageService.msi
I hope this helps someone.
https://connect.microsoft.com/SQLServer/feedback/details/3106613/net-exception-could-not-load-file-or-assembly-microsoft-sqlserver-sqlclrprovider-13-100-0-0-after-installing-sql-server-2016
Client applications should not be using the assemblies from the Program Files folders unless they are from the specific SDK folders (such as "C:\Program Files (x86)\Microsoft SQL Server\130\SDK")
The 13.100.* version of assemblies you are seeing are currently only for use by Microsoft tools and so are not placed with all needed dependencies being in the same place. The DTS folder especially has only a subset of SMO assemblies since that code does not need things such as SqlClrProvider.
Please use either the assemblies from the SDK folders or from SharedManagementObjects.msi to use as references for your applications.

which SSDT for VS 2017 when I have SQL Server 2016 DE

I have VS 2017 CE, SQL Server 2016 DE and Microsoft SQL Server Management Studio 13.0.16106.4. About VS is showing Microsoft SQL Server Data Tools as installed.
I would like to install SSDT so that I can do the SSRS/SSIS and SSAS but I don't know which one to install, it's giving few options from here
It reads
Download SQL Server Data Tools 17.1 for Visual Studio 2015
Download Data-Tier Application Framework (DacFx) 17.1
From the same website
It then advises "To use SQL Server Data Tools in Visual Studio 2017 see this section below". When I go to the link provided it takes me to visualstudio.com website. It's not apparent to me what I need to download from there, is it the Community Edition?
Going back to the first link I provided, it advises...
If you are using SSDT with Visual Studio 2017, install the AS and RS components:
Analysis Services
Reporting Services
I also found another link...www.visualstudio.com/vs/ssdt/
Also are there any conflict between sql server 2016 and vs 2017 CE when taking SSRS/SSIS or SSAS tasks?
StackOverFlow is giving me message that I need to have number of reputation before I can give more than 1 website link.
Can someone advise me which one to install?
Thanks.
For Visual Studio 2017, there is not yet a stand alone install of SSIS|AS|RS. However, there are VSIX installs available for RS and AS. See links below.
SSIS is working on creating a standalone install as well as a VSIX package.
https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftReportProjectsforVisualStudio
https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftAnalysisServicesModelingProjects

Where to download vcredist?

I feel a little stupid asking this question, but I hope that this might be helpful to others as well.
Background: We/I are developing some software with Visual Studio 2008 SP1 (VC9). We would like to provide the vcredist along the software on the cd.
Now, I am used to ask google "download vcredist 2008 sp1" and usually it leads me to the following (also bookmarked) web pages:
https://www.microsoft.com/en-us/download/details.aspx?id=5582 (32 bit)
https://www.microsoft.com/en-us/download/details.aspx?id=2092 (64 bit)
I think I have downloaded different versions (9.0.30729.01 and later 9.0.30729.17) from that same URL as they came available. Today, only the .17 is available on that page. Now, a customer complained and told me that there is a 9.0.30729.6161 available, but I can't find it. The closest I could get was 9.0.30729.5677:
When I searched google for that specific version, it lead me to this page: http://support.microsoft.com/kb/2538243 which is saying, that a security update is available.
The linked Security Bulletin https://technet.microsoft.com/en-us/security/bulletin/ms11-025 lists the vcredist 2008 sp1 as affected and as a new link to something that seems to be an updated version of the vcredist 2008 sp1, although it has a slightly different name, in that it also bears the "mfc" in it's name: https://www.microsoft.com/en-us/download/details.aspx?id=26368
File names, file sizes and version numbers suggest these are updated versions of the vcredist 2008 sp1. This is the version 9.0.30729.5677
Is there ONE URL where I can always pull the newest version ?
Is there some kind of notification system (email list, rss-feed, ...) that informs me about a new vcredist ?
You can download the VC++ redistributables at:
https://support.microsoft.com/en-us/kb/2977003
As of now, the latest are:
Visual Studio 2005 (VC++ 8.0) SP1 w/ MFC Security Update: 8.0.61001 (8.0.61000 for x86)
Visual Studio 2008 (VC++ 9.0) SP1 w/ MFC Security Update: 9.0.30729.6161
Visual Studio 2010 (VC++ 10.0) SP1 w/ MFC Security Update: 10.0.40219.325
Visual Studio 2012 (VC++ 11.0) Update 4: 11.0.61030.0
Visual Studio 2013 (VC++ 12.0) Update 5: 12.0.40660.0
Visual Studio 2015 (VC++ 14.0) Update 3: 14.0.24215.1
Visual Studio 2017 (VC++ 14.1): 14.16.27012.6
Visual Studio 2019 (VC++ 14.2): 14.25.28508.3
Note: The 2015, 2017, and 2019 packages share the same runtime files, hence only the latest of the series is required.
For additional versioning information, see:
https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B

SQL Server 2005 installs Visual Studio 2005 too?

I just installed SQL Server 2005 and it installed Visual Studio 2005 too. What's the point of this? Is there an option in the SQL Server installation that can prevent this. If I uninstall Visual Studio now will it mess anything up? What if I now install Visual Studio 2008 too?
The visual studio that you get is a shell called Business Intelligence Development studio and it allows you to create Analysis Services, Integration Services, and Reporting Services projects. Also it allows you to deploy those projects to your SQL Server. If you already have Visual Studio installed, it will add those project types to it.
With the Development Studio you can add .Net projects such as C# or VB to your Analysis Services or Reporting Services projects to create custom components for them. There are additional benefits, but you should just do a search for Business Intelligence Development Studio to see what else can be done.
EDIT:
I just noticed that you were asking about what happens if you uninstall Visual Studio 2008. There should be a listing under your installed Programs called Visual Studio Shell or something of that nature, which is the Business Intelligence Development Studio and is independent of the main Visual Studio 2008 install. Both of them will allow you to create the Ms SQl Projects that I listed above. When you uninstall Visual Studio 2008 it won't uninstall this application and vice verse. If you do accidentally delete it, you can always install it again using your MS SQL CDs. There are instructions on the web to do so.
The version of Visual Studio that gets installed is necessary for doing the work you need to do in SQL Server. The old tools are going away, and this is part of the new.
Personally, I miss the Enterprise manager and SQL Query Analyzer from the SQL Server 2000 days, but they aren't likely to come back.
Edit - added
OK. The above was a bit flippant for an answer.
But to answer your comment, Management Studio IS Visual Studio, configured and modified to work with SQL Server.