1
Microsoft.SqlServer.ConnectionInfo.dll
Microsoft.SqlServer.Smo.dll
Microsoft.SqlServer.SmoEnum.dll
Microsoft.SqlServer.SqlEnum.dll
Microsoft.SqlServer.Management.Sdk.Sfc.dll

i have referenced all the above assemblies in my C# project but when i type

   Microsoft.SqlServer.Management.Smo.Backup bkpDatabase = new Backup();

i get an this error "canot resolve symbol Backup" even when i have below using statements

using Microsoft.SqlServer.Management.Smo;
using Microsoft.SqlServer.Management.Common;
Pondlife
  • 15,573
  • 6
  • 35
  • 51
StackTrace
  • 8,946
  • 34
  • 107
  • 196
  • Googling "Visual Studio cannot resolve symbol" suggests that this error is coming from ReSharper, not from VS itself, e.g. [this question](http://stackoverflow.com/questions/5539131/resharper-cannot-resolve-symbol-eval-in-vs2010-sp1). I've added the reharper tag so hopefully you get a better response now. – Pondlife Aug 03 '12 at 20:35
  • i had not referenced Microsoft.SqlServer.SmoExtended in my project in addition to the assemblies mentioned above. – StackTrace Aug 06 '12 at 08:24

1 Answers1

2

i had not referenced Microsoft.SqlServer.SmoExtended in my project in addition to the assemblies mentioned above.

StackTrace
  • 8,946
  • 34
  • 107
  • 196