Coder Social home page Coder Social logo

Content element not working about corewf HOT 10 CLOSED

uipath avatar uipath commented on July 30, 2024
Content element not working

from corewf.

Comments (10)

ewinnington avatar ewinnington commented on July 30, 2024

Hopefully with System.Xaml open now, we can solve such issues.

from corewf.

bcisnero avatar bcisnero commented on July 30, 2024

Sorry again but what the help wanted label means in this context?

from corewf.

lbargaoanu avatar lbargaoanu commented on July 30, 2024

Ideally a PR with a fix.

from corewf.

bcisnero avatar bcisnero commented on July 30, 2024

Ok, got it. Thanks!

from corewf.

bcisnero avatar bcisnero commented on July 30, 2024

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.

from corewf.

lbargaoanu avatar lbargaoanu commented on July 30, 2024

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.

from corewf.

bcisnero avatar bcisnero commented on July 30, 2024

from corewf.

lbargaoanu avatar lbargaoanu commented on July 30, 2024

Sure.

from corewf.

ewinnington avatar ewinnington commented on July 30, 2024

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.

from corewf.

github-actions avatar github-actions commented on July 30, 2024

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.

from corewf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.