Microsoft Developer Network > Forenhomepage > Visual Studio Extensibility > VS SDK and TeamSystem source control problem
Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetVS SDK and TeamSystem source control problem

  • Sonntag, 3. September 2006 17:25Lakusha TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    Hi,

    After installing Visual Studio SDK, C# project  files in my solution are taken in checkout if a build the solution.

    I'm the only member of our team that have the SDK installed.

    I look at what is added to project file when I build a solution with the SDK installed.

    The following XML is added to the prj file:

    >   <ItemGroup>
    >     <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
    >   </ItemGroup>

    Is there a way to avoid this modification to prj file ?

    Thanks

     

     

     

     

Antworten

  • Freitag, 29. September 2006 19:56Aaron MartenMSFT, BesitzerTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

    The insertion of the <Service> tag appears to be a bug in the DSL toolkit. I've opened a bug in our database to track the issue and we'll get it fixed in a future release of the SDK.

    Thanks,
    Aaron

  • Montag, 23. Oktober 2006 19:53GarethJonesMSFT, ModeratorTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

    This <service> tag

     <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />

    gets (repeatedly) added to the project file when the Text Templating technology that is part of the DSL Tools is in memory inside Visual Studio.

    If its never brought into memory then it shouldn't cause a problem.

    Loading the DSL Tools brings it into memory, so obviously avoid that if you're not using it.
    The presece of the <service> tag itself also brings the text templating service into memory and perpetuates itself.

    So as a workaround, if you close VS - delete all instances of the service tag with the guid specified above from your project file and the reopen the project in a clean VS, it should be gone and stay gone.

     

     

  • Montag, 4. Dezember 2006 21:21Aaron MartenMSFT, BesitzerTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

    FYI...This bug has been fixed in the (upcoming) December 2006 CTP release of the Visual Studio 2005 SDK.

    Thanks,

    Aaron

  • Dienstag, 21. August 2007 12:19GarethJonesMSFT, ModeratorTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

     

    We believe we've finally fixed this one for Orcas RTM

     

    We no longer mark solution files at all, and we now only mark individual project files when you actually run the T4 custom tool in that project.

Alle Antworten

  • Donnerstag, 7. September 2006 04:01dbradley TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    I'm seeing the same thing. I didn't think I installed the SDK but it looks like I did. Hopefully someone will respond either with a solution or work around.
  • Donnerstag, 7. September 2006 04:24dbradley TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    With a bit of searching this looks to be due to the domain specific language tool aka DSL Tools. Unfortunately I haven't figured out a way to turn that off.
  • Donnerstag, 7. September 2006 04:37dbradley TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    There's a text templating option under the options dialog. I set the value to true. That created an error and Dev Studio crashed. But after restarting I don't get the Service element added. There is one thing to realize this seems to foul up the text templating configuration. As I now can't set it back to false.
  • Freitag, 29. September 2006 19:56Aaron MartenMSFT, BesitzerTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

    The insertion of the <Service> tag appears to be a bug in the DSL toolkit. I've opened a bug in our database to track the issue and we'll get it fixed in a future release of the SDK.

    Thanks,
    Aaron

  • Mittwoch, 4. Oktober 2006 18:05Lakusha TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    Hi Aaron,

    Is there a work around that can  make us wait for the bug fix?

    Thanks

     

     

  • Montag, 23. Oktober 2006 19:53GarethJonesMSFT, ModeratorTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

    This <service> tag

     <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />

    gets (repeatedly) added to the project file when the Text Templating technology that is part of the DSL Tools is in memory inside Visual Studio.

    If its never brought into memory then it shouldn't cause a problem.

    Loading the DSL Tools brings it into memory, so obviously avoid that if you're not using it.
    The presece of the <service> tag itself also brings the text templating service into memory and perpetuates itself.

    So as a workaround, if you close VS - delete all instances of the service tag with the guid specified above from your project file and the reopen the project in a clean VS, it should be gone and stay gone.

     

     

  • Montag, 4. Dezember 2006 21:21Aaron MartenMSFT, BesitzerTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

    FYI...This bug has been fixed in the (upcoming) December 2006 CTP release of the Visual Studio 2005 SDK.

    Thanks,

    Aaron

  • Samstag, 26. Mai 2007 10:37Alexey Gapotchenko TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    The bug with <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" /> seems still there in December 2006 CTP release of the Visual Studio 2005 SDK. The bug appears after some manipulation with Tools/Options dialog whithout Text Templating options change. See thread at http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=954064&SiteID=1.

  • Mittwoch, 30. Mai 2007 21:10Aaron MartenMSFT, BesitzerTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    Thanks Alexey,

    I've opened a new bug for us to investigate this.

     

    Aaron

  • Freitag, 27. Juli 2007 12:23James M Manning TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    Any progress?  I'm still seeing this problem with Orcas Beta 2.

  • Dienstag, 21. August 2007 12:19GarethJonesMSFT, ModeratorTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     Beantwortet

     

    We believe we've finally fixed this one for Orcas RTM

     

    We no longer mark solution files at all, and we now only mark individual project files when you actually run the T4 custom tool in that project.

  • Donnerstag, 14. Februar 2008 16:43Mark Rodenhauser2 TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    This bug is happening to me and I haven't even installed the DSL tools.  I'm still using VS2005 with the december updates so this fix in orcas really doesn't help me.  I've taken all the steps suggested in this thread and it is still continually happening.  This is making it nearly impossible for me to even perform my job.  I can't check in code without building first, and every time I build this happens.  I can't review anyone's code, because if I unshelve it, this becomes part of the change.  This bug needs to be fixed in VS2005...not just orcas

     

  • Donnerstag, 14. Februar 2008 17:14Brük TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    I have found that if you just check in the modified project file, including the Service tag, there is no harm caused to other developers who open the project files without having the SDK.  I have also seen no build issues using TFS and MSBuild.  As a workaround, I suggest trying a checkin of a modified project file to see if it will work for you.

     

  • Montag, 26. Mai 2008 19:41Ivo Grootjes TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     

    I didn't have this problem with the Feb 2007 SDK.

     

    But.... after i installed the 3.5 sp1 beta 1 the problem seems to be there at least in vs2005. After uninstalling the 3.5 sp1 beta 1 the problem is gone again.

     

     

  • Dienstag, 17. November 2009 06:23kalburgiga TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    I have Visual Studio 2005 and have installed Visual Studio SDK (Feb 2007) and Guidance Automation toolkit and extensions.

    I am having the same problem as described below.  Please let me know the work around since its very irritating to compile the whole solution and keep discarding the in memory changes.

    Thanks in advance.
    kalburgiga