Skip to content

Commit

Permalink
Package Updates and Fix for Source Generator Duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
cmiles committed Aug 24, 2022
1 parent e53737e commit 417515d
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
<ApplicationIcon>favicon.ico</ApplicationIcon>
</PropertyGroup>

<Target Name="RemoveDuplicateAnalyzers" BeforeTargets="CoreCompile">

<RemoveDuplicates Inputs="@(Analyzer)">
<Output
TaskParameter="Filtered"
ItemName="FilteredAnalyzer"/>
</RemoveDuplicates>

<ItemGroup>
<Analyzer Remove="@(Analyzer)" />
<Analyzer Include="@(FilteredAnalyzer)" />
</ItemGroup>
</Target>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />
<PackageReference Include="GitInfo" Version="2.2.0">
Expand Down
12 changes: 6 additions & 6 deletions PointlessWaymarks.CmsData/PointlessWaymarks.CmsData.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<ItemGroup>
<PackageReference Include="AngleSharp" Version="1.0.0-alpha-844" />
<PackageReference Include="AngleSharp.Js" Version="0.15.0" />
<PackageReference Include="AWSSDK.S3" Version="3.7.9.36" />
<PackageReference Include="AWSSDK.S3" Version="3.7.9.42" />
<PackageReference Include="ClosedXML" Version="0.96.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />
<PackageReference Include="CompareNETObjects" Version="4.77.0" />
Expand All @@ -58,23 +58,23 @@
<PackageReference Include="HtmlTags" Version="8.1.1" />
<PackageReference Include="ini-parser-netstandard" Version="2.5.2" />
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" />
<PackageReference Include="Markdig" Version="0.30.2" />
<PackageReference Include="Markdig" Version="0.30.3" />
<PackageReference Include="MetadataExtractor" Version="2.7.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.7" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.7" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.8" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.8" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="NetTopologySuite" Version="2.5.0" />
<PackageReference Include="NetTopologySuite.IO.GeoJSON" Version="2.0.4" />
<PackageReference Include="NetTopologySuite.IO.GPX" Version="1.1.1" />
<PackageReference Include="ObjectDumper.NET" Version="3.4.6" />
<PackageReference Include="PhotoSauce.MagicScaler" Version="0.13.0" />
<PackageReference Include="PhotoSauce.MagicScaler" Version="0.13.1" />
<PackageReference Include="pinboard.net" Version="1.0.0" />
<PackageReference Include="Polly" Version="7.2.3" />
<PackageReference Include="Serilog" Version="2.11.0" />
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.2.0" />
<PackageReference Include="Serilog.Enrichers.Process" Version="2.0.2" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Exceptions" Version="8.3.0" />
<PackageReference Include="Serilog.Exceptions" Version="8.4.0" />
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,25 @@
<UseWPF>true</UseWPF>
<ApplicationIcon>PointlessWaymarksCmsIcons\favicon.ico</ApplicationIcon>
</PropertyGroup>


<Target Name="RemoveDuplicateAnalyzers" BeforeTargets="CoreCompile">

<RemoveDuplicates Inputs="@(Analyzer)">
<Output
TaskParameter="Filtered"
ItemName="FilteredAnalyzer"/>
</RemoveDuplicates>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<Analyzer Remove="@(Analyzer)" />
<Analyzer Include="@(FilteredAnalyzer)" />
</ItemGroup>
</Target>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<None Remove="leaflet-bing-layer.js" />
<None Remove="pure-min.css" />
Expand All @@ -24,7 +38,7 @@
<PackageReference Include="gong-wpf-dragdrop" Version="3.1.1" />
<PackageReference Include="Markdig.Wpf" Version="0.5.0.1" />
<PackageReference Include="Microsoft.Recognizers.Text.DateTime" Version="1.8.5" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1264.42" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1293.44" />
<PackageReference Include="Ookii.Dialogs.Wpf" Version="5.0.1" />
<PackageReference Include="System.Runtime.Caching" Version="6.0.0" />
<PackageReference Include="TypeSupport" Version="1.1.12" />
Expand Down
14 changes: 14 additions & 0 deletions PointlessWaymarks.LocalViewer/PointlessWaymarks.LocalViewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@
<ApplicationIcon>favicon.ico</ApplicationIcon>
</PropertyGroup>

<Target Name="RemoveDuplicateAnalyzers" BeforeTargets="CoreCompile">

<RemoveDuplicates Inputs="@(Analyzer)">
<Output
TaskParameter="Filtered"
ItemName="FilteredAnalyzer"/>
</RemoveDuplicates>

<ItemGroup>
<Analyzer Remove="@(Analyzer)" />
<Analyzer Include="@(FilteredAnalyzer)" />
</ItemGroup>
</Target>

<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
</ItemGroup>
Expand Down
18 changes: 16 additions & 2 deletions PointlessWaymarks.WpfCommon/PointlessWaymarks.WpfCommon.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
<UseWPF>true</UseWPF>
</PropertyGroup>

<Target Name="RemoveDuplicateAnalyzers" BeforeTargets="CoreCompile">

<RemoveDuplicates Inputs="@(Analyzer)">
<Output
TaskParameter="Filtered"
ItemName="FilteredAnalyzer"/>
</RemoveDuplicates>

<ItemGroup>
<Analyzer Remove="@(Analyzer)" />
<Analyzer Include="@(FilteredAnalyzer)" />
</ItemGroup>
</Target>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.0.0" />
<PackageReference Include="GitInfo" Version="2.2.0">
Expand All @@ -12,12 +26,12 @@
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" />
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
<PackageReference Include="PhotoSauce.MagicScaler" Version="0.13.0" />
<PackageReference Include="PhotoSauce.MagicScaler" Version="0.13.1" />
<PackageReference Include="Serilog" Version="2.11.0" />
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.2.0" />
<PackageReference Include="Serilog.Enrichers.Process" Version="2.0.2" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Exceptions" Version="8.3.0" />
<PackageReference Include="Serilog.Exceptions" Version="8.4.0" />
<PackageReference Include="Serilog.Formatting.Compact" Version="1.1.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
Expand Down

0 comments on commit 417515d

Please sign in to comment.