473,324 Members | 2,246 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Viewing the actual C# build process

Being a C++ developer, I'm not used to a build performing automagically. For instance, App.config automatically being renamed and placed in the bin\debug folder and project.en-US.resx resource files mysteriously producing satellite DLLs. Yeah this is convienent, but where in the project/IDE is this defined as 'build steps'? How can I view the actual makefile that the VS.NET IDE uses to build the files in a project? Why doesn't the IDE produce any compile output (like C/C++ build.log) without going to the command line (/bugreport)? Is there any way to add the /bugreport to the IDE builds?? Any insight would be great. And Microsoft, this would be nice to expose some of this to users like me

SteveB, MCSD
Nov 16 '05 #1
7 3753
Hi SteveB,

We have viewed your post, we will spend some time on it, and will reply to
you ASAP.

Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #2
Hello Steve,

Thanks a lot for your feedback! As I understand, the problem you are facing
is that Visual Studio .NET IDE does not generate a build log file for C#
project. Please correct me if there is any misudnerstanding.

As you know, the build process is sophiscated for C++ project because it
need to compile each source file, generate corresponding object files, and
link them together. While the build of other projects say, Visual Basic
.NET, Visual C#, are much simpler. I believe that may be the reason why VS
.NET IDE does not save the build output to a log file, and we generally
view the Build Output for detailed build information. I'd like to share
more information with you:

1. .resx file can be generated by Resgen.exe tool:

Resource File Generator (Resgen.exe)
http://msdn.microsoft.com/library/de...us/cptools/htm
l/cpgrfresourcefilegeneratorutilityresgenexe.asp

2. >> How can I view the actual makefile that the VS.NET IDE uses to build
the files in a project?

There is no makefile for Visual C# projects, we can view the options for
csc.exe by selecting the menu "Project" -> "Properties", going to
"Configuration Properties" -> "Build".

Does this anwer your questions?

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 16 '05 #3
More specifically, I was looking for the build rules that the IDE uses when building a C# project. For example, when a file named App.config is part of the C# project, it is automatically renamed and copied into the output directory. That is not part of the of projects settings. The same is for files named xxx.en-GB.resx, they are automatically complied into .resource files and then linked into .dlls. The analogy is the build rules in a nmake file, I feel I could get more out of the IDE if I could see all the build rules. I miss the hands on capability of building C/C++ projects and capturing the results

SteveB.
Nov 16 '05 #4
Hello Steve,

There is not export makefile facility in the vs.net or C#. Instead they
are replaced by comand line build capability. .ie. You can build your
project without IDE by invoking devenv with the /build switch. For example:
devent my.sln /build debug will build the debug configuration for solution.

To look for the build rules that the IDE uses, we may use some third party
tools. If you were willing to use Nant (http://nant.sourceforge.net/), you
could use the program below to transform the .sln file into the .build file
used by Nant.

Hope that helps.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

This response contains a reference to a third-party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.

Nov 16 '05 #5
Hello Steve,

There is not export makefile facility in the vs.net or C#. Instead they
are replaced by comand line build capability. .ie. You can build your
project without IDE by invoking devenv with the /build switch. For example:
devent my.sln /build debug will build the debug configuration for solution.

To look for the build rules that the IDE uses, we may use some third party
tools. If you were willing to use Nant (http://nant.sourceforge.net/), you
could use the program below to transform the .sln file into the .build file
used by Nant.

Hope that helps.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

This response contains a reference to a third-party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.

Nov 16 '05 #6
Hi Steve,

You are welcome.

Thanks for participating the community.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 16 '05 #7
Hi Steve,

You are welcome.

Thanks for participating the community.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 16 '05 #8

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

Similar topics

1
by: Jeremy Phillips | last post by:
I am trying to build a web form that uses the "POST" method (too much data for GET) to send data to a second form, then displays the response of that form post. The second web form requires...
14
by: Giovanni Bajo | last post by:
Hello, python24.dll is much bigger than python23.dll. This was discussed already on the newsgroup, see the thread starting here:...
7
by: SteveB | last post by:
Being a C++ developer, I'm not used to a build performing automagically. For instance, App.config automatically being renamed and placed in the bin\debug folder and project.en-US.resx resource files...
0
by: Jeff Petter | last post by:
I'll preface this by stating that I am brand new to asp.net, so I may be way off base in my approach, but I do have a few books that I've been following along with. Presently, I have a couple of...
3
by: Jerry Boone | last post by:
I have a development unit running XP Pro and I cannot get it to build a web project without restarting IIS. There errors in the task list are.... ! Could not copy temporary files to the output...
0
by: Michelle | last post by:
Howdy! I have a windows app where you can add attachments to memos. These attachments can be anything (word, excel, pdf, etc). One form in my app lists the names of the attachments in a List...
4
by: John R. Dougherty | last post by:
I have developed an application with VB.NET, which includes the Crystal Reports (Visual Studio .NET 2003 edition) controls. I can run the application on my PC and it does work fine, but on any...
10
by: David Lee Conley | last post by:
When I open the Data Sources window and create a new data source, everything works fine. But if I have a form showing in the IDE, the Data Sources window becomes disabled and doesn't display any...
3
by: barcrofter | last post by:
This seems like a silly question -- How can I read the actual publish version build data??. When I use: With My.Application.Info Version.Text = "Version: " _ + Format(.Version.Major +...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.