I have a server where IIS is having .Net Clr version 2.0 but I have developed the project on version 4.0 I need to deploy the code there, How can I do that?
Asked
Active
Viewed 23 times
0
-
you cant. 4.0 code runs on a newer version of the clr. you can install a newer build of .net and it will be available. – Daniel A. White Dec 09 '17 at 03:14
-
Can I re-publish my files targeting the version 2.0? Is there a way? – Rituraj Dec 09 '17 at 03:15
-
You could try recompiling – Daniel A. White Dec 09 '17 at 03:16
-
Can you tell me the steps or what I need to do for that – Rituraj Dec 09 '17 at 03:17
-
2You should update you server. Not the least for security reasons. – Aluan Haddad Dec 09 '17 at 03:18
-
https://stackoverflow.com/questions/4890245/how-to-add-asp-net-4-0-as-application-pool-on-iis-7-windows-7 – Lex Li Dec 09 '17 at 03:42