Starting A New MVC Project

From Logic Wiki
Jump to: navigation, search


  1. Allow Visual Studio to Restore Nuget Packages During Build
    1. Tools => Options => Package Manager:
      1. Check "Allow NuGet to download missing packages" and "Automatically check for missing packages..."
      2. Enable Nuget Package Restore for the Solution[edit]
    2. To enable Nuget Package Restore in our specific solution, right-click on Solution Explorer => Your Solution => Enable Package Restore
  2. Update Nuget Packages
  3. Add this to web.config
     <system.webServer><validation validateIntegratedModeConfiguration="false" /> </system.webServer> 
    -> For OnCheckIn
  4. Set Up MySQL database
  5. Set Up Exceptionless
  6. Set Up GIT (See Sample .gitignore below)
  7. Create Areas
  8. Create Folders like Helpers etc.
  9. Change false to true in Nuget.target configuration file
        <DownloadNuGetExe Condition=" '$(DownloadNuGetExe)' ==  ">true</DownloadNuGetExe>


Sample .gitignore

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