FastReports / FastReport

Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports
https://www.fast-report.com
MIT License
2.71k stars 602 forks source link

Unable to deploy fast report open source in linux #707

Open m3dbedb opened 3 months ago

m3dbedb commented 3 months ago

Describe the bug I have created ASP web app, added packages FastReport.OpenSource and FastReport.OpenSource.Web but it does not start.

To Reproduce Steps to reproduce the behavior:

  1. install dotnet 8 ($ sudo apt-get install -y dotnet-sdk-8.0)
  2. create project (~ $ mkdir asp-fastreport && cd asp-fastreport && dotnet new wabapp)
  3. add fastreport (asp-fastreport $ dotnet add package FastReport.OpenSource --version 2024.2.1 && dotnet add package FastReport.OpenSource.Web --version 2024.2.1)
  4. asp-fastreport $ dotnet run
  5. I see default AST NET we app home page

Expected behavior I expect to see default fastreport home page

Device:

m3dbedb commented 3 months ago

Also if I download nuget packages from https://github.com/FastReports/FastReport/releases

mkdir ~/fastreport-compiled && cd fastreport-compiled && dotnet new webapp

~/downloads $ wget https://github.com/FastReports/FastReport/releases/download/v2024.2.0/FastReport.OpenSource.2024.2.0.nupkg ~/downloads $ wget https://github.com/FastReports/FastReport/releases/download/v2024.2.0/FastReport.OpenSource.Web.2024.2.0.nupkg

dotnet add package ~/downloads/FastReport.OpenSource.2024.2.0.nupkg

info : Adding PackageReference for package '/home/username/downloads/FastReport.OpenSource.2024.2.0.nupkg' into project '/home/gagarin/fastreport-compiled/fastreport-compiled.csproj'. info : GET https://api.nuget.org/v3/registration5-gz-semver2//home/username/downloads/fastreport.opensource.2024.2.0.nupkg/index.json info : NotFound https://api.nuget.org/v3/registration5-gz-semver2//home/username/downloads/fastreport.opensource.2024.2.0.nupkg/index.json 962 мс info : GET https://api.nuget.org/v3/registration5-gz-semver2//home/username/downloads/fastreport.opensource.2024.2.0.nupkg/index.json info : NotFound https://api.nuget.org/v3/registration5-gz-semver2//home/username/downloads/fastreport.opensource.2024.2.0.nupkg/index.json 286 мс error: There are no versions available for the package '/home/username/downloads/FastReport.OpenSource.2024.2.0.nupkg'.