Need to run VB .net small app under mono at ARM processor

View: New views
9 Messages — Rating Filter:   Alert me  

Need to run VB .net small app under mono at ARM processor

by Nicodem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I got installed mono at my ARM based NAS (QNAP).
I have .exe file that was written in VBasic .NET.
When I simply try to run it with:
mono act.exe (name of program)
then I receive an error listed below.
Im totally newbie in mono. Do I start it properly or I cant run .exe file?
What should I do to make it run?

** (act.exe:22528): WARNING **: The following assembly referenced from act.exe could not be loaded:
     Assembly:   Microsoft.VisualBasic    (assemblyref_index=1)
     Version:    8.0.0.0
     Public Key: b03f5f7f11d50a3a
System error: Success


** (act.exe:22528): WARNING **: Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

** (act.exe:22528): WARNING **: Missing method Split in assembly act.exe, type Microsoft.VisualBasic.Strings

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
File name: 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'



Re: Need to run VB .net small app under mono at ARM processor

by Easy_Rider9999 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Nicodem wrote:

** (act.exe:22528): WARNING **: The following assembly referenced from act.exe could not be loaded:
     Assembly:   Microsoft.VisualBasic    (assemblyref_index=1)
     Version:    8.0.0.0
     Public Key: b03f5f7f11d50a3a
System error: Success
You need to install mono-basic!

Regards Hans

Re: Need to run VB .net small app under mono at ARM processor

by Nicodem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Easy_Rider9999 wrote:
You need to install mono-basic!

Regards Hans
Hi
I have found in ipkg mono only, there is no mono-basic.
Any chance finding compiled for ARM mono-basic?


Re: Need to run VB .net small app under mono at ARM processor

by Easy_Rider9999 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Nicodem wrote:
Hi
I have found in ipkg mono only, there is no mono-basic.
Any chance finding compiled for ARM mono-basic?
I guess you have to install from source: http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.4.2.tar.bz2   Normally the following procedure is sufficient:

sudo -s

./configure && make && make install


Regards Hans

Re: Need to run VB .net small app under mono at ARM processor

by Nicodem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Easy_Rider9999 wrote:
Nicodem wrote:
Hi
I have found in ipkg mono only, there is no mono-basic.
Any chance finding compiled for ARM mono-basic?
I guess you have to install from source: http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.4.2.tar.bz2   Normally the following procedure is sufficient:

sudo -s

./configure && make && make install


Regards Hans
Installed. I have vbnc which is a compiler. Recompiled from .vbs file.
But it makes executable which cannot be run in linux.
How to run such compiled .exe file?

Re: Need to run VB .net small app under mono at ARM processor

by Rafael Teixeira :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

run with mono:

mono yourapp.exe

hope it helps,

Rafael "Monoman" Teixeira
---------------------------------------
"To be creative means to be in love with life. You can be creative
only if you love life enough that you want to enhance its beauty, you
want to bring a little more music to it, a little more poetry to it, a
little more dance to it."
Osho



On Wed, Sep 30, 2009 at 6:27 PM, Nicodem <nicodempl@...> wrote:

>
>
>
> Easy_Rider9999 wrote:
>>
>>
>>
>> Nicodem wrote:
>>>
>>>
>>> Hi
>>> I have found in ipkg mono only, there is no mono-basic.
>>> Any chance finding compiled for ARM mono-basic?
>>>
>>>
>>>
>> I guess you have to install from source:
>> http://ftp.novell.com/pub/mono/sources/mono-basic/mono-basic-2.4.2.tar.bz2
>> Normally the following procedure is sufficient:
>>
>> sudo -s
>>
>> ./configure && make && make install
>>
>>
>> Regards Hans
>>
>
> Installed. I have vbnc which is a compiler. Recompiled from .vbs file.
> But it makes executable which cannot be run in linux.
> How to run such compiled .exe file?
>
> --
> View this message in context: http://www.nabble.com/Need-to-run-VB-.net-small-app-under-mono-at-ARM-processor-tp25676975p25689344.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb@...
> http://lists.ximian.com/mailman/listinfo/mono-vb
>
_______________________________________________
Mono-vb mailing list
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb

Re: Need to run VB .net small app under mono at ARM processor

by Nicodem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Rafael Teixeira wrote:
run with mono:

mono yourapp.exe

hope it helps,

Rafael "Monoman" Teixeira
No, I got the same error as at the beginning.
But now I think I know what is a problem.
mono package from ipkg was installed via ipkg install and it stays in /opt/bin
but installed mono-basic is placed in another place.

perhaps showing that mono should use visual basic runtime would be a good idea
How should I 'show' mono what runtime should it use?

I need to run mono and point him using installed mono-basic runtimes


Re: Need to run VB .net small app under mono at ARM processor

by Rolf Bjarne Kvinge-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> Rafael Teixeira wrote:
> >
> > run with mono:
> >
> > mono yourapp.exe
> >
> > hope it helps,
> >
> > Rafael "Monoman" Teixeira
> >
>
> No, I got the same error as at the beginning.
> But now I think I know what is a problem.
> mono package from ipkg was installed via ipkg install and it stays in
> /opt/bin
> but installed mono-basic is placed in another place.

Configure might have chosen a different/wrong path, try the following:

./configure --prefix=/opt && make && make install

(note that I'm not certain /opt is the correct path for you, the
Microsoft.VisualBasic.dll assembly will get installed into
$(prefix)/lib/mono/gac/Microsoft.VisualBasic/, so you ensure that prefix is
set to the correct path)

Rolf

>
> perhaps showing that mono should use visual basic runtime would be a
> good
> idea
> How should I 'show' mono what runtime should it use?
>
> I need to run mono and point him using installed mono-basic runtimes
>
>
> --
> View this message in context: http://www.nabble.com/Need-to-run-VB-
> .net-small-app-under-mono-at-ARM-processor-tp25676975p25693448.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb@...
> http://lists.ximian.com/mailman/listinfo/mono-vb

_______________________________________________
Mono-vb mailing list
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb

Re: Need to run VB .net small app under mono at ARM processor

by Nicodem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Rolf Bjarne Kvinge-2 wrote:
Configure might have chosen a different/wrong path, try the following:

./configure --prefix=/opt && make && make install

(note that I'm not certain /opt is the correct path for you, the
Microsoft.VisualBasic.dll assembly will get installed into
$(prefix)/lib/mono/gac/Microsoft.VisualBasic/, so you ensure that prefix is
set to the correct path)
Thanks!
I have tried building from scratch whole mono - did not worked out for me.
But copying to /gac directory of ikpg mono package files from compiled mono-basic did worked!
I have successfully compiled .vb program at ARM processor and now its doing it job via mono.
Thanks a lot!