Skip to content

Commit

Permalink
[Build] Fix build following changes from #2045 (#2061)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eideren authored Nov 22, 2023
1 parent adda876 commit 1b72c89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="6.0.0" />
<PackageVersion Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Version="2.3.2262-g94fae01e" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.0.0" />
<PackageVersion Include="Mono.Cecil" Version="0.11.5" />
<PackageVersion Include="Mono.Options" Version="5.3.0.1" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.1" />
Expand Down
2 changes: 1 addition & 1 deletion sources/targets/Stride.Core.props
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@

<!-- SourceLink -->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Condition="'$(StrideProjectType)' == 'CSharp'" VersionOverride="1.0.0" PrivateAssets="All"/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Condition="'$(StrideProjectType)' == 'CSharp'" PrivateAssets="All"/>
</ItemGroup>

<!-- Copy the libcore.a and libfreetype.a libraries to the project root directory for future native link. -->
Expand Down
2 changes: 1 addition & 1 deletion sources/targets/Stride.Core.targets
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
Condition="'$(StrideEnableCodeAnalysis)' != 'true'">
<ItemGroup>
<!-- We want to include Stride analyzers by default -->
<AnalyzersNotToRemove Include="@(Analyzer)" Condition="$([System.String]::Copy(%(FullPath)).Contains('Stride'))" />
<AnalyzersNotToRemove Include="@(Analyzer)" Condition="$(FullPath.Contains('Stride'))" />
<AnalyzersToRemove Include="@(Analyzer)" Exclude="@(AnalyzersNotToRemove)" />
<Analyzer Remove="@(AnalyzersToRemove)"/>
</ItemGroup>
Expand Down

0 comments on commit 1b72c89

Please sign in to comment.