I am using some sql server dependencies in a console app
:
Imports Microsoft.SqlServer.Management.Common
Imports Microsoft.SqlServer.Management.Smo
When I run on server without sql server install, I hit this error:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass
embly 'Microsoft.SqlServer.SqlEnum, Version=11.0.0.0, Culture=neutral, PublicKey
Token=89845dcd8080cc91' or one of its dependencies. The system cannot find the f
ile specified.