.NET Framework Version Change – Changing Targeted .NET 4.0 Framework to Version 3.5 in an Existing VS 2010 EXPRESS Project

arcgis-10.1arcobjectsnetvb.net

I am upgrading from ArcGIS desktop 10.0 to 10.1 and I have a bunch of addins developed in VS 2008 Express using ArcObjects 10.0. I would like to upgrade everything to 10.1 using VS 2010 Express. I understand that for ArcGIS Desktop .NET Framework 3.5 Service Pack 1 is still required.

I converted my first existing addin to 10.1 in VS 2010 Express but it seems to be targeting .Net 4.0. I only found instructions on changing the target version in full version of VS but I can't find this feature in the Express edition. Can someone shed some light on this?

EDIT: I am adding a screenshot from Project -> Project Properties -> Application to show where I would expect to change the Target Framework but I don't see where it could be changed.
enter image description here

EDIT 2: I found an option to change Target Framework (All Configurations) under Project -> Project Properties -> Compile -> Advanced Compile Options -> Target Framework (All Configurations)

Can someone confirm that his is where I change the target framework in the 2010 Express edition?

Best Answer

  • Visual C# 2010 Express:

    Project -> Project Properties -> Application -> Target Framework

  • VB.NET 2010 Express: (thanks Jakub)

    Project -> Project Properties -> Compile -> Advanced Compile Options -> Target Framework (All Configurations)