i can't import source code to visual studio 2010.


I followed Onboarding Guide until the section which "connect to team foundation server". every thing untill this part works correctly, but ofter this part i can't connect to server and i face with an error, which are shown below.
what can i do to fix it or import sorce code into visula studio? because i want to generate some costumized activities.
"TF31002:Unable to connect to this Team Foundation Server;
Team Foundation Server Url:https://tf04.codeplex.com/.
Possilble reason for failure include:
-The name,port number, or protocol for the Team Foundation Server is incorrect.
-The Team Foundation Server is offline.
-The pasword has expired or is incorrect.
Technical information (for administraror(:
unable to connect to the remote server"

file attachments


abhisheks wrote Oct 17, 2011 at 10:17 AM

Thanks for showing interest in Trident.
To work with the Trident source code, one does not need to connect to the TFS server. Please choose to work offline. The source code you can download from the source code tab from the Trident site. Apart from this you may continue to follow the Trident Onboarding guide.
I am briefing below the Onboarding guide details in convenient way which you might feel easy to get the Trident source code compiled on your local machine.
1) Download and install the Trident on your machine
2) Get the source code from the source code tab in the Trident Codeplex site.
3) Now, open the source code in VS 2010.
4) If dialog box appears regarding TFS connection choose for work offline.
5) Try compile the source code, you will get errors, mostly regarding the “references not found”.
6) Get those references either from C:\Program Files\Microsoft Project Trident - A Scientific Workflow Workbench or C:\Program Files\MSBuild or C:\Program Files\Microsoft SDKs, or C:\Program Files\Reference Assemblies\Microsoft.
7) If you finding any difficulty consult the Onboarding guide for that particular topic.

Note:- Since Trident uses .NET 4 and Silverlight 4 you need to have these components installed. Silverlight 4 SDK, Silverlight 4 runtime. .NET 4 automatically installs at the VS2010 installation.
Please let me know if get any difficulty or any further issue.
Trident Support Team

wrote Oct 22, 2011 at 7:43 AM

sarikhani wrote Oct 22, 2011 at 7:43 AM


Thank you for answering my question.

I have done all the tasks according to your order. While, i have some problems which i can't solve it.
First i Create new project from Existing Code Files. ( actually two project , one base on "console application", the other base on "class library").Even after adding all required dll to reference.
i faced lot's of problems,( i attached the my error list).

i will appreciate if you help me to solve these problems.
I want to send my source code but they are more than 4MB. if you need to look at the codes , please let me know.

Best Regards

sarikhani wrote Oct 24, 2011 at 3:45 AM


by the way, i need to have some dll which i can't find them. like,
"Microsoft.Research.ScientificWorkflow " and some of there subbranches.like,



abhisheks wrote Oct 24, 2011 at 9:36 AM


Please find the location of the references at the following location under the default Trident location.

Assembly -> Microsoft.Research.ScientificWorkflow
Path -> C:\Program Files\Microsoft Project Trident - A Scientific Workflow Workbench\ScientificWorkflow.TridentWorkflowCommon.dll

Assembly -> Microsoft.Research.ScientificWorkflow.ManagementStudioControls
Path -> C:\Program Files\Microsoft Project Trident - A Scientific Workflow Workbench\Microsoft.Research.ManagementStudioControls.dll

Assembly -> Microsoft.Research.ScientificWorkflow.WebClient
Path -> This assembly you will find in the Trident installed location if you have installed the Trident with Silverlight project. My installation is without it. Please look for the WebClient folder under the C:\Program Files\Microsoft Project Trident - A Scientific Workflow Workbench. Inside it there will a bin folder under which you will get the assembly.

Trident Support Team

arashsari wrote May 24, 2012 at 7:32 AM


1- I follow up to step 2. in step 3, i have no idea how i can open source code in VS 2010. and have all the source code and solution in one solution. There are a number of solution into it. How can i open source code into Team Explorer?

2- If i follow "onboarding_guide", it open each solution separately (like DataLayer-full.sln). May be i have not enough knowledge about VS2010 or your source code architecture. Please help me in this case. if i am made mistake cause of lack of knowledge.

3- in "onboarding_guide" in side the pre-build operation, i can not find "Wix2", and "Wix3" binaries to copy into sub-folder that i made.

4-( 3rd ways that i tried). I make new project from existing code. then add required references (like , WindowsBase, PresentationCore, and PresentationFramework) . i face 34 error (like,
The tag 'Activity' does not exist in XML namespace 'http://schemas.microsoft.com/netfx/2009/xaml/activities'. )


abhisheks wrote Jun 1, 2012 at 9:33 AM

Apologies fior delayed response. Unfortunately, I missed the thread and could not respond you.

1) how i can open source code in VS 2010.

Answer -> To Open the source code locate the folder where you have downloaded trident.

Follow the path to ..\tridentworkflow\Trident\Product\ScientificWorkflow folder.
Start the ScientificWorkFlow.sln. this is the primary solution you need to work it. It contains a host of project for different features of Trident.

2) Wix2 and Wix3 can be downloaded from from the codeplex. they are different products. You need to download them and install. Also, Wix2 and Wix3 are needed only when you want to create new setup files, otherwise silverlight 4 SDK, Microsoft enterprise library are main componenets which again you have to download separately.

Arash, you have any further difficulty please let me know. the workinfg with Trident is quite easy and you are only getting problem in starting. Once overcome this starting period many fucntionalities, architecture will become clear to you instantly.

Trident Support

wrote Feb 14, 2013 at 7:04 PM