Select to view content in your preferred language

Error message in VS after upgrading to ArcGIS Pro 3.3.1

150
3
Jump to solution
a week ago
BrianBulla
Honored Contributor

Hi,

What is the fix for this error message in Visual Studio?  I've recently upgraded to ArcGIS Pro 3.3.1, but this particular VS Project was created while I had 3.2 installed.  This error comes up when I "Build" the project.

"Error (active) CS1705 Assembly 'ArcGIS.Core' with identity 'ArcGIS.Core, Version=13.3.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' uses 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=......."

This is my config.daml file:

<?xml version="1.0" encoding="utf-8"?>
<ArcGIS defaultAssembly="ConnectionTools_ArcPro.dll" defaultNamespace="ConnectionTools_ArcPro" xmlns="http://schemas.esri.com/DADF/Registry" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.esri.com/DADF/Registry file:///C:/Program%20Files/ArcGIS/Pro/bin/ArcGIS.Desktop.Framework.xsd">
  <AddInInfo id="{92017173-04f5-4aa1-9e25-bc96939ea535}" version="3.2" desktopVersion="3.2">
    <Name>Service Connection Tools</Name>
    <Description>Includes tools for:  Hydrant, Effluent Hydrant, ICI, Residential, Firleine, CatchBasin, and Sewer Connection </Description>
    <Image>Images\toilet_paper.png</Image>
    <Author>Brian Bulla</Author>
    <Company>Region of Durham</Company>.......

 

Even if I update the version and desktopVersion to 3.3.1, I get the same error.  I seem to have all the most recent extensions installed too, so not really sure how to fix this.

BrianBulla_0-1725548043312.png

 

0 Kudos
1 Solution

Accepted Solutions
SteveCole
Honored Contributor

I think I ran into this a few months back myself when my machine was upgraded from 3.1 to 3.3.

*I think* it's as easy as changing a setting inside Visual Studio as described here:

https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-NET-8-Upgrade 

pro_sdk_target_setting.png

View solution in original post

3 Replies
SteveCole
Honored Contributor

I think I ran into this a few months back myself when my machine was upgraded from 3.1 to 3.3.

*I think* it's as easy as changing a setting inside Visual Studio as described here:

https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-NET-8-Upgrade 

pro_sdk_target_setting.png

BrianBulla
Honored Contributor

Hi Steve,

Yes, it was an easy fix.  I just started looking at other settings and in the message it does mention something about v8 and v6, so I figured it must be talking about the installed .NET version.  I guess IT must have pushed out some updates that they didn't tell anyone about.....go figure, eh!?  🙂

Thanks for responding.

SteveCole
Honored Contributor

Sometimes what to do is still vague despite all the copious documentation. I remember trying to manually edit the version references in the DAML to no avail before finally figuring out it that you just change it in the app settings. Glad you got it straightened out!

0 Kudos