Created
January 21, 2014 19:00
-
-
Save mrange/8546024 to your computer and use it in GitHub Desktop.
Response to Chris Geuer-Pollmann regarding T4Include
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
// Whenever this file is saved the files in the Includes section is downloaded | |
// from GitHub (you can download from other websources by changing rootpath) | |
RootPath = @"https://raw.github.com/"; | |
Namespace = "WebAPI2PostExperiment" ; // The downloaded content is wrapped in this namespace | |
// Adds explicit usings | |
Usings = new [] | |
{ | |
Using ("Owin"), | |
}; | |
Includes = new [] | |
{ | |
// Include the basic extension from T4Include | |
Include (@"mrange/T4Include/master/Extensions/BasicExtensions.cs"), | |
// Uncomment below to include dapper | |
// Include (@"SamSaffron/dapper-dot-net/master/Dapper/SqlMapper.cs"), | |
Include (@"thinktecture/Thinktecture.IdentityModel/master/source/Thinktecture.IdentityModel.Owin/Basic%20Authentication/BasicAuthenticationOptions.cs"), | |
Include (@"thinktecture/Thinktecture.IdentityModel/master/source/Thinktecture.IdentityModel.Owin/Basic%20Authentication/BasicAuthenticationExtensions.cs"), | |
Include (@"thinktecture/Thinktecture.IdentityModel/master/source/Thinktecture.IdentityModel.Owin/Basic%20Authentication/BasicAuthenticationHandler.cs"), | |
Include (@"thinktecture/Thinktecture.IdentityModel/master/source/Thinktecture.IdentityModel.Owin/Basic%20Authentication/BasicAuthenticationMiddleware.cs"), | |
}; | |
#> | |
<#@ include file="$(SolutionDir)\packages\T4Include.1.1.2\T4\IncludeWebFile.ttinclude" #> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment