Browse Tag

tfs

TFS Build 2o12 & C# 6.0

Recently, just after migrating to Visual Studio 2015 we have noticed, that our Continuous Integration Build, which is using TFS 2012 is not quite happy about our recent check-ins. A quick investigation lead us to conclusion that one of us by mistake used new feature of C# 6.0. As Visual Studio compiled solution without errors, developer thought that everything is OK, as there was no sign of sudden failure.

The first idea was – we need to upgrade our TFS Builds – but it was “no go” for us as it would mean that we need聽to migrate all our custom build activities as well. Hopefully for us – there was also another solution – much easier one.
All we had to do was:

  1. Install Visual Studio 2o15 on Build machine
  2. Edit build process template and point MSBuild activities to new location with MsBuild 14.0

… after this small change, everything was working again. All green! ;o)

One NuGet please!

Gdybym wiedzial, ze tak bedzie, to bym tak nie zrobil“… czasem mozna powtarzac to jak mantre. Ktos kiedys, podejmuje jakas decyzje, ktora w danym momencie wydaje sie byc dobra (lub jest niedokonca przemyslana :)), decyzje ktora rozwiazuje pewien problem i dziala… dopoki nie pojawi sie inny, nowy 馃槈 wtedy podejmujemy nowa decyzje, ktora rozwiazuje stary problem, ten nowy i inny..potencjalny (jesli poswiecilismy chwile czasu na zastanowienie sie nad takim). I wszystko dziala… rzecz jasna… do momentu az nie pojawi sie kolejny problem X :). Dzis o jednej z takich decyzji podjetych w odpowiedzi na problem X…
Keep Reading

TFS: Checked-out identical files

Okazuje si臋, 偶e w tak zar膮bistym narz臋dziu jakim jest TFS, mo偶na 艂atwo i bez trudu wykluczy膰 wszystkie pliki, kt贸rych nie tkn臋li艣my, ale nasz wspania艂y source control tool potraktowa艂 je jako zawieraj膮ce “nasze zmiany”. Mimo, 偶e je艣li tylko spr贸bujemy por贸wnywa膰 贸w plik, z tym na serwerze, to sam przyzna, 偶e s膮 one identyczne. Keep Reading