dll compilation error
I have created a C# window application that contains the namespaces System and System.Data
Additionally, I have added Microsoft.SqlServer.Smo.
When I try to compile from command prompt it shows the error as:
then i navigate to G:\SqlDisc:> csc /target:library /r:Micrsoft.SqlServer.Smo.Dll
SqlSmoDiscovery.cs but it shows the erroe as
error CS0006: Metadata file 'Microsoft.SqlServer.Smo.dll' could not be found
Karthikeyan SubramaniamPosted Oct 28, 2009, 1:06 PM
c:\>csc /target:library /r:"C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.Smo.dll" SqlSmoDiscovery.cs
Note - Please dont forget to accept the answer if this solves the problem.