GithubHelp home page GithubHelp logo

Comments (6)

Kitsunejasutin avatar Kitsunejasutin commented on May 31, 2024 1

With some meddling with some parameters regarding PublishSingleFile I stumbled upon IncludeAllContentForSelfExtract parameter.

Info: https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview?tabs=cli#native-libraries

Adding <IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract> to the .csproj
It works perfectly well now. Keeping this open and wait for Mr. Gerardo insights about this.

from crystalreportsrunner.

gerardo-lijs avatar gerardo-lijs commented on May 31, 2024

Hi, very glad you manage to get it working with single file publishing! I don't have real production experience with publishing single file apps (apart from testing them in some small sample projects) so there is not much insight I can provide on this topic.

Is there any change needed in the library/nuget so your app can use it with single publish? If so, please let me know or send a PR so we can add it. Another option if no changes are needed and you want to contribute, feel free to drop a PR adding this in the README file for other people who might run into this issue.

from crystalreportsrunner.

Kitsunejasutin avatar Kitsunejasutin commented on May 31, 2024

Hi, very glad you manage to get it working with single file publishing! I don't have real production experience with publishing single file apps (apart from testing them in some small sample projects) so there is not much insight I can provide on this topic.

Is there any change needed in the library/nuget so your app can use it with single publish? If so, please let me know or send a PR so we can add it. Another option if no changes are needed and you want to contribute, feel free to drop a PR adding this in the README file for other people who might run into this issue.

I will be honest, I am not really sure if there's any changes needed to be changed on your side regarding Single File Publishing. Maybe this will be just a note if someone will encounter the same problem. I will be doing a PR for the readme to note this issue. Will close this issue. Thanks for doing this project, helped me a lot!

from crystalreportsrunner.

Kitsunejasutin avatar Kitsunejasutin commented on May 31, 2024

This is literally outside of the scope of this issue, but I want to ask if slow down on first load is a thing? I noticed that on my dev machine, the window and report loads fast but right after I transfer it on the client machine that is on a Active Directory Domain, startup of the report takes longer than normal. After the first load, other report loads fine.

from crystalreportsrunner.

gerardo-lijs avatar gerardo-lijs commented on May 31, 2024

Hi, are you using the signed versión of the ReportRunner.exe or you are deploying your own fork? In some cases, Windows Defender takes longer to check executables the first time they run, that might also explain why it takes time the first time, and once the Runner is loaded, communication via NamedPipes is very fast.

from crystalreportsrunner.

Kitsunejasutin avatar Kitsunejasutin commented on May 31, 2024

Hi, are you using the signed versión of the ReportRunner.exe or you are deploying your own fork? In some cases, Windows Defender takes longer to check executables the first time they run, that might also explain why it takes time the first time, and once the Runner is loaded, communication via NamedPipes is very fast.

Currently using the one from Nuget Package

from crystalreportsrunner.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.