Visual Studio 2013 Build Error: Incompatible versions of SQL Server Data Tools and database runtime components are installed on this computer - sql-server

I have Visual Studio 2012 and Visual Studio 2013 installed on my development machine. My SQL projects were created with VS2013 and they compile fine from Visual Studio, but they fail with the following message when I use MSBuild from the command line:
Build Error: Incompatible versions of SQL Server Data Tools and
database runtime components are installed on this computer.
Note: This same error was encountered by other developers in Visual Studio 2012. See This SO question. I have verified that my versions of SSDT are up to date. I am not dealing with the same problem.

To resolve this issue you have to make sure you are using MSBuild 12.0 which comes with Visual Studio 2013 not MSBuild 4.0 which ships with the .Net 4.0 framework.
Make sure your path does not include the .Net 4.0 framework and then add MSBuild 12.0 to your path like this:
SET PATH=%PATH%;"%ProgramFiles(x86)%\MSBuild\12.0\Bin"
Another solution is to set the VisualStudioVersion property to 12.0 like this
MSBuild.exe My.sqlproj /p:VisualStudioVersion=12.0
Note: This same error message has appeared in many different versions of SSDT. This fix is specific to Visual Studio 2013

Related

Visual Studio 2019 say dtproj SSIS project is unsupported

I'm trying to open my dtproj SSIS project in Visual Studio 2019 and it says its unsupported and incompatible. What am I missing? I installed VS with SSDT so it should work. I compared the about-info of both and found the VS that didn't work lacked the following. Is SSIS 15 a separate install? If so, where do I get it?
Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Integration Services 15.0.2000.180
Microsoft SQL Server Integration Services Designer
Version 15.0.2000.180
Microsoft Visual Studio Tools for Applications 2019 00435-60000-00000-AA131
Microsoft Visual Studio Tools for Applications 2019
#larnu has part of the answer, that is, install the SSIS extension. After doing that it still won't work (or didn't in my case). The project still said 'unsupported' and I right clicked it in solution explorer and clicked 'reload project' and after that the project loaded correctly.

SQL Server Data Tools version 17.x is available for which version of Visual Studio?

Kindly let me know where can I get 17.x version of SSDT. I am trying to run a powershell script which requires SQL Server Data Tools version 17.x. I am not sure which version of VS it's referring to? 2017 or 2015
The error message is:
Exception calling "DeployProject" with "2" argument(s): "Could not load file or assembly 19-Sep-2019 07:04:28 'Microsoft.SqlServer.IntegrationServices.Common.ObjectModel, Version=14.0.0.0, Culture=neutral, 19-Sep-2019 07:04:28 PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
As I know for Visual Studio 2017 the relevant SSDT version is 15.x And with Visual Studio 2019, the required functionality to enable Analysis Services, Integration Services, and Reporting Services projects has moved into the respective Visual Studio extensions.
Reference
Download and install SQL Server Data Tools (SSDT) for Visual Studio
Update 1
Based on your comments, you must install SSDT for SQL Server 2016 (version 14)
Previous releases of SQL Server Data Tools (SSDT and SSDT-BI)

.dwproj cannot be opened because its project type (.dwproj) is not supported by this version of the application

When i try to open the SSAS project file, visual studio 2015 throw the following exception:
'projectfile.dwproj` cannot be opened because its project type (.dwproj) is not supported by this version of the application.
To open it, please use a version that supports this type of project.
Screenshot
Any suggestions?
Trying to figure out the issue
I think this is an issue of Visual Studio 2015 that require installing an extension:
This issue was cited in the following link, and the author found the following solution:
In the Extensions and Updates select "online" and search for "Microsoft Analysis Services Modeling" that toolset will provide the dwproj extensions.
So in Visual Studio:
Go to Tools >> Extensions and Updates
Select the Online option
Search "Microsoft Analysis Services Modeling" or "Microsoft Analysis Server Projects"
Install the extension
If you did n't fund the extension you can install it manually from the following link:
Microsoft Analysis Services Projects
Update 1
Also make sure that you installed SQL Server Data Tools:
SQL Server Data Tools in Visual Studio 2015
Download and install SQL Server Data Tools (SSDT) for Visual Studio
Update 2
If none of the instructions above solved the issue, make sure you have installed the latest update for Visual Studio 2015:
Visual Studio 2015 Update 3 and .NET Core 1.0 Available Now

SSRS missing in Visual Studio 2015 (community & enterprise trial version) template

I tried to solve my problem by using community and enterprise (trial) version of Visual Studio 2015. Couldn't solve it. Hope somebody can help me.
I want to generate a report by using SQL Server Reporting Services (SSRS). In some tutorial I see there are SSAS, SSRS & SSIS under templates | Business Intelligence when a new project is opened in Visual Studio. In my case, I don't see it as shown in the following picture:
If I check (my OS is Windows 10 64 bit) System Settings | System | App & features, I see SQL Server Data Tools 2015 is installed (strangely I have 2 SSDT) as seen in below.
I see similar problem (Missing Reporting Server templates in Visual Studio 2013 + Business Intelligence SSDT) for VS2013, in which the reporter has used 32 bit SSDT tools. Is this valid for VS2015 also? What I should do for VS2015?
I develop the SSRS and SSIS project in Visual studio 2012 and When i open it on visual Studio 2015. both project is not loaded. then I download the SSDT and updated Its start Working
I think this Link help You to find out Your Solution
ssdt bi for the visual studio 2015 stack over flow Answer
Install sql server enterprise or business intelligence ctp 3.3, install VS2015 professional and finally install the latest SSDT.
Uninstall previous SSDT installations.
Download SQL SERVER.
In Visual Studio go to Extensions and Updates and look for SQL SERVER DATA TOOLING. If the update doesn't appear, go to this page in the third point, download the setup for your regional settings.
If it doesn't work tell use what is the exact VS2015 version.

"Errors" upgrading from VS2010 to VS2012

We have an WPF application developed on Visual Studio 2010 and I've been tasked with upgrading it to VS 2012. It compiles fine in VS2010 and doesn't prompt to upgrade after opening the solution file with VS2012 (Update 3). It also compiles fine in VS2012. However, I get errors in the in-editor Error List even though it compiles and runs without complaint.
These errors are all of the type "Could not find file 'C:\project\src\ui\images\foo.png'" The files don't exist in 'C:\project\src\ui\images\' but rather in 'C:\project\assets\images\' - in the csproj file, we add the images with the following lines (same in both 2010 and 2012):
<Resource Include="..\assets\images\foo.png">
<Link>ui\images\foo.png</Link>
</Resource>
My first guess is that 2012 is defaulting to a different URI path than 2010, but I haven't found any documentation about any such change.
The phantom errors show up whether 2012 is targeting the 4.0 or the 4.5 framework.
Have you upgraded your VS 2010 to have VS 2010 SP1 installed and rebuild your project before upgrading to VS 2012?
Some incompatibilities problems may occur in upgrading VS 2010 project to VS 2012 project if you haven't upgraded your VS 2010 to VS 2010 SP1.

Resources