calling of dll's when both are in same folder
-
hi sir, please tell me that how we can call a dll from another dll when both are in same folder. thanks
-
hi sir, please tell me that how we can call a dll from another dll when both are in same folder. thanks
How this is related with asp.net. Add Dll as reference, Add namespaces. use the classes :)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
How this is related with asp.net. Add Dll as reference, Add namespaces. use the classes :)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
thank u sir but my issue is still remaining. actually this is my first dll using System; namespace myfirst { public class demo { public string getmessage() { return "Hi!How Are You"; } } } in folder e:\prac and more dll is using System; using myfirst; namespace mysecond { public class demo1 { public string getmessage1() { demo d=new demo(); string str1=d.getmessage(); Console.WriteLine(str1); } } } and now i am using csc /t:library mysecond.cs then i have following error and problem was same.please help me mysecond.cs(2,7): error CS0246: The type or namespace name 'myfirst' could not be found (are you missing a using directive or an assembly reference?)
-
thank u sir but my issue is still remaining. actually this is my first dll using System; namespace myfirst { public class demo { public string getmessage() { return "Hi!How Are You"; } } } in folder e:\prac and more dll is using System; using myfirst; namespace mysecond { public class demo1 { public string getmessage1() { demo d=new demo(); string str1=d.getmessage(); Console.WriteLine(str1); } } } and now i am using csc /t:library mysecond.cs then i have following error and problem was same.please help me mysecond.cs(2,7): error CS0246: The type or namespace name 'myfirst' could not be found (are you missing a using directive or an assembly reference?)