c# - user.config ignored assembly information and is located in default location -


i have c# excel add-in project uses user settings.

the file saved in weird location, guess default one. far understand, location derived information taken assemblyinfo.cs file.

in theory path should be:

c:\users\jeremy\appdata\local<profile directory>\<company name>\<app name>_<evidence type>_<evidence hash>\<version>\user.config 

but in case, user.config ends in:

c:\users\jeremy\appdata\local\microsoft_corporation\c__users_jeremy_path_u1gevrwm5dgrhpsynfqgtuhhmlxzqlm4\14.0.7132.5000\user.config 

i double checked , information company name or version defined in assembly file. somehow ignored. causes me lot of trouble because have 2 applications should using own user.config files, because of issue write in same file...

for info, i'm building executables wix.

do have hints solve that?

i'm still not sure why i'm having weird path, might because of nature of software vsto add-in.

in case, solved issue implementing custom settings provider. big overhead couldn't find other solution.

here's tutorial: http://www.geek-republic.com/2010/11/c-portable-settings-provider/


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -