Warn in build step on non-LTS .NET version usage
Hello, I am looking for guidance on how to warn developers where their projects are referencing non LTS .NET versions. We would like to use a build warning to nudge developers toward upgrading their projects to latest LTS releases.
Thanks for any ideas!
Please sign in to leave a comment.
Could you give me an example of when you want a build warning to be shown so that we're on the same page?
Best regards,
Anton
We would like to output a build warning at some point during the build process just to make a note to developer that they are using an unsupported version.
On the TeamCity's side, the required SDK, target runtime, and frameworks can be set up in the build step's properties: https://www.jetbrains.com/help/teamcity/2024.12/net.html
Best regards,
Anton