Daniel Cazzulino's Blog

Go Back to
kzu′s Latest post

How to fix continuous deployment error for .NET 4.5 in Team Foundation Service

If you’re configuring continuous deployment on Team Foundation Service for a .NET 4.5, you may get an error like the following in the build log:

Exception Message: The application pool that you are trying to use has the 'managedRuntimeVersion' property set to 'v4.0'. This application requires 'v4.5'.
  Learn more at: (type DeploymentDetailedException)

I don’t recall exactly where (may have been here), but the solution is to simply add the following property to the project file:


1 Comment