remove post build

This commit is contained in:
Jamie Rees 2016-03-04 22:32:38 +00:00
parent 93c5cf6eb6
commit c49e9a386b
3 changed files with 5 additions and 8 deletions

View file

@ -56,10 +56,10 @@ namespace PlexRequests.UI.Modules
private Response LoginUser()
{
var username = Request.Form.username;
var username = Request.Form.username.Value;
// Add to the session
Session[SessionKeys.UsernameKey] = username;
Session[SessionKeys.UsernameKey] = (string)username;
return Response.AsJson(new { Result = true });
}

View file

@ -295,10 +295,7 @@
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
if $(ConfigurationName) == Debug (
xcopy /s /y /R "$(SolutionDir)packages\Nancy.Viewengines.Razor.1.4.1\BuildProviders\Nancy.ViewEngines.Razor.BuildProviders.dll" "$(ProjectDir)bin\"
xcopy /s /y /R "$(SolutionDir)packages\Nancy.Viewengines.Razor.1.4.1\lib\Net40\Nancy.ViewEngines.Razor.dll" "$(ProjectDir)bin\"
)</PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Import Project="..\packages\Nancy.Viewengines.Razor.1.4.1\build\Nancy.ViewEngines.Razor.targets" Condition="Exists('..\packages\Nancy.Viewengines.Razor.1.4.1\build\Nancy.ViewEngines.Razor.targets')" />