Comments (6)
Thanks for reporting this. Here are some questions for you:
- Is generating the report running on a NON .NET Core app on the same machine successful?
- Can you try generating the report on the same machine but this time running on a .NET Core app?
Thanks.
from easy.common.
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.
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.
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.
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.
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)
- Extend IRestClient to enable per request timeouts.
- RestClient's AddConnectionLeaseTimeout method - redux HOT 3
- Memory leak in RestClient HOT 3
- Add support for SocketsHttpHandler in RestClient
- LineCounter doesn't work correctly for eveonline log files HOT 5
- ReadLineCounter HOT 1
- IDGenerator for long values HOT 4
- Question: How to support headers and cookies with IoC container set to per request? HOT 1
- .NET Core returns "<INVALID>" Processor Name HOT 1
- CountLines does not reliably support encodings other than UTF-8 / ASCII HOT 1
- Did not consider the ServicePoint be removed from the servicepointmanager and it's resource get released after a timeout period HOT 2
- Decode should use toUpper. HOT 4
- Uniqueness of IDGenerator HOT 1
- EasyDictionary could just be implemented using KeyedCollection<TKey, TItem> HOT 1
- Possible UnauthorizedAccessException in Easy.Common.DiagnosticReport.GetDriveDetails HOT 1
- Add possibility to display only application level env variables(not all OS env varibales) HOT 2
- compare property when rightvalue is null HOT 2
- support net5 ? HOT 1
- How to set headers per call HOT 1
- Adding NotNullWhenAttribute HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy.common.