When I'm trying to check in some code TFS and below error message is coming.
Value was either too large or too small for a UInt32.
What is causing this issue and how can I fix this issue?
When I'm trying to check in some code TFS and below error message is coming.
Value was either too large or too small for a UInt32.
What is causing this issue and how can I fix this issue?
I have found the solution for this issue.
Solution:
Save your files before check-in and then initiate check in. This issue will not come.
Root Cause:
It seems to be a bug in the dialog (Not sure), but certainly error message is confusing to user.
Hope this solution will resolve your issue.
As Geeky Ninja mentions, the problem is that not all files are saved. Luckily VS has a handy button for this (ctrl + shift + s):
File > Save All
Helps me every time
Build and check in. You will not see the problem. It's always good to see your changes are actually compiled with no errors before checking in.
Weird error. In my case it was when I tried to Shelf my code. I just ran the solution to ensure it worked before I created a shelfset. I then tried to create a shelfset in so all the files were saved, I thought.
I did the Save All and actually restarted Visual Studio. Then Chrome hung as Visual Studio was starting ... I was finally able to create my shelfset update.