Git Product home page Git Product logo

dotnet-versioninfo's Introduction

dotnet-versioninfo's People

Contributors

jburnett avatar taylorjg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

joeychou jbfp

dotnet-versioninfo's Issues

Please publish version 1.0.3

Hi there. Thanks for making such a nifty little tool. I'm on an environment that uses .NET 6.0 and I can't run your tool without encountering the following error.

You must install or update .NET to run this application.

App: C:\Users\Ryan Cloherty\.nuget\packages\dotnet-versioninfo\1.0.2\tools\netcoreapp2.1\any\dotnet-versioninfo.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '2.1.0' (x64)
.NET location: C:\Program Files\dotnet\

The following frameworks were found:
  5.0.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  5.0.16 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  5.0.17 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  6.0.5 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  6.0.7 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  6.0.9 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=x64&rid=win10-x64

I had a look at the repo and I think #2 would solve this. Although it's been merged, I don't think it's been published to NuGet yet. Would you mind publishing the latest release when you get the chance? Thanks!

System.UnauthorizedAccessException when running versioninfo from C:\

When running under an Administrator account in an administrator command prompt, I'm seeing System.UnauthorizedAccessException being thrown. This scenario will surely happen so it just needs to be handled more gracefully (perhaps even a flag to to optionally hide [even clean looking] error messages).

C:\>versioninfo **/test*.dll
Error finding file system entries in C:\ProgramData\Application Data: System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Application Data' is denied.
   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path)
   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, EnumerationOptions options)
   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options)
   at System.IO.Enumeration.FileSystemEnumerableFactory.FileSystemInfos(String directory, String expression, EnumerationOptions options)
   at System.IO.DirectoryInfo.InternalEnumerateInfos(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
   at System.IO.DirectoryInfo.EnumerateFileSystemInfos()
   at System.IO.Abstractions.DirectoryInfoWrapper.EnumerateFileSystemInfos()
   at Ganss.IO.Glob.Expand(String path, Boolean dirOnly)+MoveNext().

Piggy backing on a similar complaint, I also noticed the following with the same call stack:

Error finding file system entries in C:\$Recycle.Bin\S-1-5-21-89625216-2347251461-3949967815-1000\$RWUDRHQ\ProcessInjection\CurrentVersion: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\$Recycle.Bin\S-1-5-21-89625216-2347251461-3949967815-1000\$RWUDRHQ\ProcessInjection\CurrentVersion'.

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.