Coder Social home page Coder Social logo

Comments (6)

NimaAra avatar NimaAra commented on September 28, 2024

Thanks for reporting this. Here are some questions for you:

  1. Is generating the report running on a NON .NET Core app on the same machine successful?
  2. Can you try generating the report on the same machine but this time running on a .NET Core app?

Thanks.

from easy.common.

pldmgg avatar pldmgg commented on September 28, 2024

Regarding 1) yes, the report works fine on the non .Net Core App (i.e. .Net Framework App) Windows PowerShell 5.1.

For 2), I can't actually load the .dll in the .Net Core App (i.e. PowerShell Core 6 beta 9), so I can't even attempt to generate a report. The error message when I try to load the netstandard2.0 .dll in PowerShell Core is in my original post. I think the stacktrace is pretty descriptive, but I haven't really done a deep dive into your code.

Let me know if you have any other questions. Thanks again for looking at this!

from easy.common.

NimaAra avatar NimaAra commented on September 28, 2024

At this stage I am not at all interested in PowerShell, can you simply create a .NET Core Console application and try generating the report. I just did the same and had no problem generating a report.

The error which you have posted does not relate to loading the dll, the dll has been loaded but the generation of the report seems to have problems; My hunch is PowerShell Core perhaps does not support an API which I am using to generate the report. Hence my request to try this with a working .NET Core app rather than using PowerShell.

You should be able to create a .NET Core Console app and reference the NuGet package which will use the NetStandard2.0 dll.

from easy.common.

pldmgg avatar pldmgg commented on September 28, 2024

You're right, about the dll loading. I wasn't thinking.

Creating a .Net Core Console App does, indeed, work.

Oh well, maybe I'll dig into Easy.Common.DiagnosticReport.<AddProcess> at some point and inspect further.

from easy.common.

NimaAra avatar NimaAra commented on September 28, 2024

Yeah I suspected the problem would be coming from incomplete API in PowerShell Core. I am closing this for now as there is not much I can do but feel free to reopen once you have it investigated.

from easy.common.

NimaAra avatar NimaAra commented on September 28, 2024

This should now be fixed in: v2.6.7. Please try again and report back if still a problem.

from easy.common.

Related Issues (20)

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.