Dictionary error CS0835 CS0305 in 2023.10.0

Hi,

I have an automation which was build in a 2022 Release of Studio and which throws me an error in 2023.10.0. The project is in C#, all Packages are updated

I have a dictionary <string,string> called dictChange which is initialized and filled with key/value pairs in an assign activity

dictChange = new Dictionary <string,string>()
{
{“Value1”, variable1},
{“Value2”, variable2},

{“Value19”, variable19}
}

Since 2023.10.0 I have 2 errors at compilation:

CS0835: Cannot convert lambda to an expression tree whose argument 'Funct189<string,string…
CS0305> using the generic type’Func189<T0,T1… requires 21 type arguments

When I suppress any 5 key/value pairs, the error disappears and I can compile

Anyone can help ?

can you share with us the details of the modellings? Thanks

Unfortunately the workflow is on an internal dev station and I am not allowed to share any workflows. I suppose the project itself might be corrupted or causing a problem, because I cannot reproduce the error on a newly created project.

looks like a C# Statement usage in a VB.Net project

I was able to reproduce it on an external Studio with a new project but on 2023.4.5

from project.json
“expressionLanguage”: “CSharp”,

Main.xaml (21.6 KB)
project.json (1.6 KB)

as the statement is valid, but in certain product / package version combinations is failling we would recommend to former pass it back to UiPath via the feedback channels e.g.

So others can also check and replicate it for general further analyses.

Thanks for support