problems with compiled assembly dll's

flyk

New Member
I was trying to write a business component. This business component used the SqlConnection and SqlCommand objects located in System.Data.SqlClient package. when I tried to compile from the command line like 'vbc /t:library /r:system.Data.SqlClient.dll quote.vb' it says 'the system cannot find the file specified'. When I go into the directory 'c:/windows/microsoft.net/framework/v1.0.3705', I find that the System.Data.SqlClient.dll file is not there. by testing the vbc executable with other dll's that were in the directory, I determined that it was in the v1.0.3705 directory that the vbc executable was looking for the dll's. Then I thought to myself that maybe the sqlclient assembly was being included automatically with the system.data.dll assembly. I tried including the system.data.dll assembly and I got compile errors about it not understanding the SqlConnection object that I was trying to create in my .vb file. Because that didn't work, I concluded that the system.data.sqlclient.dll assembly must be specifically included in the command line. There really aren't that many dll's in that directory. If a person wants to include more packages that aren't there, how do they do that? Any help would be great!<BR>JonathanI found out the problem. The assemblies were contained within system.data.dll and I just wasn't referencing them correctly. Never mind.
 
Back
Top