I used to simply upload asp.net sites to a live server, and IIS automatically compiles them.
But when I do the same with asp.net MVC projects, I just get errors, and I need to release the project assembly before loading it.
Note1: I am using VWD 2008 Express
Note2: the project works fine if I free it on my computer and then upload it to the server
Charles Boying's comment was to be seen as an answer.
MVC Web , - Visual Studio - . -
- (WAP) - (WSP)
http://vishaljoshi.blogspot.com/2009/08/web-application-project-vs-web-site.html
Q1. , ?"" , - (WSP)... - Visual Studio dev box, aspnet_compiler , ... , - ,
Q1. , ?
"" , - (WSP)... - Visual Studio dev box, aspnet_compiler , ... , - ,
. Asp.net MVC ( ), , ( - bin).
, , , , .cs. , , , .
.. , asp.net , , .. asp.net , vs 2005 , , . .
mvc "", , , , . , mvc # dll bin IIS. " ": aspx, css etc - . , .
, , , , .
, . , , ASP.NET MVC ?
, . ( , , , ASP MVC)
References
System.Web.Mvc
True
Copy Local
, System.Web.Mvc Web.config IIS. , Web.config.
, IIS. , , GAC ( ) , IIS. , .
, ? - ( ) , , Javascript?
I had a similar problem, and it turned out that ASP.NET MVC was not installed on the server. Once I copied the MVC DLL to the bin directory, it worked fine. Are you sure the MVC dlls are available on the server? Try copying them with your project and see if it works.
Is the server you are trying to download used to have a System.Web.Mvcdll?
Source: https://habr.com/ru/post/1718991/More articles:Демон Пастера не будет закрыт, потому что не может прочитать собственный файл pid - pythonMVC data annotation level: where to put the CurrentUICulture statement? - asp.net-mvcHow to set map center using Javascript and Subgurim Maps - google-mapsRails: Can joins join when binding regions? - joinIs there an easy way to go from class code to the corresponding Unit Test in VS2008? - unit-testingFTPWebRequest upload files upload only two files! - .nethttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1718993/wildcards-to-regex-in-vs-find-replace&usg=ALkJrhhpEpM4Q9wcHMa_vW30e9mbNpcpOAHow long can memory leaks persist in RPGLE programs? - memory-managementMdx String Generator - sql-serverC # print form - image is blurred - c #All Articles