Main.xaml of running project got corrupted when accidently re-installed UiPath Community version

studio

#1

Hi, This is urgent.
I had installed UiPath Community version and successfully running one project having only one Main.xaml.
But I accidently re-installed UiPath Community version. Now when I opened same project, I got hell lot of errors while opening the project only.

Could not find type ‘ExcelApplicationScope’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 84, Column: 12
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 86, Column: 16
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 86, Column: 16
Could not find member ‘Argument’ in type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction’. Row: 87, Column: 18
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:DelegateInArgument(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 88, Column: 20
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 88, Column: 20
Could not find type ‘ExcelReadRange’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 91, Column: 20
Could not find type ‘ExcelReadColumn’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 92, Column: 20
Could not find type ‘ExcelReadColumn’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 93, Column: 20
Could not find type ‘ExcelApplicationScope’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 145, Column: 16
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 147, Column: 20
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 147, Column: 20
Could not find member ‘Argument’ in type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction’. Row: 148, Column: 22
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:DelegateInArgument(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 149, Column: 24
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 149, Column: 24
Could not find type ‘ExcelReadRange’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 157, Column: 24
Could not find type ‘ExcelApplicationScope’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 179, Column: 20
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 181, Column: 24
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 181, Column: 24
Could not find member ‘Argument’ in type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction’. Row: 182, Column: 26
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:DelegateInArgument(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 183, Column: 28
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 183, Column: 28
Could not find type ‘ExcelReadRange’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 186, Column: 28
Could not find type ‘Summation_Activity.TDCClient’ in assembly ‘Summation_Activity’. Row: 205, Column: 24
Could not find type ‘ExcelApplicationScope’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 211, Column: 28
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 213, Column: 32
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 213, Column: 32
Could not find member ‘Argument’ in type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction’. Row: 214, Column: 34
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:DelegateInArgument(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 215, Column: 36
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 215, Column: 36
Could not find type ‘ExcelWriteRange’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 218, Column: 36
Could not find type ‘ExcelWriteRange’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 219, Column: 36
Could not find type ‘ExcelApplicationScope’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 242, Column: 10
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 244, Column: 14
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 244, Column: 14
Could not find member ‘Argument’ in type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction’. Row: 245, Column: 16
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:DelegateInArgument(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 246, Column: 18
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 246, Column: 18
Could not find type ‘ExcelWriteCell’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 256, Column: 26
Could not find type ‘ExcelApplicationScope’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 269, Column: 10
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 271, Column: 14
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 271, Column: 14
Could not find member ‘Argument’ in type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:ActivityAction’. Row: 272, Column: 16
Could not resolve type ‘http://schemas.microsoft.com/netfx/2009/xaml/activities:DelegateInArgument(WorkbookApplication)’ because could not find one or more of its type arguments. Row: 273, Column: 18
Could not find type ‘WorkbookApplication’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 273, Column: 18
Could not find type ‘ExcelWriteCell’ in namespace ‘http://schemas.uipath.com/workflow/activities’. Row: 283, Column: 26


#2

Hi @abskulkarni, it seems like uipath.excel.activities is not installed. Once check ‘Manage packages’ section to install it.

Regards,
Dominic


#3

:slight_smile: It is perfect. But I thought it would be picked from project.json where dependencies were already listed.