facebook-csharp-sdk/facebook-csharp-sdk — Issue #66: configSection declarations and values
Author: ntotten
Created: 2012-02-06 20:32:13+00:00
State: open

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.

File Attachments
No files are attached

Comments
Citezein wrote Dec 14 2011 at 3:07 PM [x]
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.

Citezein wrote Dec 14 2011 at 3:06 PM [x]
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.

prabirshrestha wrote Apr 28 2011 at 10:21 AM [x]
Seems like this is the limitation with NuGet. It doesn't support advanced transformations.

http://haacked.com/archive/2010/11/19/nuget-transformation.aspx
"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 nuget.codeplex.com instead.

Moved from Codeplex: http://facebooksdk.codeplex.com/workitem/5869