views:

18

answers:

2

I read a xml file (myConfig.config) and provide it as an input to a CLR method. When I make changes to this xml file, it doesn't seem to be recognizing it. When this line throws an error, I always see the first version of the file as a part of the error message.

In the config file properties, I have set Copy to Output Directory as Copy always, but it still doesn't seem to work.

Any thoughts?

A: 

Hey,

Copy Always works for windows where the BIN file contains the exe; you don't need that for web sites necessarily... What does your code look like? Where does the save occur?

Brian
A: 

I got this to work by doing a "Copy if newer" option

DotnetDude