Skip to content
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

Push request from Multi-Target Nugetpackage with Readme.md file is not possibel #736

Open
swinkler13fja opened this issue Jun 28, 2022 · 5 comments

Comments

@swinkler13fja
Copy link

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Using this version of BaGet '1.0' current master Branch -> commit Remove the mirror folder (Remove the mirror folder #712)
  2. Run this code 'Visual Studio'
  3. See error

It's not possible to push a Readme.md file , the server response with a 400 Error Bad-Request.
Solved with removed Readme.md file

NugetPackage with Multi-Traget support to .NET Standard 2.0 and .Net Core 3.1

@teranpeterson
Copy link

I was experiencing this and fixed it by changing the <readme> path from backslash \ to forward slash /.

Wrong:

<readme>docs\README.md</readme>

Right:

<readme>docs/README.md</readme>

@EdLichtman
Copy link

Very good to know that this works if you change the slash. Any chance this behavior could be built-in? there is no friendly error and I had to go into the event viewer to find this error out myself.

@VAllens
Copy link

VAllens commented May 11, 2023

Is there any progress?

@viceice
Copy link
Contributor

viceice commented Nov 3, 2023

The official docs are clearly using backslashes1

Footnotes

  1. https://learn.microsoft.com/en-us/nuget/reference/nuspec#readme

@k0zi
Copy link

k0zi commented Nov 21, 2023

Same error here, when I've tried to upload packages from other nuget sources

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

6 participants