Changing .NET properties
As we promised, we continue the configuration parameters story started in the previous post. Today, I’d like to tell you about .NET related properties.
TeamCity .NET plugins provide a bunch of predefined properties indicating that .NET Framework/SDK/Visual Studio/Mono are detected on build agent. Previously you could refer to these properties as to system properties. Now we’ve changed it.
We decided to turn all these properties into configuration parameters, and therefore we’ve converted all refernces to such properties detected in TeamCity to keep builds running. However, it’s not possible to convert references used from a build script. To workaroud the issue you can add system property in build agent configuration or use compatibility mode switch in TeamCity properties:
dotNetPropertiesCompatibilityModeconfiguration parameter with value
truein a build configuration settings.
Here is the list of changed parameters:
Note, there will no longer reported .NET Framework configuration parameters without explicit bitness (i.e. x86 or x64).
Subscribe to Blog updates
TeamCity 2021.2 RC is here
The Release Candidate build for TeamCity 2021.2 is ready! This RC is the last step of our Early Access Program before the upcoming release of TeamCity 2021.2. To be the first one to explore its new features, you can download the RC build and install it on your trial server. Reporting build…
TeamCity 2021.2 EAP3 is here
The third build of TeamCity 2021.2 Early Access Program is available for download! TeamCity 2021.2 EAP3 brings over 70 improvements and fixes. In these release notes, we describe its most prominent new features. Two-factor authentication TeamCity now supports two-factor user authenticat…
TeamCity 2021.2 EAP2 is here
The second build of TeamCity 2021.2 Early Access Program is available for download! TeamCity 2021.2 EAP2 brings over 60 improvements and fixes. In these release notes, we describe its most prominent new features. OAuth 2.0 authentication in Azure DevOps Services Since this EAP, TeamCity…
TeamCity 2021.2 EAP is open
The Early Access Program for TeamCity 2021.2 is open! TeamCity 2021.2 EAP1 brings over 30 improvements and fixes. In these release notes, we describe its most prominent new features. C# Script Runner The new C# Script runner offers a handy way to automate your service tasks in C#: prepa…