-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Build #336
Comments
The error you're encountering is thrown on line 62 of the following project you're using: |
@ardalis I guess you're referring to the error message: "RA0001 There is more than one PackageDownload of Microsoft.NETCore.App.Ref" After sneaking into other repos, I found this workaround: <ItemGroup>
<PackageReference Include="TunnelVisionLabs.ReferenceAssemblyAnnotator" Version="1.0.0-alpha.160" PrivateAssets="all" />
<PackageDownload Include="Microsoft.NETCore.App.Ref" Version="[$(AnnotatedReferenceAssemblyVersion)]" />
<!-- ^^^^^^ -->
</ItemGroup>
<PropertyGroup>
<AnnotatedReferenceAssemblyVersion>3.1.0</AnnotatedReferenceAssemblyVersion>
</PropertyGroup>
<!-- ^^^^^^ --> Not sure if that's the official fix. But it worked on my machine 😄 |
Can you send a PR, @canro91 ? |
Fixed by #352. |
I think this is due to multi-targeting.
https://github.com/ardalis/GuardClauses/actions/runs/7564844299/job/20599626486?pr=335
Need to set a value in the build - not sure where/how. Will look into it soon but this is blocking the new release going out.
The text was updated successfully, but these errors were encountered: