Using app.config in addin Express...

Add-in Express™ Support Service
That's what is more important than anything else

Using app.config in addin Express...
 
Sanjay Varma




Posts: 38
Joined: 2008-06-16
HI

I am adding a taskpane in my outlook 2007 where I am adding a usercontrol. I am using an app.config file. I have a button in my usercontrol, when I press the button it fetches the value from app.config file. But I am getting an error object reference null. The key in file matches to the application.

I placed my app.config file in " C:\programfiles\microsoft office\office12\". Why is that I am getting the error.

Thanks,
Sanjay.
Posted 15 Jul, 2008 11:35:02 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Sanjay,

You should place app.config file in the same folder with an add-in assembly.
.NET, Extended MAPI, Windows Phone & RT
Posted 15 Jul, 2008 11:51:08 Top