[Mono-list] ASP (Visual Basic); vbnc vs mbas; was C++/CLI
Adelle Hartley
adelle at akemi.com.au
Wed Aug 27 22:59:02 EDT 2008
Hi all,
I have read that to get a Visual Basic ASP site working with mono on
linux, I need to install mbas, the mono visual basic compiler.
The mono visual basic compiler that I have managed to install is called
"vbnc". Are vbnc and mbas the same thing, and if not, which one do I need?
On the off-chance that it would work, I tried
ln vbnc mbas
in the folder where vbnc is installed.
Now my aspx page displays the following message:
File not found: <random_name>.dll
Where <random_name> changes each time I refresh the page.
On a probably unrelated issue,
Jonathan Pryor wrote:
> On Wed, 2008-08-27 at 13:24 +1000, Adelle Hartley wrote:
>> I have built an assembly in Visual C++ 2005 with the /clr:safe compiler
>> option, following the instructions from here:
>> http://www.mono-project.com/CPlusPlus
>
>> The console application works, but the asp web site does not.
>>
>> This is the error that I get on the web site:
>>
>> Parser Error
>> Description: Error parsing a resource required to service this request.
>> Review your source file and modify it to fix this error.
>> Error message:
>> Assembly Microsoft.VisualC, Version=8.0.0.0, Culture=neutral,
>> PublicKeyToken=B03F5F7F11D50A3A not found
>>
>> I know from trying to get the console application to work, that any CRT
>> dependancy is a problem, but if the C++ assembly depends on Microsoft
>> CRT, then why would the console application work?
>
> That error message implies that it's looking for the assembly
> Microsoft.VisualC.dll, which isn't the C runtime (MSVCRT.DLL, etc.), but
> a support assembly.
>
> Mono does provide a Microsoft.VisualC.dll assembly, and you likely don't
> have it installed. You need to install the libmono-microsoft7.0-cil
> and libmono-microsoft8.0-cil packages.
Thanks. I seem to have progressed to the next problem now.
Adelle.
More information about the Mono-list
mailing list