AssemblyInfo patcher does not change assembly version

I have tested AssemblyInfo patcher with two simple c# projects where AssemblyInfo.cs is in standard place. In log is changed but assembly version number is not. Both projects are on local hard disk. I tested runner type MsBuild and Visual studio (sln). There is no error messages.

I have not found answer from internet or documentation. This simple thing has already took many hours. What should I do?

Comment actions Permalink

Hi Pauli,

What version of TeamCity do you use? Please send us build log and screenshot of Assembly info patcher feature.
Do you have a line in your AssemblyInfo.cs file that defines AssemblyInformationalVersion?

It should look like this: [assembly: AssemblyInformationalVersion("")]

Comment actions Permalink

Problem solved. I tested without VCS connection. I added VCS connection and then patcher started to work.


Please sign in to leave a comment.