Reputation: 39
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
Upvotes: 1
Views: 1690
Reputation: 250
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
then restart visual studio and reload the project
Upvotes: 3
Reputation: 3068
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:
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.
Upvotes: 1
Reputation: 49
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.
Upvotes: -1