Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 580cd12d authored by Harald Martini's avatar Harald Martini
Browse files

added workaround for MSBuild issue with CommunityToolkit

parent 2687dd7e
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
<TargetFrameworks>net60-windows</TargetFrameworks>
<TargetFrameworks>net48;net60-windows</TargetFrameworks>
<DefineConstants />
<Configurations>Debug;Release;MockupDebug;MockupRelease</Configurations>
</PropertyGroup>
......@@ -54,7 +54,8 @@
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\GUILabels.Designer.cs">
<Compile Update="Properties\GUILabels.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>GUILabels.resx</DependentUpon>
......@@ -101,4 +102,24 @@
<Resource Include="Resources\Images\JRC-About.png" />
<Resource Include="Resources\Images\VECTO-About.png" />
</ItemGroup>
<!--Workauround for build error-->
<!--https://github.com/dotnet/wpf/pull/6680-->
<!--https://github.com/dotnet/wpf/pull/6680#issuecomment-1183455941-->
<Target Name="RemoveDuplicateAnalyzers" BeforeTargets="CoreCompile">
<RemoveDuplicates Inputs="@(Analyzer)">
<Output
TaskParameter="Filtered"
ItemName="FilteredAnalyzer"/>
</RemoveDuplicates>
<ItemGroup>
<Analyzer Remove="@(Analyzer)" />
<Analyzer Include="@(FilteredAnalyzer)" />
</ItemGroup>
</Target>
<!--END-->
</Project>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment