MVC GIT Deployment Oncheckin

From Logic Wiki
Jump to: navigation, search


Automatic Deployment with OnCheckin.com

.gitignore Content

bin/
obj/
*.suo
*.user
*cache
_ReSharper*
packages*/
!NuGet.exe

Allow Visual Studio to Restore Nuget Packages During Build

Tools => Options => Package Manager:

Check "Allow NuGet to download missing packages" and "Automatically check for missing packages..."

Enable Nuget Package Restore for the Solution

To enable Nuget Package Restore in our specific solution, right-click on Solution Explorer => Your Solution => Enable Package Restore

Hosting Mode

Change mode from Classic to Integrated

Web.config

add this

<system.webServer>
  <validation validateIntegratedModeConfiguration="false" />
</system.webServer>