469,948 Members | 2,591 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,948 developers. It's quick & easy.

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 2303
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.com

"Skip" <Sk**@discussions.microsoft.com> wrote in message
news:8A**********************************@microsof t.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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Ryan Mitchley | last post: by
5 posts views Thread by fayyaz | last post: by
1 post views Thread by Invalidlastname | last post: by
reply views Thread by U S Contractors Offering Service A Non-profit | last post: by
30 posts views Thread by lovecreatesbea... | last post: by
41 posts views Thread by Miroslaw Makowiecki | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.