How to stop C # compiler output from packaging in Visual Studio 2015 output window?

When I create my C # code in Visual Studio 2015 using the default compiler (nothing unusual in a project), I get output in an output window that looks something like this. (The actual width is not representative, as I replaced the fairly long path with XXX.)

1>XXX(402,13,402,16): error CS1955: Non-invocable member 'Lo 1>g' cannot be used like a method. 1>XXX(424,25,424,28): error CS1955: Non-invocable member 'Lo 1>g' cannot be used like a method.

Presumably, the compiler prints Non-invocable member 'Log' cannot be used like a method, and something, somewhere, enters and inserts new lines in (in column 120 in practice - as mentioned, the number of columns in my example is displayed non-representative).

Can i stop this? If so, how?

I would prefer that messages be printed with newlines in natural places, so I can use the window word output functionality.

+4
source share
2 answers

After you open the package manager console, the build result will begin to wrap as described above.

A fix means restarting Visual Studio.

+6
source

Wow, I almost refused to find someone asking this question. I can confirm the described behavior and restart VS. Thank!

0
source

Source: https://habr.com/ru/post/1648367/


All Articles