473,785 Members | 2,831 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 2203
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
4872
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 someething, i can only find c++ builder which is totally different from the program i have seen in...
9
4556
by: happy | last post by:
I need to download Command line C compiler ASAP ? Where can I find the latest and moden one ?
4
1633
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 is no bitmap in the project form. I have to use the command line compiler and I use the following...
10
3286
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
4918
by: michael | last post by:
How can I compile my VS.NET ASP.NET project from the command line?
7
6648
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 to build the auto-generated theme code, but doesn't display any useful error messages. Executing...
1
3778
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 1984-2001. All rights reserved. ------ Build started: Project: SigComp, Configuration: Release Win32 ------...
13
4207
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
3378
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
10324
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10090
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9949
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8971
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5380
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4050
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
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.