Skip to content

Commit

Permalink
chore: Address build warnings (#5080)
Browse files Browse the repository at this point in the history
```
Warning: /usr/share/dotnet/sdk/8.0.101/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5100: The assembly 'contentFiles/any/net6.0/Microsoft.TestPlatform.PlatformAbstractions.dll' is not inside the 'lib' folder and hence it won't be added as a reference when the package is installed into a project. Move it into the 'lib' folder if it needs to be referenced. [/home/runner/work/dafny/dafny/dafny/Source/DafnyDriver/DafnyDriver.csproj]
```
```
Warning: /usr/share/dotnet/sdk/8.0.101/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(221,5): warning NU5119: File '/home/runner/work/dafny/dafny/dafny/Binaries/net6.0/publish/DafnyRuntimeRust/.gitignore' was not added to the package. Files and folders starting with '.' or ending with '.nupkg' are excluded by default. To include this file, use -NoDefaultExcludes from the commandline [/home/runner/work/dafny/dafny/dafny/Source/Dafny/Dafny.csproj]
```
  • Loading branch information
fabiomadge authored Feb 13, 2024
1 parent f6ea7c4 commit 9dda653
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/DafnyDriver/DafnyDriver.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.TestPlatform.Extensions.TrxLogger" Version="17.0.0" />
<PackageReference Include="Microsoft.TestPlatform.TestHost" Version="16.11.0" />
<PackageReference Include="Microsoft.TestPlatform.Extensions.TrxLogger" Version="17.9.0" />
<PackageReference Include="Microsoft.TestPlatform.TestHost" Version="17.9.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />

<!-- Locking down versions that would otherwise be downgraded -->
Expand Down
2 changes: 1 addition & 1 deletion Source/DafnyPipeline/DafnyPipeline.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<LinkBase>DafnyRuntimePython</LinkBase>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="..\DafnyRuntime\DafnyRuntimeRust\**" LinkBase="DafnyRuntimeRust">
<EmbeddedResource Include="..\DafnyRuntime\DafnyRuntimeRust\**" Exclude="..\DafnyRuntime\DafnyRuntimeRust\.gitignore" LinkBase="DafnyRuntimeRust">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Remove="..\DafnyRuntime\DafnyRuntimeRust\target\**"/>
Expand Down

0 comments on commit 9dda653

Please sign in to comment.