Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.NET : DEBUG and RELEASE problem

Status
Not open for further replies.

youssef

Programmer
Mar 13, 2001
96
BE
Hi,

I create in the folder DEBUG or RELEASE some settings files for my executable.

When I compile my project, the compiler delete the settings files and recreate a new folder DEBUG or RELEASE with the compiled files

So how can I do for disable this option.

Best Regards
 
Try adding these files to your project, and on that file's property page, set it's build action to "None".

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
It's actually a property of the individual files whereas debug and release are for the whole project.
 
I added a .txt file to my solution/project. I then right-clicked on it and selected "Properties".

In the properties pane, under the "Advanced" section I selected the "Build Action" Item.

In the drop-down, I get "Content" initially, but I can also change it to "None", "Compile", and "Embedded Resource".

What version of VS.NET are you on?

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
If you refer to the exe.config file then it is recreated every time when building the solution in the .NET 1.1 but not in the 1.0.
If it is the case (1.1) then you should put your settings in the App.config and you will find all in the created .exe.config in the /Debug or /Release folders.

-obislavu-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top