Skip to content

Commit

Permalink
Move development NuGet dependencies into Directory.Build.props
Browse files Browse the repository at this point in the history
This should solve this issue popping on AppVeyor:
> SourceRoot items must include at least one top-level (not nested) item when DeterministicSourcePaths is true

See explanation in dotnet/sourcelink#91 (comment)
  • Loading branch information
0xced committed Nov 8, 2020
1 parent 3873d7e commit d060969
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 9 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project>
<ItemGroup>
<!-- To avoid getting this error on AppVeyor: SourceRoot items must include at least one top-level (not nested) item when DeterministicSourcePaths is true
See https://github.com/dotnet/sourcelink/issues/91#issuecomment-400787926 and https://github.com/dotnet/roslyn/issues/37379 -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="2.3.1" PrivateAssets="All" />
<PackageReference Include="Nullable" Version="1.3.0" PrivateAssets="All" />
</ItemGroup>
</Project>
6 changes: 0 additions & 6 deletions src/Six.BankMaster.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,4 @@
<PackageReference Include="Refit" Version="5.2.1" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="2.3.1" PrivateAssets="All" />
<PackageReference Include="Nullable" Version="1.3.0" PrivateAssets="All" />
</ItemGroup>

</Project>

0 comments on commit d060969

Please sign in to comment.