77298

TeamCity Support For GlobalAssemblyInfo.cs

According to the documents TeamCity v8.1.x supports a GlobalAssemblyInfo.cs file now with the Assembly version patching feature however even though I have such a file in my solution and each of my projects have a link to this file the version information is not being replaced. Is there are certain location where TeamCity is looking for this file or does it just scan the entire solution tree?

Answer1:

This feature only got added in TeamCity 8.1.3.

In the AssemblyInfo Patcher settings there will be a "Patch GlobalAssemblyInfo:" option with a checkbox. If you check the box your (repo root)/GlobalAssemblyInfo.cs should be updated.

Recommend

  • How to prevent “Property '…' does not exist on type 'Global'” with jsdom and typ
  • Can't catch mocked exception because it doesn't inherit BaseException
  • Is there an analogue of visitLdcInsn for loading objects (not constant)?
  • SSH, run process and then ignore the output
  • How do I prevent malicious javascript in V8 (with Python)
  • How can I speed up this row-by-row operation in data.table
  • DOMXML, PHP4 => PHP5
  • Can I call custom javascript from an R jupyter notebook
  • textIndicatorPrecision in dojox.dgauges using dojo
  • What's wrong with `var myEval = eval; myEval(“2+2”)`
  • What is the reason that Policy.getPolicy() is considered as it will retain a static reference to the
  • Why can't I use non-integral types with switch [duplicate]
  • Want to understand iframe breakout code
  • Translating C# to PowerShell in InterIMAP
  • Does Apportable support to build library binary (.a/.so)?
  • How to view images from protected folder with php?
  • x64 applications using gdi+: what are the consequences on performance?
  • Webgrid not refreshing after delete MVC
  • Do I need to reset a Perl hash index?
  • Abort upload large uploads after reading headers
  • Jquery UI tool tip close icon
  • java.lang.NoClassDefFoundError: com.parse.Parse$Configuration$Builder on below Lollipop versions
  • What is Eclipse's Declaration View used for?
  • VS2008 Enable C++ Exception with SEH
  • Excel - Autoshape get it's name from cell (value)
  • DirectX11 ClearRenderTargetViewback with transparent buffer?
  • Check if a string to interpolate provides expected placeholders
  • Deserializing XML into class C#
  • Why is the timeout on a windows udp receive socket always 500ms longer than set by SO_RCVTIMEO?
  • Web-crawler for facebook in python
  • Why winpcap requires both .lib and .dll to run?
  • RestKit - RKRequestDelegate does not exist
  • Traverse Array and Display in markup
  • How to include full .NET prerequisite for Wix Burn installer
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • C# - Getting references of reference
  • how does django model after text[] in postgresql [duplicate]
  • Qt: Run a script BEFORE make
  • costura.fody for a dll that references another dll
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize