Visual Studio 2005 SDK

Hello

Does anybody know why after installing VS SDK, while build, VS will open all of projects in the solution and add below tag to them

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

or

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

And how can I turn it off.


Regards

Mohsen



Answer this question

Visual Studio 2005 SDK

  • Roger McKinney

    Hi Matt,

    I just encountered this issue for the first time after using VS2005 since it was offiically released. The only thing I think I did differently, was that I did not set my main executable project as the "Startup project". I had opened my project fresh from SCC, which by default uses the "selected" project as the startup project. Normally, I set my main executable project as the startup project before building.

    Hope this helps.
    Tom


  • JIM.H.

    oh the pain! i have the same prob. Thanks 4 the answers

  • UncleSam89

    Hallo,

    This entry specifies services that VS loads when your project is built and they are supposed to be needed so that your project builds properly. This particular GUID refers to the text templating engine (T4), part of the domain-specific language tools (DSL) installation, that comes with the Visual Studio SDK. Now, I'm not that familiar with DSL but, as far as I know, if this is a web application, this is related with the vwd.webinfo file (formerly vwdsettings.xml). According to the ASP.NET team: "...In the Beta 2 release, if you set project global settings (or if you applied a security policy, which uses project global settings), ASP.NET created a Vwdsettings.xml file in the Web site to store the settings In the RTM release, the name of this file has been changed to Vwd.webinfo...". If this is the case, you have to manually remove the file (both from source control AND the local web folder) and also walk through all project files and remove all references to it there.

    I'm sorry I could not provide more info. As I said, this entry is definately related with DSL (BTW, unistalling VS SDK won't solve the issue), so perhaps it's better you go ask more about it in the Visual Studio Team System - Domain-Specific Language Tools forum.



  • Ritesh305

    Hi James,

    Actually, this bug (about adding line <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />) is still with us in VS SDK RTM 4.0.

    Should I submit it on Microsoft Connect

    Thanks!



  • TommyGL

    Hi Aaron,

    Sure. No Problem. Thanks.

    P.S. If it is possible could you please kick the team to resolve the one really weird bug MPF RTM4.0 That bug is # 274788



  • CodeScribler

    I just managed to fix this with your advice. I did a search in my registry for the GUID that appears in the .csproj files, but that alone was not enough.

    That GUID however pointed to another GUID (a9696de6-e209-414d-bbec-a0506fb0e924), and removing a couple of entries in the registry was enough to get the job done.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{a9696de6-e209-414d-bbec-a0506fb0e924}

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp\Packages\{a9696de6-e209-414d-bbec-a0506fb0e924}

    < xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />Removing/renaming these two alone seems to be sufficient to fix the problem. I just prefixed them with underscores and it's building just fine.

     


  • SMaia

    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.



  • Onats

    Mohsen,

    This is in fact a bug in the SDK. We have fixed this bug and the bug fix should be part of the December 2006 CTP.

    thanks,
    James Lau
    Program Manager, VS Ecosystem


  • Dietz

    Sorry, I may have opened Tools->Options and seleected the Text Templating node (thus loading the offending DSL thingy).


  • wsalomon

    Hi Amadeus

    Thanks for your good reference. From there I found a good article in http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/vstsmodel.asp but it didn't say anything about this tag.

    In my solution I have many windows and web applications both. This tag is adding to both of them and I can not manually remove them, becuase after each build it will be added again. The only workaround was do not check projects in. You are right uninstalling will not remove them but at least after uninstalling they will not be added anymore. I had to install VS SDK on a virtual machine, but it is not a good solution.

    Regards

    Mohsen


  • Arunv

    Hi Dmitry,

    I've opened a bug on this in our bug database. No need to open on Connect if you haven't already.

    Thanks,

    Aaron



  • MotorolanSummer

    partymonkey, That is exacly what I did and then soon afterwards began encountering this problem.  how do I unload this DSL thingy
  • netleon

    I have suffered with this issue for a long time. I downloaded the December CTP and installed it. I also went through every file and removed the block that gets inserted. When I reopened my solution, it again forces a checkout of the .csproj files and reinserts the block. Was the bug supposed to be fixed in the December CTP

    This is really a pain. If anyone has any advice that will help me avoid this bug I would REALLY appreciate it.

    --Matt


  • Endless258

    Ah yes, I also did exactly this before finding a vwd.webinfo file, and <Service Include=""> tags in all my projects.
    The message is clear: beware the Text Templating options node!
    I uninstalled the SDK, and manually removed the vwd.webinfo and Service tags from my projects.
    They don't get added anymore.
    The options node is gone, too.

  • Visual Studio 2005 SDK