web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error exporting workflows and opening in Visual Studio

(1) ShareShare
ReportReport
Posted on by 185

I am using CRM 2011 on-premise and am having a problem exporting workflows and openinng the XAML files in Visual studio. I get the error System.Xaml.XamlException: 'The type ‘InArgument(scg:IDictionary(x:String, mxs:Entity))’ of property ‘InputEntities’ could not be resolved.' Line number '3' and line position '38'. It occurs with all of my workflows (which work just fine in CRM). I have added all of the entities and dependencies to the solution, but I know I must be missing something simple. Either that or Visual Studio is missing something.

This is line 3:

<

 

 

x:Property Name="InputEntities" Type="InArgument(scg:IDictionary(x:String, mxs:Entity))" />

 Thanks!

Joy

*This post is locked for comments

I have the same question (0)
  • Dave at EHIM Profile Picture
    15 on at

    Me too. Exact same thing. I am a deployment manager but I have not enabled xaml workflow for CRM yet.

  • Dave at EHIM Profile Picture
    15 on at

    Well. I double checked that I am a Deployment Manager AND I turned on XAML WF with Powershell. Same error...still.

  • Dave at EHIM Profile Picture
    15 on at

    I am all set. My problem is that I did not make the reference needed in VS 2010...

    1)

    In Solution Explorer, right-click your Activity Library, and click Add Reference.

    2)

    Click Browse, and locate the Microsoft.Xrm.Sdk.dll and Microsoft.Xrm.Sdk.Workflow.dll files. Select these files, and add them to your project.

  • Community Member Profile Picture
    on at

    This works for me.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans