Unable to add user-compiled package to asp web application project
m3dbedb opened this issue · comments
Describe the bug
Error while importing user-compiled fast report package
To Reproduce
Steps to reproduce the behavior:
- ~ $ git clone https://github.com/FastReports/FastReport.git
- cd ~/FastReport
- ~/FastReport $ chmod 777 ./pack.sh && ./pack.sh
original guide is wrong (chmod 777 Tools/pack.sh && Tools/pack.sh) - $ mkdir ~/project1 && cd ~/project1 && dotnet new webapp && dotnet add package ~/FastReport/fr_packages/FastReport.OpenSource.2021.4.15.nupkg
- See error
Determining projects to restore...
Writing /tmp/tmp6I5jga.tmp
info : Adding PackageReference for package '../FastReport/pack/FastReport.OpenSource.2021.4.15.nupkg' into project '/home/username/frep/frep.csproj'.
info : GET https://api.nuget.org/v3/fastreport/pack/fastreport.opensource.2021.4.15.nupkg/index.json
info : NotFound https://api.nuget.org/v3/fastreport/pack/fastreport.opensource.2021.4.15.nupkg/index.json 5496 мс
info : GET https://api.nuget.org/v3/fastreport/pack/fastreport.opensource.2021.4.15.nupkg/index.json
info : NotFound https://api.nuget.org/v3/fastreport/pack/fastreport.opensource.2021.4.15.nupkg/index.json 266 мс
error: There are no versions available for the package '../FastReport/pack/FastReport.OpenSource.2021.4.15.nupkg'.
Expected behavior
I expect compiled package to be added to project like it happens when I add it from web
dotnet add package FastReport.OpenSource --version 2024.2.1
Device (please complete the following information):
- OS: debian 12
- Browser: chrome
- Version: latest on branch master