小编Ner*_*ool的帖子

什么是VS2013排水沟中的黑旗图标

Visual Studios 2013在我的代码左侧阴沟中显示一个黑旗图标.它似乎没有任何意义,并且这行代码没有什么特别之处.代码工作正常,我只是想知道为什么这个图标显示及其含义.

icons visual-studio-2013

22
推荐指数
4
解决办法
7142
查看次数

从TFS打开解决方案

我正在研究Visual Studio 2013中的一个项目.我试图找出如何做某事,并建议在TFS上查看另一个类似的项目.当我得到这个其他项目的最新版本时,我发现它是在VS2010中制作的.它将它迁移到VS2013,并将文件锁定给我.我解除了这些更改,因为我不想修改其他程序.我没有找到办法打开该文件而没有尝试将文件锁定到我移植到VS2013.作为一种尝试的解决方案,我将文件复制到计算机上的其他位置并尝试打开它而不连接到TFS.我假设这将允许它在不更新数据库的情况下迁移到2013.它仍然有问题,并给了我这个错误:Solution file '%s' cannot be migrated because the solution cannot be checked out from source code control. To migrate the solution, make sure the solution file can be checked out and re-open it.

如何在不更新TFS解决方案并将文件锁定给自己的情况下打开此解决方案?

tfs visual-studio-2013

7
推荐指数
2
解决办法
5413
查看次数

带字符串的Ada case语句

我试图在case语句中使用一个字符串,但它让我expected a discrete type. Found type Standard.String明白字符串不是离散的.我想知道是否有工作.这是我的代码:

function Is_Valid_Direction(Direction_To_Go : in String) return Integer is
  Room : Integer := 0;
   begin
      --if (Direction_To_Go = "NORTH" or Direction_To_Go = "N") then
      --   Room := Building(currentRoom).exits(NORTH);
      --elsif (Direction_To_Go = "SOUTH" or Direction_To_Go = "S") then
      --   Room := Building(currentRoom).exits(SOUTH);
      --elsif (Direction_To_Go = "EAST" or Direction_To_Go = "E") then
      --   Room := Building(currentRoom).exits(EAST);
      --elsif (Direction_To_Go = "WEST" or Direction_To_Go = "W") then
      --   Room := Building(currentRoom).exits(WEST);
      --elsif (Direction_To_Go = "UP" or …
Run Code Online (Sandbox Code Playgroud)

string ada case-statement

3
推荐指数
1
解决办法
1981
查看次数

标签 统计

visual-studio-2013 ×2

ada ×1

case-statement ×1

icons ×1

string ×1

tfs ×1