Greetings.
I recently added a solution to source control without issue. However I am now running into a strange issue when trying to set up on my computer a second copy of the solution from Source Control (as a test to document for others the steps of opening the project from source control).
I just tried opening the solution from Vault using Visual Studio and am getting a yellow warning icon appearing on some files in the solution, but not all. When I do a get latest of the project the warning icons disappear.
Here are the steps I'm following:
1. File > Source Control > Open from Source Control
2. Specify the path where I will store the solution, the vault folder to download and click OK to bring down the solution.
The solution is brought down successfully and the two projects are there. One project is a class library, the other project is a website. In the website all the files appear correctly, with the checkmark or lock icon depending on if I've got them locked or not). In the class library, however, many of the .cs class files appear with the appropriate blue lock or red checkmark but have the file icon itself as well as a default 'document' icon with a yellow warning triangle with exclamation point in it.
Files in the class library which are not class files do not have this problem. The Properties folder, Assembly Info and Settings files are fine, and the app.config and Settings.cs are fine also. It's only my class files that have the warning icon.
If I do a get latest of the whole solution the icon is returned to the correct icon.
I just tried on a co-worker's machine and when I added the project the yellow warning icon are there, but they disappear almost immediately after the project is loading.
Can anyone tell me the reason why on my system they remain on the second instance of the solution until I do a get latest? Is it because this is the second instance of the solution I've pulled to the same computer?
Thanks,
Pablo
Warning icon on some files when opening project from Vault
Moderator: SourceGear
Hi Linda. Thanks for the reply.
I'm using VS 2005 v8.0.50727.42.
The two solutions are in two different locations on my hard drive
The original project:
c:\active-dev\PROJNAME
The second project
c:\vaulttest\PROJNAME
There is no red checkmark on the project file (.csproj), and the project file isn't actually visible within Visual Studio so I assume you mean within the Vault Client.
The warning icons will be removed when I do a get latest or if I close and re-open the solution.
Thanks,
Pablo
I'm using VS 2005 v8.0.50727.42.
The two solutions are in two different locations on my hard drive
The original project:
c:\active-dev\PROJNAME
The second project
c:\vaulttest\PROJNAME
There is no red checkmark on the project file (.csproj), and the project file isn't actually visible within Visual Studio so I assume you mean within the Vault Client.
The warning icons will be removed when I do a get latest or if I close and re-open the solution.
Thanks,
Pablo