View Complete Post
I have the following error when I try to open my xaml file under Visual Studio 2010 WPF Designer :
An Unhandled Exception has occured
Method not found: 'Void Microsoft.Expression.DesignModel.Core.PlatformService.RegisterPlatform(System.String, System.String, System.String, Boolean)'.
Blend 4 trial is however able to open and display this file.
Under Windows 7 Professional x64.
IMPORTANT NOTE: the Beta and Release Candidate builds of Visual Studio 2010 are now obsolete, since Visual Studio 2010 has now released to manufacturing.
NOTE: The Release Candidate and RTM builds of Visual Studio 2010 does not need this configuration change
This post is to let you know about a configuration change (registry switch) which you can use to improve the startup performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2.
1. Since this was a late-breaking change, you may experience some instability or increased Virtual Memory usage in some Visual Studio scenarios when using it. If you see such instabilities, please try removing the configuration change, and let us
know about the problem you saw (you can do this by replying to this posting or by raising a bug on Connect).
2. You should only make this configuration change if you are a regular user of the WPF and Silverlight Designer, and are experiencing poor performance with it.
3. This configu
After i developed a custom project server workflow using vs 2010, i tried to deploy it using this article
http://msdn.microsoft.com/en-us/library/ff459292.aspx and everything done great (Add, Install and Activiate) .. when i tried to debug from VS 2010 i got this error while deploying
Error 6 Error occurred in deployment step 'Activate Features': Feature with Id 'c34364d9-0323-4e46-98c1-d74f638e6c7d' is not installed in this farm, and cannot be added to this scope.
0 0 WorkflowProject1
i'm pretty sure that the Guids are the same ... and i got the same error when i tried to activate the feature from VS 2010 directly
here is my feature xml (inside VS 2010)
As I understand it, when visual studio 'compiles' a workflow what this really means is that it creates a stub class with the necessary properties on and it creates the XAML file as a resource and it then creates some static methods for loading and compiling
this resource at runtime.
My question based on this is how do I truly compile it? So that it is compiled into IL as if I had written the workflow in code? Instead of embedding the XAML as a resource and compiling at run time?
I need to create a simple workflow using Visual Studio 2010.
Workflow having following activities:
1. Create a task assign to workflow initiator. This task have one dropdown field with two choice (Approved,Rejected).
2. Wait for the task change.
3. In Task edit form, only title and custom drop-down field are visible. User need to select from one of the choice and complete the task.
I would like to create a workflow which have 3 tasks.
First the workflow create a task and assigned this task to a user. The user has to choose 4 dates in the year.
For each date chosen of the year two tasks will be created. The first task will ask the user to arrange a meeting.
When the first task has been completed a second task is assigned to the user asking for some feedback of the meeting.
How can i loop these 4 dates easily ?
I have written a custom workflow in visual studio 2010 with custom Task Edit Form which is associated with content type and that content type is in turn associated with Task List. When an item is created in the target list to which my custom workflow is
attached, a task item is created when I click on that task item it loads the custom Task Edit Form page where I have defined the UI and on click of Approve button I just Alter the task by using method SPWorkflowTask.AlterTask(this._TaskListItem, taskHash,
true); when this line executed it executes the Task Changed invoked method where I am taking true and false value from the UI and updates the corresponding metadata in target list.
The problem is when I create 2 target list items their workflow status becomes pending and when I approve one of them, both the items get approved i.e. Task Changed event get called 2 times and both line items workflow status become completed. The task list
item corresponding to one approved get 100% completed but other one did not show its completion.