How to patch AssemblyInfo in TeamCity for .net core 2.1 projects? In the .net core 2.1 project, there is a *.csproj file, that contains assembly information:

&lt;PropertyGroup&gt;
    &lt;AssemblyVersion&gt;2019.1.15341.0&lt;/AssemblyVersion&gt;
    &lt;FileVersion&gt;2019.1.15341.0&lt;/FileVersion&gt;
    &lt;Version&gt;2019.1.15341&lt;/Version&gt;
&lt;/PropertyGroup&gt;


In Standard .net projects there were Properties/AssemblyInfo.cs which contained the Assembly information, but in the .net core, there is no AssemblyInfo.cs, all Assembly information are in the csproj.

How can I change the Assembly Version, File Version in Assembly Info Patcher in TeamCity for the .net core projects?
You can use File Content Replacer build feature with predefined templates for .NET Core
https://www.jetbrains.com/help/teamcity/file-content-replacer.html#.NET+Core+csproj+templates