问题标签 [ankhsvn]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
224 浏览

visual-studio-2008 - Visual Studio 的突然变化

我一直在使用 Visual Studio 2005 和 Visual Web Developer 2008 在 vb 中创建 asp.net web-apps。我最近安装了 Visual Studio 2008 以及 AnkhSVN - 并注意到一些导致问题的更改!

最值得注意的是,在我的解决方案资源管理器中(我在 vb 中创建 asp.net 应用程序)我不再展开 .aspx 页面来显示 .vb 对应项 - 我必须右键单击并查看代码。

此外,当向解决方案添加新文件时 - 整个界面已更改,我没有获得母版页复选框选项(我必须选择不同的文件类型),也没有选择是否隐藏代码。

这些只是 Visual Studio 中的更改吗?令人困惑的是,它也影响了我的 VWD2008!

最后,当我创建一个新页面时 - 我立即收到错误......即“无法加载类型'XXXXXX.yyyyyy'。” - 其中 XXXXXX 是项目名称,yyyyyy 是代码隐藏中定义的类。我还确定在此之前,XXXXXX(项目名称)甚至从未添加到类名之前!(删除它没有帮助)

我删除了 AnkhSVN,但这并没有改变任何东西......那么是 VS2008 安装导致了这种情况吗?有没有可能把事情改回来?我可以进行外观更改,但新创建的空白页面甚至无法编译这一事实有点烦人!

如果有人可以提供帮助,我将不胜感激!欢呼:D

0 投票
10 回答
1090 浏览

visual-studio - Basic SVN Usage

Preface

Let me start off by saying that I'm a relatively new programmer and I have no prior experience with source control -- although after some reading, the concepts and general lingo are not alien to me.


Background

I'm about to start my first professional project (I'll be the only one committing) and I'd like to take this opportunity to become proficient with Subversion and source control practice in general.

  • Development will take place on a Windows box in Visual Studio with the help of the AnkhSVN SC plug-in.

  • I've setup SVN on a Windows server and created a repository where I'll store my project(s).

  • This particular project will require delivery of binaries and source code.


Questions

  1. How is solution building usually set up? Say I've imported an initial version of the solution into the repository; next, I've achieved some milestone in my local working copy; I commit those changes; what happens then? Do I just build the solution on my local development machine and package the binaries right there and then? How is this done in the real world?

  2. After messing around with VS and AnkhSVN in a VM, I've noticed that after I checkout some revision of a solution, my local copy's directory tree gets an extra directory called ".svn" in each node. As per the third point in "Background", I'll also be delivering source code along with the binaries. This poses a question: how do I get a "clean" version of my solution? Am I expected to write a shell script that does the cleaning for me?

  3. I often create, merge (by hand, that is), and delete files in my solutions. Will SVN (rather VS and AnkhSVN) handle this gracefully? Will VS/AnkhSVN automatically reload a solution that had files added/removed from it if I go back to a certain revision?

  4. Where did you learn to use source control, and how long did it take you to become proficient (i.e., until these operations were second nature) at it.


I really want to start using source control, but I'm scared that if I start using it and I do something unintentionally stupid, I'd lose my code. Any extra advice is appreciated.

0 投票
3 回答
3753 浏览

visual-studio - AnkhSVN 没有将我的解决方案识别为在源代码控制中

我没有走在 VS 中使用 ankhSVN 上下文菜单将我的解决方案添加到 SVN 的路线。我第一次使用 Tortoise 将我的文件夹/项目添加到 SVN 的路线(因为我更喜欢并喜欢乌龟如何做到这一点)。

然后,当我打开该解决方案时,VS 会打开,但 ankhSVN 仍然没有标记我的文件或识别到 svn 的连接。

这是怎么回事?我不想被迫只使用 ankhSVN 第一次向 SVN 提交项目,以便 ankhSVN 绑定或识别并启动。

0 投票
3 回答
909 浏览

visual-studio-2008 - Ankhsvn 包加载失败

我曾尝试将 Ankhsvn 与 VS 2008 一起使用,但我遇到了包加载失败。任何人都有任何想法,如何找出导致问题的原因。有我可以分析的日志文件吗?

谢谢

0 投票
6 回答
17312 浏览

visual-studio - AnkhSVN 与 VisualSVN

我们正在考虑在我的工作中切换到 SVN,所以我想知道 VS2008(以及 2010 年问世时)的 SVN 插件。经过一番研究,我发现了 AnkhSVN 和 VisualSVN,这两个似乎最占主导地位。(我知道 TortoiseSVN 并将与它一起使用该插件)。

我知道以前有人 这个问题,但是这些问题是在差不多一年前提出的,我们都知道很多事情会在一年内发生变化。

问题:根据您的经验,哪个更好,为什么?

0 投票
4 回答
2335 浏览

visual-studio - 在 Visual Studio 中从 SVN 中删除文件非项目文件

我在 Visual Studio 中使用 AnkhSVN。

当我从 Visual Studio 中删除它们时,如何从 SVN 中删除所有文件(文件不包含在项目中)。

理想情况下,我想做:

  1. 在 Visual Studio 中按“显示所有文件”(显示项目中未包含的文件)。
  2. 从 VS 解决方案资源管理器中删除选定的文件(项目中未包含的文件)。
  3. 提交(删除 SVN 中的文件)

但这是不可能的,我必须直接从存储库中删除文件或从 TortoiseSVN 中删除丢失的文件。

干杯,
德米特里。

0 投票
2 回答
945 浏览

visual-studio - AnkhSVN 货架

我在使用 TFS 到现在之后才设置 AnkhSVN

AnkhSVN 中的什么相当于我将在 TFS 中创建/使用的架子?

0 投票
1 回答
120 浏览

asp.net - 颠覆 ankhsvn 文件从解决方案资源管理器中消失

我正在使用 Visual Studio 2008。每隔一段时间,存在于我的几个类库的根目录中的文件就会从 Visual Studio 的解决方案资源管理器中消失。

文件存在于颠覆上。我无法理解这是什么原因,它又发生了..

有没有人也遇到过这个问题?

0 投票
2 回答
380 浏览

visual-studio-2008 - 如何在不破坏(ankhsvn)颠覆修订历史的情况下将子项目移动到 Visual Studio 2008 中的新文件夹?

我有一堆项目的 ac# 解决方案。其中一个位于与项目名称不匹配的文件夹中(原因我不知道,因为这样做的人在我到达之前就离开了)。我心爱的 ReSharper 插件对我很生气,在命名空间声明下画出蓝色的波浪线,然后呻吟:“命名空间与文件位置不对应,应该是……”我同意。但是文件位置错误,而不是命名空间。

如何在不破坏颠覆集成等的情况下更改项目的文件夹名称?我正在使用 AnkhSvn 插件,但也安装了 TortoiseSVN,只要解决方案保持正常,使用起来都很舒服。

有小费吗?

0 投票
4 回答
481 浏览

visual-studio - Adding images to SubVersion through Visual Studio using AnkhSVN - issues?

For the most part, AnkhSVN is working well with VS2008. The only issue I'm seeing is when an image is added from one dev, it is not added to any other machines when the SubVersion Update to Latest Version is executed.

The log file shows that the image was in fact added and submitted to SVN, but no file is downloaded added locally.

So far I've only seen this with .gif files.

Any tips?

Thanks.