Answered WorkFlowHelpers problems

  • mercoledì 6 giugno 2012 19:02
     
     
    I have a class that uses a helper class called 'WorkFlowHelpers'. I have added Microsoft.TeamFoundation.Build.Workflow from C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies to my references. It won't let me use 'using Microsoft.TeamFoundation.Build.Workflow;' and when I try to build, I get a error that says 'workflow' is not in the current namspace. I'm using TFS2010 and VS2010 C#. Can anyone help please?

Tutte le risposte

  • mercoledì 6 giugno 2012 19:22
     
     Con risposta

    Change the "Target Framework" and try .... Should work..

    If you need steps, see below...

    1. Expand the Project in Solution Explorer

    2. Double Click on the Properties

    3. In the Application Tab page, Change the Target Framework to ".net Framework 4 platform Update 1 (KB2478063)

    4. Should work now...

    Thanks

    Haribabu Bavanari


    • Contrassegnato come risposta AndrejsM mercoledì 6 giugno 2012 20:16
    • Modificato Hari Bavanari martedì 12 giugno 2012 17:35
    •  
  • mercoledì 6 giugno 2012 20:16
     
     
    Thank you, you're a genious!