Why does DataCollection.StartProfile returns ErrorNotYetImplemented

Verrouillé Why does DataCollection.StartProfile returns ErrorNotYetImplemented

  • jeudi 12 avril 2012 08:10
     
      A du code

    I'm trying to have my code coverage data into tfs when I run my tests with NUnit using this code:http://codecoveragerunner.codeplex.com/

    I've made some modifications to match my needs. I'm pretty close but I keep getting the ErrorNotYetImplemented result back from the DataCollection.StartProfile. Also my coverage file is empty. My target assemblies are instrumented successfully

    private void StartProfiler()
    {
        startProfileResult = DataCollection.StartProfile(
                                  ProfileLevel.Global,
                                  DataCollection.CurrentId);
    }

    What does the result means and what am I missing?

    Best regards,

    Michael

Toutes les réponses

  • vendredi 13 avril 2012 08:22
    Modérateur
     
     

    Hi Michael Bendtsen,

    Since I did not used TFS, and do not know what you mean "have my code coverage data into tfs when I run my tests with NUnit".

    After I read this article: http://blogs.msdn.com/b/angryrichard/archive/2005/01/16/354194.aspx 

    I know how to use the API, I'm really the first time know profile tool has API provide to developers, :).

    So can you help me make a demo and the steps I need to do, which can let me repro your issue locally, I would like to have a try to help you.

    If there's any concern, please feel free to let me know.

    Best wishes,


    Mike Zhang[MSFT]
    MSDN Community Support | Feedback to us


  • mardi 17 avril 2012 06:00
    Modérateur
     
     
    I am writing to check the status of the issue on your side. 
    What about this problem now? 
    Would you mind letting us know the result of the suggestions?

    Mike Zhang[MSFT]
    MSDN Community Support | Feedback to us

  • mardi 17 avril 2012 07:15
     
     

    Hi Mike

    After posting the question I moved on to my next task. I will get back to this soon. 

    My plan is to create a spike to see if I can reproduce this issue and then send the projects to you. 

    I will write to you when I'm ready to move on.

    /Michael

  • mardi 17 avril 2012 09:32
    Modérateur
     
     

    OK, I will go on to follow you once I get the updates form you.

    Have a nice day!


    Mike Zhang[MSFT]
    MSDN Community Support | Feedback to us