473,573 Members | 2,918 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do you see the compiler command line in VB.NET?

Despite advances in devstudio .NET building large projects can still be
difficult.
Is there a way, perhaps using EnvDev class or some other class that
would allow output of the "command line" that is being used to compile
a VB.NET project (c.f. C++ which shows this under project
options/Linker). This would be very useful as one could
explicitly see which assemblies were being included in each project; it
would also be a good starting point to complete custom complex builds
via command line difficult in the IDE.
Thanks very much for any help.
Ben Dobson
Software Engineer
Beacon-ct.co.uk

Nov 21 '05 #1
4 2186
AFAIK no; you can use devenv.exe to perform command-line builds, but you
need to pass the configuration name (Debug, Release, etc.).

Maybe you can use the compiler/linker of the .NET Framework SDK.

--
Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

<bi*******@hotm ail.com> escribió en el mensaje
news:11******** **************@ o13g2000cwo.goo glegroups.com.. .
Despite advances in devstudio .NET building large projects can still be
difficult.
Is there a way, perhaps using EnvDev class or some other class that
would allow output of the "command line" that is being used to compile
a VB.NET project (c.f. C++ which shows this under project
options/Linker). This would be very useful as one could
explicitly see which assemblies were being included in each project; it
would also be a good starting point to complete custom complex builds
via command line difficult in the IDE.
Thanks very much for any help.
Ben Dobson
Software Engineer
Beacon-ct.co.uk

Nov 21 '05 #2
Thank you very much Carlos for taking the time to reply to my post.

Indeed one can use the vb compiler to build .net solutions. And I have
done this with simple solutions.
However what I am after are the arguments that dev studio itself
produces when it compiles a solution. I may be wrong in thinking that
dev studio uses this command line compiler itself (or something very
similar) when it compiles projects/solutions. But even if I am, I would
still like to see the command line that WOULD be neccesary to build a
solution using the command line compliler(dev studio knows how to build
a solution: I want it to tell me how it is doing this).
Why? Because we are having difficulties building complicated solutions
on different machines. If I could see a command line, like the one you
see in project/linker of C++ project, then I could (I hope) see which
dll/reference incompatability is causing a build to break.
I have read about team development at msdn, such issues as copy local
option for dlls, GAC deployment etc. But what I want is for dev studio
to tell me what it is doing (and therefore what we are doing wrong)
when it tries to build a solution.

Thank you to anyone who chips in (and thanks again to Carlos)
Ben Dobson
Software Engineer
Beacon-ct.co.uk

Nov 21 '05 #3
On 12 Jul 2005 05:51:41 -0700, bi*******@hotma il.com wrote:
Despite advances in devstudio .NET building large projects can still be
difficult.
Is there a way, perhaps using EnvDev class or some other class that
would allow output of the "command line" that is being used to compile
a VB.NET project (c.f. C++ which shows this under project
options/Linker). This would be very useful as one could
explicitly see which assemblies were being included in each project; it
would also be a good starting point to complete custom complex builds
via command line difficult in the IDE.
Thanks very much for any help.
Ben Dobson
Software Engineer
Beacon-ct.co.uk


http://blogs.msdn.com/csharpfaq/arch...30/272587.aspx
Nov 21 '05 #4
Thank you very much Ross.

This seems about as definative as its gets. I will now turn my
attension to NAnt to see if that will make 2003 building easier.

Thanks again.
Ben Dobson
Software Engineer
Beacon-ct.co.uk.

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
4861
by: Christo | last post by:
hey im a student about to start a course in c++ at uni, we have been told to obtain a copy of borland c++ 5.01 (not c++ builder) this is just a program with a compiler/linker and development environment. it is simply called borland c++ 5.01 can anyone tell me where i can download either a free copy or a copy that needs registering or...
9
4547
by: happy | last post by:
I need to download Command line C compiler ASAP ? Where can I find the latest and moden one ?
4
1624
by: Francesco Martinelli | last post by:
I need to create a multiple file assemby: this requires working directly with the command line compiler (no IDE support!). After a few tests I found my problem comes from the issue described below. Thank you in advance for any suggestion? === The project is a nearly empty Windows Form project, and the compilation works fine as far as there...
10
3260
by: PufferFish | last post by:
Hi folks, I hope that this is the correct group for these things, apologies if not. I've got a strange compiler error. It appears to be similar to the issue described in knowledgebase article 320004 except that particular problem was
3
4910
by: michael | last post by:
How can I compile my VS.NET ASP.NET project from the command line?
7
6629
by: Mark Carrington | last post by:
I'm developing a web app in .NET 2 using C#, and occasionally see this error, apparently something to do with the theme used on the site: Compiler Error Message: The compiler failed with error code 1. Clicking the "Show Detailed Compiler Output" link on the error page shows a large command line that looks like it's using the vbc compiler...
1
3755
by: kvarada | last post by:
Hello Experts, I am building my application on WinNT.4.0_i386_MSVC.7.1 platform. When I build the application on a stand alone machine, it builds fine. But when I build the same application from a linux box using rsh it gives me the errors below Microsoft (R) Development Environment Version 7.10.3077. Copyright (C) Microsoft Corp...
13
4188
by: rufus | last post by:
Is there a C++ compiler for windows that can be run from the commmandline? I have only be able to find MS Visual Studio but its rather overkill since I also like to just use notepad for my code.
87
3274
by: rufus | last post by:
Is there a C-compiler (and for that matter C++ compiler) for windows that can be run from the commmand line?
0
7694
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8021
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8202
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7787
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5593
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3732
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3733
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2213
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1303
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.