summaryrefslogtreecommitdiffstats
path: root/nuget
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-03-24 16:53:15 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-03-24 16:53:15 -0700
commitcd4092fedfc4429383973389e50ffcd7c3947ccf (patch)
tree71b03ee6b2d5b057facf62855b563a152e3662fb /nuget
parent3bf681747ed847c194724f9c5833ab83ca0b7ba4 (diff)
downloadDotNetOpenAuth-cd4092fedfc4429383973389e50ffcd7c3947ccf.zip
DotNetOpenAuth-cd4092fedfc4429383973389e50ffcd7c3947ccf.tar.gz
DotNetOpenAuth-cd4092fedfc4429383973389e50ffcd7c3947ccf.tar.bz2
Switches the NuGet installer to make .NET 4.0 targeting web sites work out of the box.
This sacrifices the out-of-box experience of .NET 3.5 targeting web sites, since we have to choose between them. But I've added a comment so that .NET 3.5'vers will quickly be drawn to the reason for the failure. Fixes #98
Diffstat (limited to 'nuget')
-rw-r--r--nuget/content/OpenId.Core/web.config.transform6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuget/content/OpenId.Core/web.config.transform b/nuget/content/OpenId.Core/web.config.transform
index c18f108..a61011b 100644
--- a/nuget/content/OpenId.Core/web.config.transform
+++ b/nuget/content/OpenId.Core/web.config.transform
@@ -1,12 +1,16 @@
<configuration>
<configSections>
- <section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ <!-- The following section is necessary iff targeting .NET 3.5. It is incompatible with .NET 4.0.
+ <section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />-->
<sectionGroup name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection, DotNetOpenAuth.Core">
<section name="openid" type="DotNetOpenAuth.Configuration.OpenIdElement, DotNetOpenAuth.OpenId" requirePermission="false" allowLocation="true" />
</sectionGroup>
</configSections>
<uri>
+ <!-- See an error due to this section? When targeting .NET 3.5, please add the following line to your <configSections> at the top of this file:
+ <section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+ -->
<!-- The uri section is necessary to turn on .NET 3.5 support for IDN (international domain names),
which is necessary for OpenID urls with unicode characters in the domain/host name.
It is also required to put the Uri class into RFC 3986 escaping mode, which OpenID and OAuth require. -->