BaGet icon indicating copy to clipboard operation
BaGet copied to clipboard

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

Open swinkler13fja opened this issue 3 years ago • 5 comments

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 (#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

swinkler13fja avatar Jun 28 '22 14:06 swinkler13fja

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>

teranpeterson avatar Aug 08 '22 17:08 teranpeterson

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.

EdLichtman avatar Apr 04 '23 16:04 EdLichtman

Is there any progress?

VAllens avatar May 11 '23 08:05 VAllens

The official docs are clearly using backslashes^1

viceice avatar Nov 03 '23 13:11 viceice

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

k0zi avatar Nov 21 '23 09:11 k0zi