Microsoft 开发人员网络 > 论坛主页 > Visual Studio Source Control and SourceSafe > Source Control in Visual Studio Tools for Applications
提出问题提出问题
 

已答复Source Control in Visual Studio Tools for Applications

  • 2009年10月23日 18:44Tomasz Krawczynski 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I'm using Visual Studio 2005 Tools for Applications to edit my InfoPath forms.  I just realized I don't have a plug-in installed for Visual Source Safe.  I have VSS installed on the machine, but under Plug-in I don't see it.  How can I check in my code?
    There is 10 types of people in the world, those that understand binary, and those that don't.

答案

全部回复

  • 2009年10月26日 5:06Catherine Sea 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi Tomasz,

    Did you check at Tools->Options->Source Control?

    If you check the right place and SourceSafe is not available, you may try reinstalling SourceSafe.

    Thanks,


    Catherine Sea
    Version Control Software | Software Configuration Management Solution

  • 2009年10月26日 5:17Catherine Sea 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi Tomasz,

    Also, if you don't want to re-install VSS, you can register the dll files in the VSS installation folder using regsvr32 to enable VSS Visual Studio Plug-in.

    Note: VS Express do not support SCC integration.


    Catherine Sea
    Version Control Software | Software Configuration Management Solution

  • 2009年10月26日 11:21Tomasz Krawczynski 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I thought it worked.  When I open up VS on the machine I see the Source Safe plug-in, but when I open up the InfoPath form, then from the go to Tools, Programming and Microsoft Visual Studio for Application , VS 2005 for Application opens up and the plug in is not there.  Do you have any other suggestions?
    There is 10 types of people in the world, those that understand binary, and those that don't.
  • 2009年10月27日 6:00Catherine Sea 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    but when I open up the InfoPath form, then from the go to Tools, Programming and Microsoft Visual Studio for Application , VS 2005 for Application opens up and the plug in is not there.  
    I don't quite understand this.

    To add a project to the source control of SourceSafe, you just need to go to Tools->Options->Source Control and select SourceSafe as the current source control plug-in. And then in the Solution Explorer, right-click the solution file and click Add Solution to Source Control. After that, you can check out/check in your files.

    Thanks,


    Catherine Sea
    Version Control Software | Software Configuration Management Solution

  • 2009年10月27日 11:19Tomasz Krawczynski 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Catherine, don't get me wrong, I do know how to use Source Control.  This is my exact situation.  I have a Windows Server 2003 machine running as my development environment for SharePoint.  On it I have Visual Studio 2005, Source Control and InforPath installed.  If I open up Visual Studio 2005 directly I see the Source Control plug-in and I can use it normally.  The problem arises when I try to edit an InfoPath form.  Once the form opens and I want to edit the code behind, Visual Studio for Applications 2005 opens up.  I can edit and save my code, but I can't check it in.  I have a Source Control under Tools -> Options, but the plug-in selector is empty.  I can't figure this out.  I even tried closing InfoPath and going directly to the code from Visual Studio 2005, but at that point I get a message that the code is not in readable format for VS 2005, seems like only Visual Studio for Applications will open it.  I hope this clarifies my problems.  Any help will be much appreciated.

    Thank you.
    There is 10 types of people in the world, those that understand binary, and those that don't.
  • 2009年10月28日 9:42Catherine Sea 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    Thanks for the explanation, Tomasz.

    You may take a look at the following thread to see if it helps:

    Thanks,


    Catherine Sea
    Version Control Software | Software Configuration Management Solution