Skip to content

Running dotnet pack keeps failing because of missing PackageTags #6

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

Open
HLWeil opened this issue Oct 2, 2024 · 4 comments
Open

Running dotnet pack keeps failing because of missing PackageTags #6

HLWeil opened this issue Oct 2, 2024 · 4 comments

Comments

@HLWeil
Copy link

HLWeil commented Oct 2, 2024

Error message:

image

Even though

<PropertyGroup>
  <PackageTags>fable-javascript;fable-python;fable-dotnet</PackageTags>
</PropertyGroup>

Looking at this without any idea and just testing around in a regex tester:

image
Are the brackets around the fable targets too much?

@MangelMaxime
Copy link
Member

I find that the issue is caused by the line:

<PackageTags>ARC F# FSharp dotnet .Net bioinformatics biology fable-library datascience dataplant nfdi metadata</PackageTags>

But I am not able to reproduce it in an isolated project.

@HLWeil
Copy link
Author

HLWeil commented Oct 2, 2024

Hmm, commenting out the line does not fix the problem.

@HLWeil
Copy link
Author

HLWeil commented Oct 2, 2024

Nevermind, it does!

Just had the line duplicated in the fsproj and the props file

@HLWeil
Copy link
Author

HLWeil commented Oct 2, 2024

I hotfixed it with merging the content of the two PackageTags list and consistently using ;

image

This works both for Fable.Package.SDK and nuget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants