Visual Basic Application doesn't compile correctly

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

Visual Basic Application doesn't compile correctly

by Zeroc00l :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all, I'm Gioacchino

Cut the presentations over, here's my problem:

Building Project: TestLinux (Debug|Any CPU)
Performing main compilation...
Compiling resource «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx» with resgen2
Compiling resource «/home/zeroc00l/Projects/e-Working/TestForLinux/My Project/Resources.resx» with resgen2

Build failed. ApplicationName='vbnc', CommandLine='"@/tmp/tmp25b96a14.tmp"', CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux', PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games'

any suggestions?

Thanks anticipately!

Re: Visual Basic Application doesn't compile correctly

by Andy Hume :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It's likely that vbnc is producing some error that your IDE isn't showing you, although much work was done on that for 1.2.6 (what version are you using BTW?).  So for diagnosis we need to run vbnc directly.  You'll need to keep the .tmp file and then run the command again on it.  e.g. after the run below do:
    vbnc "@/tmp/tmp25b96a14.tmp"

Does your IDE (is it MonoDevelop?) have a "don't delete temp files after compile" option?  Otherwise you'll need some other way of keeping the .tmp 'response' file around... :-,)

Andy
 

> -----Original Message-----
> From: mono-vb-bounces@...
> [mailto:mono-vb-bounces@...] On Behalf Of Zeroc00l
> Sent: 17 December 2007 02:56
> To: mono-vb@...
> Subject: [mono-vb] Visual Basic Application doesn't compile correctly
>
>
> Hi all, I'm Gioacchino
>
> Cut the presentations over, here's my problem:
>
> Building Project: TestLinux (Debug|Any CPU) Performing main
> compilation...
> Compiling resource
> «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx»
> with resgen2 Compiling resource
> «/home/zeroc00l/Projects/e-Working/TestForLinux/My
> Project/Resources.resx» with resgen2
>
> Build failed. ApplicationName='vbnc',
> CommandLine='"@/tmp/tmp25b96a14.tmp"',
> CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux',
> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
> /bin:/usr/games'
>
> any suggestions?
>
> Thanks anticipately!
> --
> View this message in context:
> http://www.nabble.com/Visual-Basic-Application-doesn%27t-compi
> le-correctly-tp14369359p14369359.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: Visual Basic Application doesn't compile correctly

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

Reply to Author | View Threaded | Show Only this Message

Hi,

How are you building your application? And which version of mono / vbnc are you using?

Rolf

> -----Original Message-----
> From: mono-vb-bounces@... [mailto:mono-vb-
> bounces@...] On Behalf Of Zeroc00l
> Sent: lunes, 17 de diciembre de 2007 3:56
> To: mono-vb@...
> Subject: [mono-vb] Visual Basic Application doesn't compile correctly
>
>
> Hi all, I'm Gioacchino
>
> Cut the presentations over, here's my problem:
>
> Building Project: TestLinux (Debug|Any CPU) Performing main
> compilation...
> Compiling resource
> «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx» with
> resgen2 Compiling resource «/home/zeroc00l/Projects/e-
> Working/TestForLinux/My
> Project/Resources.resx» with resgen2
>
> Build failed. ApplicationName='vbnc',
> CommandLine='"@/tmp/tmp25b96a14.tmp"',
> CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux',
> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr
> /games'
>
> any suggestions?
>
> Thanks anticipately!
> --
> View this message in context: http://www.nabble.com/Visual-Basic-
> Application-doesn%27t-compile-correctly-tp14369359p14369359.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: Visual Basic Application doesn't compile correctly

by Zeroc00l :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI and thanks for the answers!

however here's my version of Mono and MonoDevelop

mono: 1.2.4
monodevelop: 0.14

This is an application wrote in VB8 on Visual Studio, then I wanted make
a porting of this application on Linux.

Bye

Il giorno lun, 17/12/2007 alle 16.13 +0100, Rolf Bjarne Kvinge ha
scritto:

> Hi,
>
> How are you building your application? And which version of mono / vbnc are you using?
>
> Rolf
>
> > -----Original Message-----
> > From: mono-vb-bounces@... [mailto:mono-vb-
> > bounces@...] On Behalf Of Zeroc00l
> > Sent: lunes, 17 de diciembre de 2007 3:56
> > To: mono-vb@...
> > Subject: [mono-vb] Visual Basic Application doesn't compile correctly
> >
> >
> > Hi all, I'm Gioacchino
> >
> > Cut the presentations over, here's my problem:
> >
> > Building Project: TestLinux (Debug|Any CPU) Performing main
> > compilation...
> > Compiling resource
> > «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx» with
> > resgen2 Compiling resource «/home/zeroc00l/Projects/e-
> > Working/TestForLinux/My
> > Project/Resources.resx» with resgen2
> >
> > Build failed. ApplicationName='vbnc',
> > CommandLine='"@/tmp/tmp25b96a14.tmp"',
> > CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux',
> > PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr
> > /games'
> >
> > any suggestions?
> >
> > Thanks anticipately!
> > --
> > View this message in context: http://www.nabble.com/Visual-Basic-
> > Application-doesn%27t-compile-correctly-tp14369359p14369359.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
>

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 In REGALO 'Meravigliosa Creatura' la super hit di GIANNA NANNINI
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6615&d=17-12
_______________________________________________
Mono-vb mailing list
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb

Re: Visual Basic Application doesn't compile correctly

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

Reply to Author | View Threaded | Show Only this Message



> -----Original Message-----
> From: Zeroc00l [mailto:joekill@...]
> Sent: lunes, 17 de diciembre de 2007 17:07
> To: Rolf Bjarne Kvinge
> Cc: mono-vb@...
> Subject: RE: [mono-vb] Visual Basic Application doesn't compile
> correctly
>
> HI and thanks for the answers!
>
> however here's my version of Mono and MonoDevelop
>
> mono: 1.2.4
> monodevelop: 0.14

A few issues that are known to cause this exact problem (failing to compile, but no visible errors) are fixed in the current versions of mono (1.2.6) and monodevelop (0.18 I think it is).

Rolf

>
> This is an application wrote in VB8 on Visual Studio, then I wanted
> make
> a porting of this application on Linux.
>
> Bye
>
> Il giorno lun, 17/12/2007 alle 16.13 +0100, Rolf Bjarne Kvinge ha
> scritto:
> > Hi,
> >
> > How are you building your application? And which version of mono /
> vbnc are you using?
> >
> > Rolf
> >
> > > -----Original Message-----
> > > From: mono-vb-bounces@... [mailto:mono-vb-
> > > bounces@...] On Behalf Of Zeroc00l
> > > Sent: lunes, 17 de diciembre de 2007 3:56
> > > To: mono-vb@...
> > > Subject: [mono-vb] Visual Basic Application doesn't compile
> correctly
> > >
> > >
> > > Hi all, I'm Gioacchino
> > >
> > > Cut the presentations over, here's my problem:
> > >
> > > Building Project: TestLinux (Debug|Any CPU) Performing main
> > > compilation...
> > > Compiling resource
> > > «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx» with
> > > resgen2 Compiling resource «/home/zeroc00l/Projects/e-
> > > Working/TestForLinux/My
> > > Project/Resources.resx» with resgen2
> > >
> > > Build failed. ApplicationName='vbnc',
> > > CommandLine='"@/tmp/tmp25b96a14.tmp"',
> > > CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux',
> > >
> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr
> > > /games'
> > >
> > > any suggestions?
> > >
> > > Thanks anticipately!
> > > --
> > > View this message in context: http://www.nabble.com/Visual-Basic-
> > > Application-doesn%27t-compile-correctly-tp14369359p14369359.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
> >
>
>
>
>  --
>  Email.it, the professional e-mail, gratis per te:
> http://www.email.it/f
>
>  Sponsor:
>  In REGALO 'Meravigliosa Creatura' la super hit di GIANNA NANNINI
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6615&d=17-12
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.17.4/1187 - Release Date:
> 16/12/2007 11:36


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

Re: Visual Basic Application doesn't compile correctly

by Zeroc00l :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andy, you say that I must give that command, but I don't know how.....I tried it on terminal but this command isn't recognized by the system, and so?

Andy Hume wrote:
It's likely that vbnc is producing some error that your IDE isn't showing you, although much work was done on that for 1.2.6 (what version are you using BTW?).  So for diagnosis we need to run vbnc directly.  You'll need to keep the .tmp file and then run the command again on it.  e.g. after the run below do:
    vbnc "@/tmp/tmp25b96a14.tmp"

Does your IDE (is it MonoDevelop?) have a "don't delete temp files after compile" option?  Otherwise you'll need some other way of keeping the .tmp 'response' file around... :-,)

Andy
 

> -----Original Message-----
> From: mono-vb-bounces@lists.ximian.com
> [mailto:mono-vb-bounces@lists.ximian.com] On Behalf Of Zeroc00l
> Sent: 17 December 2007 02:56
> To: mono-vb@lists.ximian.com
> Subject: [mono-vb] Visual Basic Application doesn't compile correctly
>
>
> Hi all, I'm Gioacchino
>
> Cut the presentations over, here's my problem:
>
> Building Project: TestLinux (Debug|Any CPU) Performing main
> compilation...
> Compiling resource
> «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx»
> with resgen2 Compiling resource
> «/home/zeroc00l/Projects/e-Working/TestForLinux/My
> Project/Resources.resx» with resgen2
>
> Build failed. ApplicationName='vbnc',
> CommandLine='"@/tmp/tmp25b96a14.tmp"',
> CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux',
> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
> /bin:/usr/games'
>
> any suggestions?
>
> Thanks anticipately!
> --
> View this message in context:
> http://www.nabble.com/Visual-Basic-Application-doesn%27t-compi
> le-correctly-tp14369359p14369359.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
>

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

Re: Visual Basic Application doesn't compile correctly

by Zeroc00l :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok Rolf I'll try to get mono and monodevelop to the latest version, but at this point I was wondering how to install it on Ubuntu, because I installed it from synaptic, this means that is it better if I uninstall all mono and monodevelop and try to install from source?

Rolf Bjarne Kvinge-2 wrote:

> -----Original Message-----
> From: Zeroc00l [mailto:joekill@email.it]
> Sent: lunes, 17 de diciembre de 2007 17:07
> To: Rolf Bjarne Kvinge
> Cc: mono-vb@lists.ximian.com
> Subject: RE: [mono-vb] Visual Basic Application doesn't compile
> correctly
>
> HI and thanks for the answers!
>
> however here's my version of Mono and MonoDevelop
>
> mono: 1.2.4
> monodevelop: 0.14

A few issues that are known to cause this exact problem (failing to compile, but no visible errors) are fixed in the current versions of mono (1.2.6) and monodevelop (0.18 I think it is).

Rolf

>
> This is an application wrote in VB8 on Visual Studio, then I wanted
> make
> a porting of this application on Linux.
>
> Bye
>
> Il giorno lun, 17/12/2007 alle 16.13 +0100, Rolf Bjarne Kvinge ha
> scritto:
> > Hi,
> >
> > How are you building your application? And which version of mono /
> vbnc are you using?
> >
> > Rolf
> >
> > > -----Original Message-----
> > > From: mono-vb-bounces@lists.ximian.com [mailto:mono-vb-
> > > bounces@lists.ximian.com] On Behalf Of Zeroc00l
> > > Sent: lunes, 17 de diciembre de 2007 3:56
> > > To: mono-vb@lists.ximian.com
> > > Subject: [mono-vb] Visual Basic Application doesn't compile
> correctly
> > >
> > >
> > > Hi all, I'm Gioacchino
> > >
> > > Cut the presentations over, here's my problem:
> > >
> > > Building Project: TestLinux (Debug|Any CPU) Performing main
> > > compilation...
> > > Compiling resource
> > > «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx» with
> > > resgen2 Compiling resource «/home/zeroc00l/Projects/e-
> > > Working/TestForLinux/My
> > > Project/Resources.resx» with resgen2
> > >
> > > Build failed. ApplicationName='vbnc',
> > > CommandLine='"@/tmp/tmp25b96a14.tmp"',
> > > CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux',
> > >
> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr
> > > /games'
> > >
> > > any suggestions?
> > >
> > > Thanks anticipately!
> > > --
> > > View this message in context: http://www.nabble.com/Visual-Basic-
> > > Application-doesn%27t-compile-correctly-tp14369359p14369359.html
> > > Sent from the Mono - VB mailing list archive at Nabble.com.
> > >
> > > _______________________________________________
> > > Mono-vb mailing list
> > > Mono-vb@lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-vb
> >
>
>
>
>  --
>  Email.it, the professional e-mail, gratis per te:
> http://www.email.it/f
>
>  Sponsor:
>  In REGALO 'Meravigliosa Creatura' la super hit di GIANNA NANNINI
>  Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6615&d=17-12
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.17.4/1187 - Release Date:
> 16/12/2007 11:36


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

Re: Visual Basic Application doesn't compile correctly

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

Reply to Author | View Threaded | Show Only this Message



> -----Original Message-----
> From: mono-vb-bounces@... [mailto:mono-vb-
> bounces@...] On Behalf Of Zeroc00l
> Sent: martes, 18 de diciembre de 2007 11:12
> To: mono-vb@...
> Subject: Re: [mono-vb] Visual Basic Application doesn't compile
> correctly
>
>
> Ok Rolf I'll try to get mono and monodevelop to the latest version, but
> at this point I was wondering how to install it on Ubuntu, because I
> installed it from synaptic, this means that is it better if I uninstall
> all mono and monodevelop and try to install from source?

If you want to install from source you do not have to uninstall your current mono version.

See http://www.mono-project.com/Compiling_Mono for more detailed instructions.

Rolf

>
>
> Rolf Bjarne Kvinge-2 wrote:
> >
> >
> >
> >> -----Original Message-----
> >> From: Zeroc00l [mailto:joekill@...]
> >> Sent: lunes, 17 de diciembre de 2007 17:07
> >> To: Rolf Bjarne Kvinge
> >> Cc: mono-vb@...
> >> Subject: RE: [mono-vb] Visual Basic Application doesn't compile
> >> correctly
> >>
> >> HI and thanks for the answers!
> >>
> >> however here's my version of Mono and MonoDevelop
> >>
> >> mono: 1.2.4
> >> monodevelop: 0.14
> >
> > A few issues that are known to cause this exact problem (failing to
> > compile, but no visible errors) are fixed in the current versions of
> > mono
> > (1.2.6) and monodevelop (0.18 I think it is).
> >
> > Rolf
> >
> >>
> >> This is an application wrote in VB8 on Visual Studio, then I wanted
> >> make a porting of this application on Linux.
> >>
> >> Bye
> >>
> >> Il giorno lun, 17/12/2007 alle 16.13 +0100, Rolf Bjarne Kvinge ha
> >> scritto:
> >> > Hi,
> >> >
> >> > How are you building your application? And which version of mono /
> >> vbnc are you using?
> >> >
> >> > Rolf
> >> >
> >> > > -----Original Message-----
> >> > > From: mono-vb-bounces@... [mailto:mono-vb-
> >> > > bounces@...] On Behalf Of Zeroc00l
> >> > > Sent: lunes, 17 de diciembre de 2007 3:56
> >> > > To: mono-vb@...
> >> > > Subject: [mono-vb] Visual Basic Application doesn't compile
> >> correctly
> >> > >
> >> > >
> >> > > Hi all, I'm Gioacchino
> >> > >
> >> > > Cut the presentations over, here's my problem:
> >> > >
> >> > > Building Project: TestLinux (Debug|Any CPU) Performing main
> >> > > compilation...
> >> > > Compiling resource
> >> > > «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx» with
> >> > > resgen2 Compiling resource «/home/zeroc00l/Projects/e-
> >> > > Working/TestForLinux/My Project/Resources.resx» with resgen2
> >> > >
> >> > > Build failed. ApplicationName='vbnc',
> >> > > CommandLine='"@/tmp/tmp25b96a14.tmp"',
> >> > > CurrentDirectory='/home/zeroc00l/Projects/e-
> Working/TestForLinux'
> >> > > ,
> >> > >
> >>
> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/u
> >> sr
> >> > > /games'
> >> > >
> >> > > any suggestions?
> >> > >
> >> > > Thanks anticipately!
> >> > > --
> >> > > View this message in context: http://www.nabble.com/Visual-
> Basic-
> >> > > Application-doesn%27t-compile-correctly-tp14369359p14369359.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
> >> >
> >>
> >>
> >>
> >>  --
> >>  Email.it, the professional e-mail, gratis per te:
> >> http://www.email.it/f
> >>
> >>  Sponsor:
> >>  In REGALO 'Meravigliosa Creatura' la super hit di GIANNA NANNINI
> >> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6615&d=17-12
> >>
> >>
> >> --
> >> No virus found in this incoming message.
> >> Checked by AVG Free Edition.
> >> Version: 7.5.503 / Virus Database: 269.17.4/1187 - Release Date:
> >> 16/12/2007 11:36
> >
> >
> > _______________________________________________
> > Mono-vb mailing list
> > Mono-vb@...
> > http://lists.ximian.com/mailman/listinfo/mono-vb
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Visual-Basic-
> Application-doesn%27t-compile-correctly-tp14369359p14390529.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: Visual Basic Application doesn't compile correctly

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

Reply to Author | View Threaded | Show Only this Message



> -----Original Message-----
> From: mono-vb-bounces@... [mailto:mono-vb-
> bounces@...] On Behalf Of Zeroc00l
> Sent: martes, 18 de diciembre de 2007 12:13
> To: mono-vb@...
> Subject: Re: [mono-vb] Visual Basic Application doesn't compile
> correctly
>
>
> Hi Andy, you say that I must give that command, but I don't know
> how.....I tried it on terminal but this command isn't recognized by the
> system, and so?

If the command 'vbnc' isn't recognized in a terminal, it's because you don't have the vb compiler (vbnc) installed - you need to install the mono-basic package.

Rolf

>
>
> Andy Hume wrote:
> >
> > It's likely that vbnc is producing some error that your IDE isn't
> > showing you, although much work was done on that for 1.2.6 (what
> > version are you using BTW?).  So for diagnosis we need to run vbnc
> > directly.  You'll need to keep the .tmp file and then run the command
> > again on it.  e.g. after the run below do:
> >     vbnc "@/tmp/tmp25b96a14.tmp"
> >
> > Does your IDE (is it MonoDevelop?) have a "don't delete temp files
> > after compile" option?  Otherwise you'll need some other way of
> > keeping the .tmp 'response' file around... :-,)
> >
> > Andy
> >
> >
> >> -----Original Message-----
> >> From: mono-vb-bounces@...
> >> [mailto:mono-vb-bounces@...] On Behalf Of Zeroc00l
> >> Sent: 17 December 2007 02:56
> >> To: mono-vb@...
> >> Subject: [mono-vb] Visual Basic Application doesn't compile
> correctly
> >>
> >>
> >> Hi all, I'm Gioacchino
> >>
> >> Cut the presentations over, here's my problem:
> >>
> >> Building Project: TestLinux (Debug|Any CPU) Performing main
> >> compilation...
> >> Compiling resource
> >> «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx»
> >> with resgen2 Compiling resource
> >> «/home/zeroc00l/Projects/e-Working/TestForLinux/My
> >> Project/Resources.resx» with resgen2
> >>
> >> Build failed. ApplicationName='vbnc',
> >> CommandLine='"@/tmp/tmp25b96a14.tmp"',
> >> CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux',
> >> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
> >> /bin:/usr/games'
> >>
> >> any suggestions?
> >>
> >> Thanks anticipately!
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Visual-Basic-Application-doesn%27t-compi
> >> le-correctly-tp14369359p14369359.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
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Visual-Basic-
> Application-doesn%27t-compile-correctly-tp14369359p14390527.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: Visual Basic Application doesn't compile correctly

by Zeroc00l :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Rolf once again!

So this is the situation, I installed OpenSUSE 10.3 in one of my systems, because I saw that RPMS packages are more updated than DEBS, everything fine, also the Mono installation, a part some little problems. However now I have mono 1.2.6 and mono develop at the latest version, in fact the precedent error after the compiling has gone away, now I have a new error that i think depends from an incorrect installation of some library, this is the error:

The library 'System.Deployment' could not be found.(: VBNC2017)

I searched on Google, but nothing of relevent, a part a file wrotten by you, if I'm correct...any suggestions.
And thanks again!

Rolf Bjarne Kvinge-2 wrote:

> -----Original Message-----
> From: mono-vb-bounces@lists.ximian.com [mailto:mono-vb-
> bounces@lists.ximian.com] On Behalf Of Zeroc00l
> Sent: martes, 18 de diciembre de 2007 12:13
> To: mono-vb@lists.ximian.com
> Subject: Re: [mono-vb] Visual Basic Application doesn't compile
> correctly
>
>
> Hi Andy, you say that I must give that command, but I don't know
> how.....I tried it on terminal but this command isn't recognized by the
> system, and so?

If the command 'vbnc' isn't recognized in a terminal, it's because you don't have the vb compiler (vbnc) installed - you need to install the mono-basic package.

Rolf
>
>
> Andy Hume wrote:
> >
> > It's likely that vbnc is producing some error that your IDE isn't
> > showing you, although much work was done on that for 1.2.6 (what
> > version are you using BTW?).  So for diagnosis we need to run vbnc
> > directly.  You'll need to keep the .tmp file and then run the command
> > again on it.  e.g. after the run below do:
> >     vbnc "@/tmp/tmp25b96a14.tmp"
> >
> > Does your IDE (is it MonoDevelop?) have a "don't delete temp files
> > after compile" option?  Otherwise you'll need some other way of
> > keeping the .tmp 'response' file around... :-,)
> >
> > Andy
> >
> >
> >> -----Original Message-----
> >> From: mono-vb-bounces@lists.ximian.com
> >> [mailto:mono-vb-bounces@lists.ximian.com] On Behalf Of Zeroc00l
> >> Sent: 17 December 2007 02:56
> >> To: mono-vb@lists.ximian.com
> >> Subject: [mono-vb] Visual Basic Application doesn't compile
> correctly
> >>
> >>
> >> Hi all, I'm Gioacchino
> >>
> >> Cut the presentations over, here's my problem:
> >>
> >> Building Project: TestLinux (Debug|Any CPU) Performing main
> >> compilation...
> >> Compiling resource
> >> «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx»
> >> with resgen2 Compiling resource
> >> «/home/zeroc00l/Projects/e-Working/TestForLinux/My
> >> Project/Resources.resx» with resgen2
> >>
> >> Build failed. ApplicationName='vbnc',
> >> CommandLine='"@/tmp/tmp25b96a14.tmp"',
> >> CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux',
> >> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
> >> /bin:/usr/games'
> >>
> >> any suggestions?
> >>
> >> Thanks anticipately!
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Visual-Basic-Application-doesn%27t-compi
> >> le-correctly-tp14369359p14369359.html
> >> Sent from the Mono - VB mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> Mono-vb mailing list
> >> Mono-vb@lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/mono-vb
> >>
> >
> > _______________________________________________
> > Mono-vb mailing list
> > Mono-vb@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-vb
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Visual-Basic-
> Application-doesn%27t-compile-correctly-tp14369359p14390527.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb

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

Re: [Bulk] Re: Visual Basic Application doesn't compile correctly

by Andy Hume :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good to hear you're making progress.

Just remove the reference to that assembly.  VS adds it by default but it's very very unlikely that you're using it.

Andy

 

> -----Original Message-----
> From: mono-vb-bounces@...
> [mailto:mono-vb-bounces@...] On Behalf Of Zeroc00l
> Sent: 20 December 2007 11:36
> To: mono-vb@...
> Subject: [Bulk] Re: [mono-vb] Visual Basic Application
> doesn't compile correctly
>
>
> Hi Rolf once again!
>
> So this is the situation, I installed OpenSUSE 10.3 in one of
> my systems, because I saw that RPMS packages are more updated
> than DEBS, everything fine, also the Mono installation, a
> part some little problems. However now I have mono 1.2.6 and
> mono develop at the latest version, in fact the precedent
> error after the compiling has gone away, now I have a new
> error that i think depends from an incorrect installation of
> some library, this is the error:
>
> The library 'System.Deployment' could not be found.(: VBNC2017)
>
> I searched on Google, but nothing of relevent, a part a file
> wrotten by you, if I'm correct...any suggestions.
> And thanks again!
>
>
> Rolf Bjarne Kvinge-2 wrote:
> >
> >
> >
> >> -----Original Message-----
> >> From: mono-vb-bounces@... [mailto:mono-vb-
> >> bounces@...] On Behalf Of Zeroc00l
> >> Sent: martes, 18 de diciembre de 2007 12:13
> >> To: mono-vb@...
> >> Subject: Re: [mono-vb] Visual Basic Application doesn't compile
> >> correctly
> >>
> >>
> >> Hi Andy, you say that I must give that command, but I don't know
> >> how.....I tried it on terminal but this command isn't
> recognized by
> >> the system, and so?
> >
> > If the command 'vbnc' isn't recognized in a terminal, it's
> because you
> > don't have the vb compiler (vbnc) installed - you need to
> install the
> > mono-basic package.
> >
> > Rolf
> >>
> >>
> >> Andy Hume wrote:
> >> >
> >> > It's likely that vbnc is producing some error that your
> IDE isn't
> >> > showing you, although much work was done on that for 1.2.6 (what
> >> > version are you using BTW?).  So for diagnosis we need
> to run vbnc
> >> > directly.  You'll need to keep the .tmp file and then run the
> >> > command again on it.  e.g. after the run below do:
> >> >     vbnc "@/tmp/tmp25b96a14.tmp"
> >> >
> >> > Does your IDE (is it MonoDevelop?) have a "don't delete
> temp files
> >> > after compile" option?  Otherwise you'll need some other way of
> >> > keeping the .tmp 'response' file around... :-,)
> >> >
> >> > Andy
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: mono-vb-bounces@...
> >> >> [mailto:mono-vb-bounces@...] On Behalf Of Zeroc00l
> >> >> Sent: 17 December 2007 02:56
> >> >> To: mono-vb@...
> >> >> Subject: [mono-vb] Visual Basic Application doesn't compile
> >> correctly
> >> >>
> >> >>
> >> >> Hi all, I'm Gioacchino
> >> >>
> >> >> Cut the presentations over, here's my problem:
> >> >>
> >> >> Building Project: TestLinux (Debug|Any CPU) Performing main
> >> >> compilation...
> >> >> Compiling resource
> >> >> «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx»
> >> >> with resgen2 Compiling resource
> >> >> «/home/zeroc00l/Projects/e-Working/TestForLinux/My
> >> >> Project/Resources.resx» with resgen2
> >> >>
> >> >> Build failed. ApplicationName='vbnc',
> >> >> CommandLine='"@/tmp/tmp25b96a14.tmp"',
> >> >>
> CurrentDirectory='/home/zeroc00l/Projects/e-Working/TestForLinux',
> >> >> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
> >> >> /bin:/usr/games'
> >> >>
> >> >> any suggestions?
> >> >>
> >> >> Thanks anticipately!
> >> >> --
> >> >> View this message in context:
> >> >> http://www.nabble.com/Visual-Basic-Application-doesn%27t-compi
> >> >> le-correctly-tp14369359p14369359.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
> >> >
> >> >
> >>
> >> --
> >> View this message in context: http://www.nabble.com/Visual-Basic-
> >> Application-doesn%27t-compile-correctly-tp14369359p14390527.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
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Visual-Basic-Application-doesn%27t-compi
le-correctly-tp14369359p14434691.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: Visual Basic Application doesn't compile correctly

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

Reply to Author | View Threaded | Show Only this Message


Hi,

> Hi Rolf once again!
>
> So this is the situation, I installed OpenSUSE 10.3 in one of my
> systems, because I saw that RPMS packages are more updated than DEBS,
> everything fine, also the Mono installation, a part some little
> problems. However now I have mono 1.2.6 and mono develop at the latest
> version, in fact the precedent error after the compiling has gone away,
> now I have a new error that i think depends from an incorrect
> installation of some library, this is the error:
>
> The library 'System.Deployment' could not be found.(: VBNC2017)

Are you using System.Deployment.dll in your project? (probably yes if you have a ClickOnce application).
- If no, just remove the reference and try again.
- If yes, you won't be able to build or run your app on mono, since ClickOnce isn't implemented (nor is System.Deployment.dll).
- If in doubt, just remove the reference and see what happens :)

Rolf

>
> I searched on Google, but nothing of relevent, a part a file wrotten by
> you, if I'm correct...any suggestions.
> And thanks again!
>
>
> Rolf Bjarne Kvinge-2 wrote:
> >
> >
> >
> >> -----Original Message-----
> >> From: mono-vb-bounces@... [mailto:mono-vb-
> >> bounces@...] On Behalf Of Zeroc00l
> >> Sent: martes, 18 de diciembre de 2007 12:13
> >> To: mono-vb@...
> >> Subject: Re: [mono-vb] Visual Basic Application doesn't compile
> >> correctly
> >>
> >>
> >> Hi Andy, you say that I must give that command, but I don't know
> >> how.....I tried it on terminal but this command isn't recognized by
> >> the system, and so?
> >
> > If the command 'vbnc' isn't recognized in a terminal, it's because
> you
> > don't have the vb compiler (vbnc) installed - you need to install the
> > mono-basic package.
> >
> > Rolf
> >>
> >>
> >> Andy Hume wrote:
> >> >
> >> > It's likely that vbnc is producing some error that your IDE isn't
> >> > showing you, although much work was done on that for 1.2.6 (what
> >> > version are you using BTW?).  So for diagnosis we need to run vbnc
> >> > directly.  You'll need to keep the .tmp file and then run the
> >> > command again on it.  e.g. after the run below do:
> >> >     vbnc "@/tmp/tmp25b96a14.tmp"
> >> >
> >> > Does your IDE (is it MonoDevelop?) have a "don't delete temp files
> >> > after compile" option?  Otherwise you'll need some other way of
> >> > keeping the .tmp 'response' file around... :-,)
> >> >
> >> > Andy
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: mono-vb-bounces@...
> >> >> [mailto:mono-vb-bounces@...] On Behalf Of Zeroc00l
> >> >> Sent: 17 December 2007 02:56
> >> >> To: mono-vb@...
> >> >> Subject: [mono-vb] Visual Basic Application doesn't compile
> >> correctly
> >> >>
> >> >>
> >> >> Hi all, I'm Gioacchino
> >> >>
> >> >> Cut the presentations over, here's my problem:
> >> >>
> >> >> Building Project: TestLinux (Debug|Any CPU) Performing main
> >> >> compilation...
> >> >> Compiling resource
> >> >> «/home/zeroc00l/Projects/e-Working/TestForLinux/Form1.resx»
> >> >> with resgen2 Compiling resource
> >> >> «/home/zeroc00l/Projects/e-Working/TestForLinux/My
> >> >> Project/Resources.resx» with resgen2
> >> >>
> >> >> Build failed. ApplicationName='vbnc',
> >> >> CommandLine='"@/tmp/tmp25b96a14.tmp"',
> >> >> CurrentDirectory='/home/zeroc00l/Projects/e-
> Working/TestForLinux',
> >> >> PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
> >> >> /bin:/usr/games'
> >> >>
> >> >> any suggestions?
> >> >>
> >> >> Thanks anticipately!
> >> >> --
> >> >> View this message in context:
> >> >> http://www.nabble.com/Visual-Basic-Application-doesn%27t-compi
> >> >> le-correctly-tp14369359p14369359.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
> >> >
> >> >
> >>
> >> --
> >> View this message in context: http://www.nabble.com/Visual-Basic-
> >> Application-doesn%27t-compile-correctly-tp14369359p14390527.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
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Visual-Basic-
> Application-doesn%27t-compile-correctly-tp14369359p14434691.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