Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Pre-Build Events Raise Warnings?

I have a custom tool which is set up as a pre-build event, it does some multi-language processing on the source code before it builds.

I was wondering if it was possible for that tool to generate warnings which can be seen in visual studio's list of build warnings, either by outputting a specific string to the console (or by some other method).

Thanks

like image 953
Alistair Evans Avatar asked Feb 01 '26 10:02

Alistair Evans


1 Answers

Please look at MSBuild / Visual Studio aware error messages and message formats.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!