Select to view content in your preferred language

Visual Studio 2010 Integration Problem

3192
4
09-13-2010 01:21 PM
MarkParr
Emerging Contributor
I am having a problem with the integration of ArcEngine/ArcGIS 10 into Visual Studio 2010 Premium and I am hoping someone can direct me to a solution.

I've installed Visual Studio 2010 Premium along w/ ArcEditor (Single Use Authroized), ArcGIS Engine Runtime, and ArcGIS Engine .NET Developer Kit (Single Use Authroized) onto my Windows 7 (64 bit) laptop.  When I go into a VS2010 C# New Project, I am given a category of ArcGIS under INSTALLED TEMPLATES.  Expanding that category shows DESKTOP ADD-INS, EXTENDING ARCOBJECTS, and SERVER OBJECT EXTENSIONS.  However, when I select any one of the three, I am not given a list of any avalable templates to select for a new project.  A coworker has also loaded the same things on his laptop but he has a choice of templates to select.  Also, under a Visual Basic project, I am seeing the same thing relative to template selection.

Any direction would be appreciated as to why I am not getting a list of ArcGIS/ArcEngine templates and how to fix that.

Thanks
Mark
0 Kudos
4 Replies
EagerIp
Deactivated User
When you installed VS2010, did you install C# and VB.NET features?
When you installed Engine .NET SDK, did you explicitly select VS2010 from the install feature list (you may need to go to the Custom install option page)?

After verifying the above, check to see if you have .vstemplate files installed under \Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\ArcGIS. If so, see if running "devenv /setup" from the VS2010 command prompt fixes the problem.
0 Kudos
MarkParr
Emerging Contributor
Visual Studios 2010 was a complete install.

ArcGIS .NET SDK, I selected the Visual Studios Integration option.  I have also tried a modify of my setup where I disabled the Integration and then redid the install and selected it.  That did not help either.

In checking \Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\ArcGIS, the 3 different template categories existed and they contained .ZIP files representing the different possible ArcGIS template types (as seen on co-workers working laptop).

devenv /setup did not resolve the problem.

I also tried "devenv /installvstemplates" and that did not resolve anything either.
0 Kudos
JohnHauck
Frequent Contributor
When you are in the New Project dialog and you select: Visual C# > ArcGIS > Desktop Add-Ins, is the .NET Framework 4 selected? .NET 4.0 is not supported at this point. Select .NET 3.5 and hopefully you will see them.
0 Kudos
MarkParr
Emerging Contributor
When you are in the New Project dialog and you select: Visual C# > ArcGIS > Desktop Add-Ins, is the .NET Framework 4 selected? .NET 4.0 is not supported at this point. Select .NET 3.5 and hopefully you will see them.


I want to say that I tried this previously w/o success.

However, I have since removed all items associated w/ ArcGIS and Visual Studios 2010 from the laptop and performed a reinstall of VS2010, ArcGIS RunTime, and ArcGIS .NET SDK.  Initially, the project list did not show anything but that was w/ the 4.0 Framework selected.  When I switched it 3.5, templates appeared.

Thanks for the help/direction.

Mark
0 Kudos