Tom Fischer

  Home  |   Contact  |   Syndication    |   Login
  21 Posts | 0 Stories | 44 Comments | 0 Trackbacks

News

Archives

Post Categories

.NET Framwork

TFS

Tools

Visual Studio

Wednesday, October 29, 2008 #

Yesterday I ran into an interesting problem with TFS 2008 and VS2008.
I had a web application which used a reference to webapp/bin/myLib.dll
 
To get the build scripts running I moved myLib.dll to ../SharedLibrary/myLib.dll.
Then I removed the reference to myLib.dll inside the webapp and added the reference to the new location.
Compiled and it worked fine.
 
Inside the Pending Change Window I saw the that the project files got checked out into edit mode. (as it supposed to)
So I checked them in. But TFS told me that there was no changes and did not check anything in.
 
Of course the build did not work because the server did not get my changes.
So I got latest again and of cause the project reloaded to the original settings.
 
I tried nearly everything:
- Deleted the references
- Restarted VS
- Checked it in.
- Restarted VS
- Added the reference
- Restarted VS
- Checked it in
 
No affect always the same problem.
 
At one point I did the following which finally worked:
- I went into the source control explorer and manually checked the project file out
- Unbound the Project from TFS 
- Opened the project file and changed the the Reference Line manually to:
<Reference Include="myLib, Version=3.0.93.194, Culture=neutral, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\SharedBinaries\myLib.dll</HintPath>
    </Reference>
- Bound the project again
- Checked in
 
I don't know why but the standard way did not work, but finally the build server was able to build it successfully.
 
I have to admit, TFS is great but the 2008 IDE integration has more issues than the 2005 integration...
 
Hope this might also help you
 
Tom

Hi all,

People were asking why I did not post anymore.... Here is the exiting answer:

My wife and me had our second daughter!

Welcome Katja!

We are totally thrilled and sooooo happy!

Tom