NET Runner output issues and missing MSBUILD 2022

Using TeamCity Enterprise 2020.1.2 (build 78726)

I have to migrate from the old Visual Studio SLN runner to the NET runner with MSBUILD command.

However, I have two issues and I need to know if upgrading to the latest will resolve them.

1 - The output when building a large solution (over 100 projects) using the NET Runner with MSBUILD command is poorly grouped. The output groups projects that are definitely unrelated (i.e. no build dependencies) and drops a lot of the information to the end of the log. This output was not perfect with the Visual Studio SLN runner, but it was MUCH, MUCH better.
2 - The NET runner doesn't have support for MSBUILD 2022 in the version of TeamCity that I'm currently using.

Please advise.

0
6 comments
Hi,

The TeamCity 2020.1.2 is a non-supported version of TeamCity. The latest two major releases of TeamCity are supported.
Since 2020.1.2, the .NET runner has undergone many changes. The most relevant changes are in the upgrade notes: https://www.jetbrains.com/help/teamcity/2024.03/upgrade-notes.html. All changes are in the release notes: https://www.jetbrains.com/help/teamcity/2024.03/teamcity-2024-03-release-notes.html. This URL leads to the release notes for the 2024.03 version of TeamCity. You can check the release notes for other versions by changing the version of the documentation and navigating to the release notes.
To answer your questions:
1. Regarding the log output of .NET runner, please check if the output suits your requirements on the latest version of TeamCity. If not, please provide examples and desired results, so we could pass it to the development team.
2. MSBuild 2022 is supported in the latest version of TeamCity. Please upgrade to use it.

Best regards,
Anton
0

I downloaded the latest TeamCity eval to test it out but the build agent fails to start on my test machine.
It crashes with Error: 1067 The process terminated unexpectedly.

0
Hi,

Do you see this error when starting a TeamCity build agent Windows Service? If so, what user do you use to start this service? Is it the default "Local System"?
It is possible that this error is related to some issues with the OS. Please check the Application and System Event Viewer Logs for errors. If you need help investigating the logs, you can save them and share them with us (upload to https://uploads.jetbrains.com/ and post the upload ID).
Alternatively, you can start the Build Agent as a process, not a Windows Service. For details, see https://www.jetbrains.com/help/teamcity/2024.03/start-teamcity-agent.html#Manual+Start.

Best regards,
Anton
0

Anton, I got the agent to work on a different machine. I was able to test out the NET runner with MSBUILD for VS2022.
The logging output is better, but still has issues.

Here is a logfile.
Toolkit_CDLL_Windows_Toolkit_x64_5.log

And here you can see the grouping is all jumbled and grouping is off:
OutputResults.zip

0

Here's a specific example:

LTPDF group has no output related to LTPDF project at all:

 

And you can see here, output from LTPDF is grouped under an unrelated project:

As well as lots of issues like this, where output isn't grouped at all, just kind of included:

0
Hi,

I have created a task describing this issue: https://youtrack.jetbrains.com/issue/TW-87761. Please vote for it to increase visibility and subscribe for updates.

Best regards,
Anton
1

Please sign in to leave a comment.