Answer recommended by moderator
Hi Abhishek,
Welcome to Microsoft Q&A Forum!
As per official document, Microsoft recommends developers use the Microsoft.SqlServer.SqlManagementObjects NuGet package instead of relying on MSIL GAC assemblies. It includes:
- SMO assemblies (Smo.dll, SqlEnum.dll, etc.)
- Versioning aligned to SQL Server compatibility
- Strong-named and Authenticode signed DLLs
Latest AvailableVersion:
https://www.nuget.org/packages/Microsoft.SqlServer.SqlManagementObjects
It targets version 18.x, which may include newer functionality than SQL Server 2025, but is fully compatible.
If GAC-based deployment is mandatory, wait for SQL Server 2025 Feature Pack or SharedManagementObjects.msi, which will install v17.100+ assemblies and avoid mixing GAC and NuGet references—they will cause version conflict and build errors.
Hope this helps!
Regards,
Shruti
-
Abhishek Modi (amodi) 20 Reputation points
Hi @Shruti Dhruv ,
Is there any tentative timeline for when GAC‑based DLLs will be available?
Any update or guidance on this would be greatly appreciated.
Thanks,
Abhishek
-
Shruti Dhruv 875 Reputation points • Microsoft External Staff • Moderator
Hi Abhishek,
There is currently tentative timeline for when GAC‑installed SMO assemblies for SQL Server 2025 will be available.
For now you may useMicrosoft.SqlServer.SqlManagementObjects (NuGet)
This gives you versions newer than 17.100.0.0 and avoids CS1705 reference conflicts.
Hope this helps!
-
Abhishek Modi (amodi) 20 Reputation points
Hi @Shruti Dhruv ,
I think you mean to update tentative timeline but you're not mentioned in your last comment. May be missed. or like you mean to say - It will be available?
Thanks for the your support !
Thanks,
Abhishek
-
Shruti Dhruv 875 Reputation points • Microsoft External Staff • Moderator
Hi Abhishek,
I meant to say, there is currently no tentative timeline available for this.
My bad! It was a typing error.
I hope that clears some air.Thank you
Shruti
Sign in to comment
