continuous integration - check in assembly info in CI with tfs -
how can check in assembly info in tfs? using tfs ci , have 1 work space, when try check in pending :
2017-09-10t17:37:40.3410618z no files checked in. 2017-09-10t17:37:40.8732772z there no pending changes matching specified items.
changes, tfs log show no pending change, dll version right. can see assemblyinfo files in visual studio pending changes. using assemblyinfo plugin in ci , check in powershell command:
tf.exe checkin $/[path]/assemblyinfo.cs
when build in vs locally, file assemblyinfo.cs
generated within workspace (the project in source control mapped) , detected automatically in pending changes page.
but according description, build tfs, means file assemblyinfo.cs
not in source control yet. unless publish/add output active workspace build locally vs, can check in directly. otherwise have add file source control first, check in.
so, try run "tf status
" command first, show list of pending changes.
tf stat /collection:http://server:8080/tfs/collection
if file not been listed, run tf add
first, tf checkin
(you need change directory mapped folder first)
Comments
Post a Comment