Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetbrains/teamcity-msbuild-logger
MSBuild logger for TeamCity
https://github.com/jetbrains/teamcity-msbuild-logger
dotnet msbuild msbuild-logger teamcity teamcity-runner
Last synced: about 1 month ago
JSON representation
MSBuild logger for TeamCity
- Host: GitHub
- URL: https://github.com/jetbrains/teamcity-msbuild-logger
- Owner: JetBrains
- License: apache-2.0
- Created: 2017-07-28T11:39:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T16:43:21.000Z (10 months ago)
- Last Synced: 2024-04-26T05:07:31.677Z (7 months ago)
- Topics: dotnet, msbuild, msbuild-logger, teamcity, teamcity-runner
- Language: C#
- Homepage:
- Size: 810 KB
- Stars: 19
- Watchers: 16
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## MSBuild logger for [](https://www.jetbrains.com/teamcity/)
[](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) [![NuGet TeamCity.Dotnet.Integration](https://buildstats.info/nuget/TeamCity.Dotnet.Integration?includePreReleases=false)](https://www.nuget.org/packages/TeamCity.Dotnet.Integration) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [](http://teamcity.jetbrains.com/viewType.html?buildTypeId=TeamCityPluginsByJetBrains_TeamCityDotnetIntegration_TeamCityMSBuildLogger&guest=1)
Provides the TeamCity integration with [__*.NET CLI*__](https://www.microsoft.com/net/core)/[__*MSBuild*__](https://msdn.microsoft.com/en-US/library/0k6kkbsd.aspx) tools.
## Supported platforms:
* [.NET CLI](https://www.microsoft.com/net/core)
```
dotnet build my.csproj /noconsolelogger /l:TeamCity.MSBuild.Logger.TeamCityMSBuildLogger,path_to_logger\TeamCity.MSBuild.Logger.dll;teamcity
```* [MSBuild 12+](https://msdn.microsoft.com/en-US/library/0k6kkbsd.aspx)
```
msbuild.exe my.csproj /t:build /noconsolelogger /l:TeamCity.MSBuild.Logger.TeamCityMSBuildLogger,path_to_logger\TeamCity.MSBuild.Logger.dll;teamcity
```## Download
* [Stable version](http://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:TeamCityPluginsByJetBrains_TeamCityDotnetIntegration_TeamCityMSBuildLogger,pinned:true,status:SUCCESS,tags:release/artifacts/content/TeamCity.MSBuild.Logger.zip )
* [Nightly build](http://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:TeamCityPluginsByJetBrains_TeamCityDotnetIntegration_TeamCityMSBuildLogger,status:SUCCESS/artifacts/content/TeamCity.MSBuild.Logger.zip)## TeamCity integration
TeamCity Integration is working from-the-box while you are using [TeamCity dotnet plugin](https://github.com/JetBrains/teamcity-dotnet-plugin). Also it is possible to use TeamCity logger manually, see more details in the [Wiki](https://github.com/JetBrains/TeamCity.MSBuild.Logger/wiki/How-to-use).
## Contribution
We would be a grateful contribution.
- clone this repo
- open the solution _TeamCity.MSBuild.Logger.sln_ in IDE
- configure debugging for _TeamCity.MSBuild.Logger_
- specify the executable to _dotnet.exe_ for instance like _C:\Program Files\dotnet\dotnet.exe_
- specify command-line arguments for your case, for instance _build \MyProject.csproj --verbosity normal /noconsolelogger /l:TeamCity.MSBuild.Logger.TeamCityMSBuildLogger,\TeamCity.MSBuild.Logger\bin\Debug\net452\TeamCity.MSBuild.Logger.dll;teamcity;DEBUG_ - the last option _DEBUG_ is needed to debug this logger.
- set breakpoints
- run debugging for _TeamCity.MSBuild.Logger_
- attach to the process _dotnet.exe_ with a number from stdOut
- _test.cmd_ to run integration tests## License
It is under the [Apache License](LICENSE).