Skip to content

Commit

Permalink
Updated nuget to copy view engine to bin folder on post-build
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodejunkie committed Feb 22, 2012
1 parent 8ed282b commit ba493f7
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -2,6 +2,8 @@ $solutionDir = [System.IO.Path]::GetDirectoryName($dte.Solution.FullName) + "\"
$path = $installPath.Replace($solutionDir, "`$(SolutionDir)")

$BuildProvidersDir = Join-Path $path "BuildProviders"
$ViewEngineDir = Join-Path $path "lib\Net40"

$NancyRazorBuildProviderPostBuildCmd = "
xcopy /s /y `"$BuildProvidersDir\Nancy.ViewEngines.Razor.BuildProviders.dll`" `"`$(ProjectDir)bin`""
xcopy /s /y `"$BuildProvidersDir\Nancy.ViewEngines.Razor.BuildProviders.dll`" `"`$(ProjectDir)bin`"
xcopy /s /y `"$ViewEngineDir\Nancy.ViewEngines.Razor.dll`" `"`$(ProjectDir)bin`""

0 comments on commit ba493f7

Please sign in to comment.