XSD Files with SourceVault
Moderator: SourceGear
XSD Files with SourceVault
I have been trying to create a typed dataset in VB.NET 2003 but keep running in to problems. It seems that VB handles the XSD file differently to the normal VB Project Files. I Am developing a project with 4 other porgrammers and the XSD file is only being edited by myself however the other programmers do not get these updates. Sometimes Vault will ask to check out the whole Solution and when it does it removes all links to the XSD file which means recoding again. If I do not allow Vault to do this update I can continue to work though obviously the other programmers do not get this latest version.
Is anything known on this problem and/or a fix?
Is anything known on this problem and/or a fix?
When the entire solution gets checked out, does a dialog appear stating that the files should be removed from source code control?Sometimes Vault will ask to check out the whole Solution and when it does it removes all links to the XSD file which means recoding again.
Do you see a pattern when you are prompted to check out the entire solution?
When the other users perform a "get latest" and it doesn't work correctly, does the problem only happen when the entire solution has been checked out by you?
The problems that I run into with the .xsd files are so random that I am having trouble trying to discover a temporary fix.
Tonya Nunn
SourceGear Support
not for me, mine says runs as normal when you close the xsd file, it then checks out the whole project. After that .NET says that the XSD file has changed outside of the editor and would I like to reload it. Saying No to this is usually best but in no way guarentee's the integrity.When the entire solution gets checked out, does a dialog appear stating that the files should be removed from source code control?
Afraid not, although generally saying No to any kinda of reloading and/or checking out just ends up delaying the inevitable corruption.Do you see a pattern when you are prompted to check out the entire solution?
I guess so because Vault automatically checks out the project to me whenever I change the XSDWhen the other users perform a "get latest" and it doesn't work correctly, does the problem only happen when the entire solution has been checked out by you?
The "solution" I have found is just to exclude it from Vault this stops any corruption and all the problems....however....I dont know what will happen when I finalise the project so its not ideal.
Thanks for letting me know this. I was able to reproduce the problem here. I think it's related to the fact that there are three files associated with Data Set file types and I don't think that Vault is excluding all of them from source code control. I have also logged this as a bug.
Are you loosing all of your changes when the project files are being checked out? What exactly do you lose?
Tonya Nunn
SourceGear Support
Are you loosing all of your changes when the project files are being checked out? What exactly do you lose?
Tonya Nunn
SourceGear Support
When the XSD file is created I use it as a typed dataset....I then databind it to numerous textboxes etc on forms. When the XSD file is lost/removed it takes with it all those bindings and also leaves some references within the form which need to be manually found and removed.
I currently check out the entire project and then check back in everything I don't need. It seems that as long as you have the vbproj file checked out everything is ok
*touches wood*
I currently check out the entire project and then check back in everything I don't need. It seems that as long as you have the vbproj file checked out everything is ok
*touches wood*