Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers 2

up vote 4 down vote accepted
  • 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)

share|improve this answer
    
This option "Target Framework" in Application is not listed in v10 express. –  artwork21 Jan 24 '13 at 15:25
    
Thanks. I found similar information but There is no "Target Framework" on the application tab in 2010 Express. –  Jakub Jan 24 '13 at 15:26
2  
@artwork21 - Can I change it in Project -> Project Properties -> Compile -> Advanced Compile Options -> Target Framework (All Configurations) ? –  Jakub Jan 24 '13 at 15:40
    
@Jakub, Yes looks like you found it. –  artwork21 Jan 24 '13 at 15:44
    
Thanks mate! If it doesn't work I will be back here asking more questions. –  Jakub Jan 24 '13 at 15:56
show 5 more comments

One thing you could try is opening the .vbproj or .csproj file in a text editor and changing this tag:

<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>

TO

<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>

Then save the file in the text editor.

share|improve this answer
1  
I advise not to do this, because this will not modify references to .NET Framework core assemblies to .3.5. –  Petr Krebs Feb 1 '13 at 14:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.