28-08-16, 05:37 AM
عندى مشروع فى C# يوجد كلاس و فورم المهم كود الكلاس
ال ClassLibrary3 مشروع فى vb.net عبارة عن dll تحمل البيانات المشكلة عند عمل انشاء للمشورع يظهر هذه الخطاء
لماذا !
كود مشروع vb.net
سؤال اخر هل يمكن اضافة references غير dll مثلآ بعد انشاء ملف dll تغير صيغتة الى dat هل يمكن اضافتة ؟
كود :
public class Example
{
public static int EntryPoint(string test)
{
ClassLibrary3.Class1 ttt = new ClassLibrary3.Class1();
ttt.testxs();
return 0;
}
}
كود :
Desktop\ExampleProject\Example.cs(7,7,7,20): error CS0246: The type or namespace name 'ClassLibrary3' could not be found (are you missing a using directive or an assembly reference?)
لماذا !
كود مشروع vb.net
كود :
Public Function testxs()
MsgBox(0)
End Function