Wednesday, 17 August 2016

arcobjects - How do I change the targeted .NET 4.0 Framework to version 3.5 in an existing VS 2010 EXPRESS project?



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?



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)




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...