0

I've got a weird fact.

When launching in debug mode my project, visual studio erase my applicationname.exe.config file.

But if i launch it manually or i'm doing "launch without debugger" it's fine.

I don't have put an app.config file into the project (if i did it, it will be copied after each compile). So visual studio is erasing a "loose" file.

What should i do in order to avoid this ?

Regards,

4

1 回答 1

0

I believe VS clears the entire bin directory when you do a rebuild. Not avoidable, you'll need to add the app.config (what is your reason not to?)

于 2011-03-04T13:05:26.690 回答