Prompt for checkout on project only changes ProjectGuid
Moderator: SourceGear
Prompt for checkout on project only changes ProjectGuid
We are working in a local team envrionment and have a problem where the project is prompted to be checked out and the only thing that is "automagically" changed is the ProductGuid.
Anyone know what would cause this?
Anyone know what would cause this?
Hi Tonya, Yeah we have a solution with 5 projects in it. When you open the solution, the project file is automatically checked out. When you do a compare on the file, the only thing that was changed was the ProjectGuid (example below). So you check in the file, but the next time another developer opens the solution on their end, same thing happens...
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{7AADE201-4567-2134-D3F4-25A5A778AAA7}</ProjectGuid>
changes to
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{8DTEK953-8514-8415-RT52-85M5A778CCC9}</ProjectGuid>
This usually only happens on a couple of the projects in the solution and it's random as to which ones get changed.
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{7AADE201-4567-2134-D3F4-25A5A778AAA7}</ProjectGuid>
changes to
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{8DTEK953-8514-8415-RT52-85M5A778CCC9}</ProjectGuid>
This usually only happens on a couple of the projects in the solution and it's random as to which ones get changed.
Hello!
Thanks for the details. I have some additional questions for you.
What version of Vault are you using?
What version of Visual Studio are you using?
How are you opening the solution? (ex. File - Open)
Are any of the projects web projects?
A suggestion that I have for you is to clear out your working folder and open the solution from source control. Once the solution has been opened from source control, close it and reopen it using File - Open.
Please let me know the outcome. Thanks!
Thanks for the details. I have some additional questions for you.
What version of Vault are you using?
What version of Visual Studio are you using?
How are you opening the solution? (ex. File - Open)
Are any of the projects web projects?
A suggestion that I have for you is to clear out your working folder and open the solution from source control. Once the solution has been opened from source control, close it and reopen it using File - Open.
Please let me know the outcome. Thanks!
-
- Posts: 8
- Joined: Fri Jan 18, 2008 4:34 pm
Re: Prompt for checkout on project only changes ProjectGuid
My team has been having this same issue for months. Please tell me it is fixed.
> What version of Vault are you using?
5.0.3
> What version of Visual Studio are you using?
VS2008
> How are you opening the solution? (ex. File - Open)
File-Open
> Are any of the projects web projects?
Sometimes but not always.
> What version of Vault are you using?
5.0.3
> What version of Visual Studio are you using?
VS2008
> How are you opening the solution? (ex. File - Open)
File-Open
> Are any of the projects web projects?
Sometimes but not always.
Re: Prompt for checkout on project only changes ProjectGuid
After doing some research, it appears that this issue is created by having multiple solutions with shared projects.
The project GUID is a unique id for each project. It is stored in the project file, but the solution files use them as well. After working with one solution and changing to another one, shared project
files are always changing (and MUST be checked out) because the ProjectGUID randomly changes.
I would suggest reading over the following Microsoft forum (the problem is very similar to yours and a workaround is posted):
http://social.msdn.microsoft.com/Forums ... e999216cbd
Workaround:
To solve the problem, select a single GUID for your shared project; Make sure all the solutions that open it have that single thus the same GUID in their solution files. (Please backup your files before any change.)
Please let us know if this information doesn't help.
The project GUID is a unique id for each project. It is stored in the project file, but the solution files use them as well. After working with one solution and changing to another one, shared project
files are always changing (and MUST be checked out) because the ProjectGUID randomly changes.
I would suggest reading over the following Microsoft forum (the problem is very similar to yours and a workaround is posted):
http://social.msdn.microsoft.com/Forums ... e999216cbd
Workaround:
To solve the problem, select a single GUID for your shared project; Make sure all the solutions that open it have that single thus the same GUID in their solution files. (Please backup your files before any change.)
Please let us know if this information doesn't help.
-
- Posts: 8
- Joined: Fri Jan 18, 2008 4:34 pm
Re: Prompt for checkout on project only changes ProjectGuid
>> To solve the problem, select a single GUID for your shared project; Make sure all the solutions that open it have that single thus the same GUID in their solution files.
Tonya, thank you for the answer. Having said that, are you really asking your customers that have 20+ developers crack open their 5+ solutions to ensure that any one of the 100+ projects they needed for the solution in the functional area they are assigned at the given time sharing core architecture projects with other product teams within the company have the same GUID in the solution file? LOL.
Not optimal!
I realize that SourceGear is held hostage by the really smart people at microsoft who design these nice "features" without thinking but if you could please talk to the development staff and suggest to them that they should work around this issue in your product for the sake of enterprise class customers working on large products with multiple solutions and projects and teams, that would truly be appreciated.
Tonya, thank you for the answer. Having said that, are you really asking your customers that have 20+ developers crack open their 5+ solutions to ensure that any one of the 100+ projects they needed for the solution in the functional area they are assigned at the given time sharing core architecture projects with other product teams within the company have the same GUID in the solution file? LOL.
Not optimal!
I realize that SourceGear is held hostage by the really smart people at microsoft who design these nice "features" without thinking but if you could please talk to the development staff and suggest to them that they should work around this issue in your product for the sake of enterprise class customers working on large products with multiple solutions and projects and teams, that would truly be appreciated.
Re: Prompt for checkout on project only changes ProjectGuid
Thank you for getting back to us and expressing your concerns. I have logged your request in our feature request database for consideration in upcoming releases.
Sorry for the inconvenience.
Sorry for the inconvenience.
Re: Prompt for checkout on project only changes ProjectGuid
To check on the status of this request or for future reference, here is the feature request work item number tied to the request: V:15556.
-
- Posts: 8
- Joined: Fri Jan 18, 2008 4:34 pm