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

Unable to add user-compiled package to asp web application project #708

Open
m3dbedb opened this issue Jul 22, 2024 · 0 comments
Open

Unable to add user-compiled package to asp web application project #708

m3dbedb opened this issue Jul 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@m3dbedb
Copy link

m3dbedb commented Jul 22, 2024

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
@m3dbedb m3dbedb added the bug Something isn't working label Jul 22, 2024
@m3dbedb m3dbedb changed the title Unable to app compiled package to asp web application project Unable to add compiled package to asp web application project Jul 23, 2024
@m3dbedb m3dbedb changed the title Unable to add compiled package to asp web application project Unable to add user-compiled package to asp web application project Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant