English 中文(简体)
我如何在我于2010年发表《世界卫生报》之前作出承诺
原标题:How do I make SVN commit before each time I publish on VS 2010

I m 运行视觉演播室,2010年,视觉剧本和TortoiseSVN。

每当我利用网络探索来部署网站时,我就喜欢把我的所有档案投入特别志愿人员协会。 实现这一目标的最佳途径是什么?

最佳回答
问题回答

视像演播室在你打到出版的纽顿时是建的。 你可以在2010年建立一支建筑组合,在成功建造后执行指挥。 您应安装特别志愿人员网络客户的指挥线,并使用该指挥线执行承诺。 将SVN指挥线客户从建筑配置中接手。

一种更为常见的做法,是致力于改变版本控制系统,而不是使用网络。 然后,有一个建筑服务器从版本控制中获取源头,并将改动纳入服务器。 游轮网络是这样做的良好工具。

probably this is not the answer you are looking for - but I do not think you can get this out-of-box. I would suggest you to create a visual studio plugin and integrate it with SharpSVN (subversion client API) to achieve what you want.

<><>UPDATE:

as @maddoxej mentioned, post-build action might work as well. However, I find it s easy to miss what configuration is selected - and press F5. And committing to SVN by accident is not generally a good thing.

另一种选择 我所想的可能是VS宏观。 仅记录一个宏观,点击部署,然后向SVN承诺。

The answers that suggest making the check-in a build action is slightly flawed because the publication process will presumably increment a published build number as part of the publication process. This will modify the source code which will then need checking-in.





相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...