Tuesday, July 3, 2012

How To: Not Using app.config

the answer: delete it from the proj tree (of from folder) and then from the .csproj file.
TA DAM!

the story?
well well, again MS don't REALY care about you.
why?
cause they can't put anywhere a little "don't use/create app.config"!!!

my app is using a dll that is importing a general .config file for all kinda stuff like log4net ect.

so i changed a FW in my proj and BOOM! no logger!
and no way from the VS(10) to remove it or when u press F5 u get "operation can not be complete".

same thing about converting a VS10 proj/sln to VS8 - 2 bloody lines in the .csproj file, can't thay handle it?!?

No comments:

Post a Comment