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