Will an ASP.NET MVC 2 app build with the .NET 4.0 RC and VS2010 RC run on a prod server with the .NET 4 RTM release?
I have an MVC2 app I developed with the VS2010 RC and the .NET 4.0 RC. My production server and my client's production server have .NET 4.0 RC.
Can the RTM of .NET 4.0 on a server support an app developed with the RC technologies?
What about the other way around? Can I use VS2010 RTM and deploy an app to production if the prod s开发者_开发知识库erver is still no the .NET 4.0 RC?
Obviously it would be ideal to synch everything up to RTM but I don't have that option right now because the client doesn't have access to VS2010 RTM yet, and they would like to be able to open and build the project.
Update: Opening the solution in VS2010 RTM caused not a single change in any config file or solution/project file and of course not in the code. Building and deploying to my .NET 4 RC server worked totally fine.
RC and RTM didn't change too much. Give it a try, most likely it will run fine.
Update as per comment
Assembly versions should be the same. When I installed RTM on my dev machine, I didn't need to change assembly versions. I obviously can't tell you exactly what to expect as I can't see your code, but I'm confident that you shouldn't encounter any major issues.
精彩评论