Страница 1 из 1

VB.net и С#

Добавлено: 02 мар 2004, 17:32
Alexan
Есть Class Library, написанная на VB.NET. Компилирую, вставляю assembly в VB.NET, все работает. Вставляю в проект на C#, не работает. Никак не пойму в чем дело.

Re: VB.net и С#

Добавлено: 02 мар 2004, 17:44
Marmot
Alexan писал(а):Есть Class Library, написанная на VB.NET. Компилирую, вставляю assembly в VB.NET, все работает. Вставляю в проект на C#, не работает. Никак не пойму в чем дело.
Kогда вставляешь в C#, то сильно цепляется за оттопырки в #, добавь смазки, может и проскочит :lol:

Добавлено: 02 мар 2004, 18:19
Alexan
получаю следующую ошибку:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name 'MsgBox' does not exist in the class or namespace 'MsgBox.MsgBox' (are you missing an assembly reference?)

Source Error:

Line 79:
Line 80: private System.Web.UI.Control __BuildControlMsgBox1() {
Line 81: MsgBox.MsgBox __ctrl;
Line 82:
Line 83: #line 14 "http://localhost/messageVB/default.aspx"

Reference я добавил, но не помогло.