AssemblyInfo patcher does not change assembly version

Hi
I have tested AssemblyInfo patcher with two simple c# projects where AssemblyInfo.cs is in standard place. In log %system.build.number% 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?

0
2 comments

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("1.0.0.0")]

0
Avatar
Permanently deleted user

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

0

Please sign in to leave a comment.