Skip to content
Browse files

Merge pull request #229 from thecodejunkie/nugetupdate

Updated Nancy.Hosting.Aspnet nuget to include the web.config transform
  • Loading branch information...
2 parents b2fbb19 + f56ad5a commit 7a49e06ef7133606f539dadc6c3f5c4b65a2baae @thecodejunkie thecodejunkie committed Jul 27, 2011
View
1 src/Nancy.Hosting.Aspnet/nancy.hosting.aspnet.nuspec
@@ -18,6 +18,7 @@
<files>
<file src="build\binaries\Nancy.Hosting.Aspnet.dll" target="lib\net40" />
<file src="build\binaries\Nancy.Hosting.Aspnet.pdb" target="lib\net40" />
+ <file src="src\Nancy.Hosting.Aspnet\web.config.transform" target="content" />
<file src="src\Nancy.Hosting.Aspnet\**\*.cs" target="src" />
</files>
</package>
View
14 src/Nancy.Hosting.Aspnet/web.config.transform
@@ -0,0 +1,14 @@
+<configuration>
+ <system.web>
+ <httpHandlers>
+ <add verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*"/>
+ </httpHandlers>
+ </system.web>
+
+ <system.webServer>
+ <validation validateIntegratedModeConfiguration="false"/>
+ <handlers>
+ <add name="Nancy" verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*"/>
+ </handlers>
+ </system.webServer>
+</configuration>

0 comments on commit 7a49e06

Please sign in to comment.
Something went wrong with that request. Please try again.