This project has moved. For the latest updates, please go here.


configSection declarations and values


When adding via NuGet, the configSection declarations other than facebook are wiped out. The existing section values for facebook are ignored and the default is added again with the temp values.
Closed Feb 6, 2012 at 6:43 PM by ntotten
This is a NuGet issue, not a Facebook C# SDK issue.


prabirshrestha wrote Apr 28, 2011 at 5:21 PM

Seems like this is the limitation with NuGet. It doesn't support advanced transformations.
"Also, in v1 of NuGet we only support these simple transformations. If we hear a lot of customer feedback that more powerful transformations are needed for their packages, we may consider supporting the more powerful web.config transformation language as an alternative to our simple approach."

I think it is better to create this issue in instead.

Citezein wrote Dec 14, 2011 at 10:06 PM

This is a serious problem as whenever I update it kills my config file. I have to remember to go in and delete the extra section every time.

Citezein wrote Dec 14, 2011 at 10:07 PM

Have you considered using Powershell to do the transformation? It could then check for the existence of the section and use that instead of adding it blindly every time.