Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7406899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:37:37+00:00 2026-05-29T05:37:37+00:00

I made an Activity Library project. Next, I created a few Workflows in the

  • 0

I made an Activity Library project. Next, I created a few Workflows in the project, mostly as demonstrations of Input and Output arguments. I see those as reusable components (Activities) in the toolbox, and have used several in some FlowChart Activities. This works fine in a compiled manner. However, when loading and executing the Workflow from XAML, it fails when it comes to the reference to the Activity from within my project.

What needs to be done in order to re-use Activities from the same project when loading and executing Workflows from XAML?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:37:38+00:00Added an answer on May 29, 2026 at 5:37 am

    I suspect that your problem lies in the fact that when you create activities the xmlns:local propery doesn’t include the assembly name, only the namespace name. This means that when you load a XAML file, the runtime assumes that the namespace is found in the currently executing assembly. This is an incorrect assumption when you are referencing an activity library from an application.

    You have two options to fix the problem.

    1) You can manually append “;assembly=MyActivityLibrary” to the xmlns:local property (at the top of you XAML file). This is simple to do but if you ever modify the XAML in Visual Studio then you will have to remember to redo your change every time.

    2) When you call XamlServices.Load you can pass a second parameter of type XamlXmlReaderSettings and specify the LocalAssembly property to be your activity library assembly. This would be the more stable approach to take. Then no manual editing of the XAML file is required when you

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have made an app that would calculate numbers from input fields. **main Activity
I have created a custom activity that I am using in my workflows. Initially
i have made a few multi activity database applications using sqlite, but i get
I have made one project as a library, while calling that library project to
I made an application on Android and this application logs the activity into files.
I have an activity made up of two fragments. On the left is a
i wanna read file in an other activity but i made it in another
I made an android app which writes to a file in an activity. The
I've made my first android app :-) There's only one activity, and, on events,
I've been using my Activity class to access my DB which made my program

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.