.NET Framework Bookmark and Share   
 index > MSBuild > How do I configure msbuild to ouput the full path of a file when it encounters an error building a VS 2005 solution?
 

How do I configure msbuild to ouput the full path of a file when it encounters an error building a VS 2005 solution?

I am building a VS2005 sln file with msbuild. This must be trivial, but I have tried and searched for two days now and can’t figure it out:If file c:\abc\def\foo.cs has an error, I’d like the error message ouput the full path, not just foo.cs. How can I do this?

Thanks in advance,

Alex

maalyex
Hi Alex,

The default console logger doesn't accept additional parameters that can modifythisinformation for error and warningin the console window. But your could write a custom logger for it: How to: Write a Logger

Sincerely,
Wesley

Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Wesley Yao
Hi Alex,

The default console logger doesn't accept additional parameters that can modifythisinformation for error and warningin the console window. But your could write a custom logger for it: How to: Write a Logger

Sincerely,
Wesley

Please mark the replies as answers if they help and unmark them if they provide no help. Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Wesley Yao

You can use google to search for other answers

Custom Search

More Threads

• MSBuild behavior differences between 2 build machines
• Calling 2003 devenv in Vista/Server 2008
• How to copy dll's into many bin folders?
• How to copy a directory??
• Command line Properties that contain properties
• Debug vs Release performance
• What is the xmlns attribute for?
• New to MSBuild, enviroment variables. Are there build-in variables?
• MSBuild & CopyLocal being set to True when in VS it is False
• MSBuild NewBie question