Asp.net MVC 3 Deployment
With MVC 3 you could deploy to remote site, create package.
in My case I need to create the package.
How to do that?
in your vs 2010 sp1.
- Right Click on the MVC3 Project –>Add deployable Dependency-> Check “asp.net MVC” and “asp.net webpages with Razor Syntax”, this will make sure all the presequites dll are being copied to bin folder
- Right click again –> Build deployment Package
- Go to that Folder setting, get the package or zip file
Now if you have problem running that cmd/bat file , it’s related to ms deploy.
Install Ms deploy in the server
you can import manually on your IIS manager console in the server.
just choose the website and click Import and choose the zip file.
Remember that on that machine must have :
everything under world wide web->application…-> Checked
“regiis –I” is your latest weapon