dotnet / dotnet/msbuild

Can't attach custom build logger to Visual Studio for MSBuild

Open
#4,077 12 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

We've created a custom build logger and attached it to the build with the "-logger" switch and it worked great for command line builds. (Docs were awesome: https://docs.microsoft.com/en-us/visualstudio/msbuild/build-loggers?view=vs-2017)

However, we're can't find a way to attach the custom logger for Visual Studio builds which also uses MSBuild. The only method mentioned online is a hack that overrides the Build target: https://stackoverflow.com/questions/28733875/can-a-msbuild-custom-logger-be-specified-within-a-project-file/28806181#28806181

I was wondering if there is any changes in VS 2017 or MSBuild that allows custom build loggers to be attached to VS builds. If there isn't any, are there any plans to enable them for VS in the future?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.