TFS on VS2010, code pooling issues

We recently had problems with TFS and our code base. We have a section of tests that use Webdriver, and a section that uses a coded user interface. Recently, we have had problems combining our code after a new assembly has been pushed. Some folders are displayed as a white outline of the folder, which we can right-click and select "include in the project." We also notice that some files are missing, and we cannot β€œget the latest” to capture them. We have to go around to do this (cancel the code, delete local files, get the latest, merge the code). Even when we do this, we still have some problems.

But the main problem that we have is that our coded user interface cards break. Instead of a normal structure, such as:

.uitest

----. CS

----. Designer.cs

When we merge into a new code, the user interface maps come out as follows:

.cs

----. Designer.cs

.uitest

I opened .csproj in Notepad ++ and noticed that the .cs and .designer.cs files no longer had a dependency on the .uitest file. Now the .cs file has no dependency, and the .designer depends on the .cs file. We can fix this with relative ease, but it continues to break down in every build, and we have several cards that we need to fix. What exactly could be the problem here? Also, referring to my problems with files that are not included in the project, what could be the problem?

I asked the same question on the MSDN forums, but I have already tried the suggestions that I received, for example, creating a new workspace, since the other may be damaged. Still not working.

Thank you in advance

Edit: It was suggested on the MSDN forums to launch VS as an administrator. That didn't work either. Not quite sure what might cause this problem. This does not seem to pose a problem for everyone, because some new builds cause problems for some people, but not for others. Some additional information would be running on Windows 7 64bit and Visual Studio Ultimate 2010.

+4
source share
1 answer

In the past, I had problems with TFS that sound the same, 2 of our developers seem to periodically create problems when combining files in the data store, folders and files will appear as not included until the project file does this in (break everything after receiving the latter). In the end, the problem disappeared, but we never found the source. I think this has something to do with our network - perhaps a switch problem in conjunction with how we compared working folders to network drives pointing to a shared dev server. Also, one of the workstations had a problem with Windows Explorer not seeing file updates on the dev share server ... the developer would have to click \ servername \ C $ \ sharefolder, and then click on his mapped network drive again before updating the updates . (And checking it in creating most of the problems) ... we performed VS2008, TFS2010

Just some ideas ...

0
source

Source: https://habr.com/ru/post/1433010/


All Articles