I am porting a 2016 .xaml flow over to the latest UIPath Studio version, but keep hitting the errors below where certain types / elements no longer exist. I’ve already attempted the following fixes:
- Updating the project.json file for dependencies between 2016 vs 2019 (Managing Dependencies)
- Reinstalling packages in the Package Manager (tried the 2016-2019 versions of each package in the project.json file)
- Trying to find the libraries that have each of the below types (e.g. “ShowWindow” is in UiPath.Core.Activities) and replacing with the new package name
None of these seem to work Any advice on a better strategy for fixing any or all of these errors?
File ‘import.xaml’ - variable ‘roundsComboItems’: Type ‘ul:UiElement’ (‘clr-namespace:UiPath.Library;assembly=UiPath.Library’) could not be resolved and was automatically replaced with ‘UnknownType’
Could not find type ‘UiPath.Activities.ShowWindow’ in assembly ‘UiPath.Activities’. Row: 102, Column: 6
Could not find type ‘UiPath.Library.Region’ in assembly ‘UiPath.Library’. Row: 104, Column: 10
Could not find type ‘UiPath.Activities.MaximizeWindow’ in assembly ‘UiPath.Activities’. Row: 107, Column: 6
Could not find type ‘UiPath.Activities.Click’ in assembly ‘UiPath.Activities’. Row: 112, Column: 6
Could not find type ‘UiPath.Activities.SelectItem’ in assembly ‘UiPath.Activities’. Row: 117, Column: 6
Could not find type ‘UiPath.Activities.FindChildrenOf’ in assembly ‘UiPath.Activities’. Row: 133, Column: 6
Could not resolve type ‘UiPath.Activities.ForEach(UiElement)’ because could not find one or more of its type arguments. Row: 138, Column: 6
Could not find type ‘UiPath.Library.UiElement’ in assembly ‘UiPath.Library’. Row: 138, Column: 6
Could not resolve type ‘Error’ because could not find one or more of its type arguments. Row: 139, Column: 8
Could not find type ‘UiPath.Activities.GetValueOf’ in assembly ‘UiPath.Activities’. Row: 144, Column: 12
Could not find type ‘UiPath.Activities.ForEach(String)’ in assembly ‘UiPath.Activities’. Row: 149, Column: 6
Could not find type ‘UiPath.Activities.WriteTextFile’ in assembly ‘UiPath.Activities’. Row: 210, Column: 12