473,804 Members | 3,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compiler steps details question

Hi,

I created a COM object in C# and everything works fine on my machine. Now,
the compiler gives me the following messages when compiling my code:

------ Rebuild All started: Project: SI, Configuration: Debug .NET ------

Unregistering previous project output for COM Interop...
Preparing resources...
Updating references...
Performing main compilation...
c:\_dev\dotnet\ svd_proxy\si\si .cs(72,4): warning CS0168: The variable 'we'
is declared but never used
c:\_dev\dotnet\ svd_proxy\si\si .cs(101,4): warning CS0168: The variable 'e'
is declared but never used

Build complete -- 0 errors, 2 warnings
Building satellite assemblies...
Registering project output for COM Interop...

Is it possible to have the details of the steps involved (the commands that
are actually issued)? Specifically, I'd like to know the exact commands sent
to the compiler during the "performing main compilation..." step and all that
occurs during the unregistration/registration steps of the COM object.

Is that possible/available?

Thanks a lot,

Skip.
Nov 16 '05 #1
1 2464
Skip,

With the compiler as it exists, no, it is not possible. However, with
..NET 2.0, VS.NET 2005 will use the MSBUILD system to handle all of the
building of the project. Your project file will have all the steps and
tasks that are required. You can go in, modify them, and output whatever
you want.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Skip" <Sk**@discussio ns.microsoft.co m> wrote in message
news:8A******** *************** ***********@mic rosoft.com...
Hi,

I created a COM object in C# and everything works fine on my machine.
Now,
the compiler gives me the following messages when compiling my code:

------ Rebuild All started: Project: SI, Configuration: Debug .NET ------

Unregistering previous project output for COM Interop...
Preparing resources...
Updating references...
Performing main compilation...
c:\_dev\dotnet\ svd_proxy\si\si .cs(72,4): warning CS0168: The variable 'we'
is declared but never used
c:\_dev\dotnet\ svd_proxy\si\si .cs(101,4): warning CS0168: The variable 'e'
is declared but never used

Build complete -- 0 errors, 2 warnings
Building satellite assemblies...
Registering project output for COM Interop...

Is it possible to have the details of the steps involved (the commands
that
are actually issued)? Specifically, I'd like to know the exact commands
sent
to the compiler during the "performing main compilation..." step and all
that
occurs during the unregistration/registration steps of the COM object.

Is that possible/available?

Thanks a lot,

Skip.

Nov 16 '05 #2

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

Similar topics

2
2982
by: Ryan Mitchley | last post by:
Hi all I have code for an object factory, heavily based on an article by Jim Hyslop (although I've made minor modifications). The factory was working fine using g++, but since switching to the Intel compiler it has stopped working. I think the singleton pattern static instance thing may be at the root of the problem, but I'm not sure. I had to add calls to instance() in regCreateFn, which gets the behaviour more in line with what I was...
5
3340
by: fayyaz | last post by:
I need to install C# compiler, could you please help me the steps? I got .net framework installed, because I have been learing ASP.NET on my own.What else needed to be installed, could you send me the link? Thanks Fayyaz
10
3288
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
1
472
by: Invalidlastname | last post by:
Hi, Our developer team recently started getting the compilation error, see below, once a while running the asp.net web application from Visual Studio 2003 (in debug mode), and we have to rebuild the solution or deleted the VsWebcache to get rid of this error I suspect this error is related to that we strong named several assemblies for using queued components in NET EnterpriseServices. In development environment, we did not install those...
0
945
by: Steve Menard | last post by:
It's been observed a couple times recently ... distributing and compiling extensions is a pain, especially on windows, when the main supported compilers are not freely availble .. nor even commercially availble anymore. What we need is a way to break out of this dependency. A way for python extensions to be built using any C compiler and be able to target multiple Python runtime version with a single binary build. I believe I have such...
0
1623
by: U S Contractors Offering Service A Non-profit | last post by:
Baby steps to the "New" New Orleans Inbox Reply Craig Somerford to Chasing, Donald, me, (bcc:Discovery), (bcc:Beijing) show details 3:55 pm (0 minutes ago) Our Beloved New Orleans needs you James Taylor "CLICK" to see why Inbox Reply Craig Somerford
30
2981
by: lovecreatesbea... | last post by:
K&R says the following in the preface to the first edition, "... the C compiler, and ... are written in C." I'm wondering, does it say even the first / original C compiler was written in C?
5
3348
by: ganesh.kundapur | last post by:
Hi, I want to know how to compile the C source file without using the compiler directly. I mean to say by using compiler componets such as ( cpp, cc, as, ld ). I tried to compile the fallowing code as fallows file name: hello.c # include <stdio.h> int main ( void )
41
18234
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10317
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
10075
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
9143
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
6851
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
5520
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
4295
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
3
2990
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.