Compiler steps details question

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
Back
Top