FastReports / FastReport

Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports

Home Page:https://www.fast-report.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  1. ~ $ git clone https://github.com/FastReports/FastReport.git
  2. cd ~/FastReport
  3. ~/FastReport $ chmod 777 ./pack.sh && ./pack.sh
    original guide is wrong (chmod 777 Tools/pack.sh && Tools/pack.sh)
  4. $ mkdir ~/project1 && cd ~/project1 && dotnet new webapp && dotnet add package ~/FastReport/fr_packages/FastReport.OpenSource.2021.4.15.nupkg
  5. 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