Compiler steps details question

G

Guest

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.
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top