'Duplicate messages on Output Window - VisualStudio 2022 - .net6

On build my sample project I found duplicate messages like this:

Restored D:\Temp\EsempiVS2022\TestListViewModWpf\TestListViewModWpf\TestListViewModWpf.csproj (in 23 ms). 1>D:\Temp\EsempiVS2022\TestListViewModWpf\TestListViewModWpf\CollectionViewGroupToFieldConverter.cs(16,27,16,46): warning CS8602: Dereference of a possibly null reference. 1>D:\Temp\EsempiVS2022\TestListViewModWpf\TestListViewModWpf\CollectionViewGroupToFieldConverter.cs(17,20,17,27): warning CS8602: Dereference of a possibly null reference. 1>Done building project "TestListViewModWpf_uyl1gyeb_wpftmp.csproj". 1>D:\Temp\EsempiVS2022\TestListViewModWpf\TestListViewModWpf\CollectionViewGroupToFieldConverter.cs(16,27,16,46): warning CS8602: Dereference of a possibly null reference. 1>D:\Temp\EsempiVS2022\TestListViewModWpf\TestListViewModWpf\CollectionViewGroupToFieldConverter.cs(17,20,17,27): warning CS8602: Dereference of a possibly null reference. 1>TestListViewModWpf -> D:\Temp\EsempiVS2022\TestListViewModWpf\TestListViewModWpf\bin\Release\net6.0-windows\TestListViewModWpf.dll 1>Done building project "TestListViewModWpf.csproj". ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

First two message for a tmp project?

Duplicate messages

How to remove duplicate messages?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source