asp.net mvc - Deploying MVC application framework version issue -


i trying deploy new mvc application without additional libraries installed testing purposes. getting following error message:

parser error message: 'targetframework' attribute in element of web.config file used target version 4.0 , later of .net framework (for example, ''). 'targetframework' attribute references version later installed version of .net framework. specify valid target version of .net framework, or install required version of .net framework.

line 22:    <customerrors mode="off" /> line 23:     <authentication mode="none" /> line 24:     <compilation targetframework="4.5" /> line 25:     <httpruntime targetframework="4.5" /> line 26:   </system.web> 

i have checked iis 7 server manager in application pools , highest framework version can change 4.0.3019. have googled around , found v4 should still work application target framework of 4.5.

i don't understand why getting error. can suggest workaround please?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -