Closed dmetzgar closed 5 years ago
Hopefully with System.Xaml open now, we can solve such issues.
Sorry again but what the help wanted label means in this context?
Ideally a PR with a fix.
Ok, got it. Thanks!
So can somebody please assign this to me? because I already started to investigate and although I haven't been able to reproduce the exception I'm going to keep trying to see if I can make it fail and also I'm going to do a little cleanup code by removing all or some of the compiler warnings and apply the VS 2019 code suggestions.
Cleanup where? :) Because we kind of don't need right now a lot of insignificant changes across a code base we don't quite understand and with probably pretty low test coverage. It's just risky. If you're confident you can open a PR with a passing test similar to the XAML above, then we can close this issue. That's a useful contribution, and you can move on to smth else.
Understood, I’ll try all the tests and if nothing fails then I submit the PR, is that ok?
El El jue, 13 de junio de 2019 a la(s) 22:39, Lucian Bargaoanu < notifications@github.com> escribió:
Cleanup where? :) Because we kind of don't need right now a lot of insignificant changes across a code base we don't quite understand and with probably pretty low test coverage. It's just risky. If you're confident you can open a PR with a passing test similar to the XAML above, then we can close this issue. That's a useful contribution, and you can move on to smth else.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/UiPath/corewf/issues/37?email_source=notifications&email_token=ADBF3BQV4X6XNDAKPJVVQ6DP2MHHZA5CNFSM4FWFSQ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXVT5WQ#issuecomment-501956314, or mute the thread https://github.com/notifications/unsubscribe-auth/ADBF3BQYFLQ2D7ZOEIIC7OLP2MHHZANCNFSM4FWFSQ5A .
Sure.
The XAML provided is invalid. It doesn't work on the .net Framework with System.Xaml either:
Message is:
System.InvalidOperationException: CacheMetadata for activity 'WFTemplate' threw 'System.Xaml.XamlObjectWriterException:
Cannot create unknown type '{http://schemas.microsoft.com/netfx/2009/xaml/activities}Content'.
at System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Activities.XamlIntegration.FuncFactory`1.Evaluate()
I get the same message in when the test is used on .net core with Portable.Xaml.
Message: Portable.Xaml.XamlObjectWriterException : Cannot create unknown type '{http://schemas.microsoft.com/netfx/2009/xaml/activities}Content'.
Since we have the same behavior on both .net core with Portable and .net framework with System.Xaml, I don't see this as an issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
When using a XAML like the following:
I get this exception:
The
Content
element must not be setting the value of theText
property onWriteLine
. Need to investigate why not.