tonerdo / dotget Goto Github PK
View Code? Open in Web Editor NEWInstaller for .NET Core CLI Apps
Home Page: https://medium.com/@tonerdo/introducing-dotget-an-installer-for-net-core-cli-apps-9ba79ac7cd89
License: MIT License
Installer for .NET Core CLI Apps
Home Page: https://medium.com/@tonerdo/introducing-dotget-an-installer-for-net-core-cli-apps-9ba79ac7cd89
License: MIT License
The project should support downloading/updating from other sources.
Increase usability and modularity.
Similar to aptitude. Create a sources.list
file that defines the different sources to search for the desired package the user is installing or updating.
dotget
will download the first program it finds, so sources should be listed with the highest priority first.#
are comments and are ignored.# This is a comment. Blank lines are ignored.
# Windows path.
C:\Documents\MyFeed
# UNC path.
\\server\Utilities\CustomFeed
# Linux path.
/root/bin/feed
# Fall back to the public NuGet Feed.
https://api.nuget.org/v3/index.json
#1 [xxx]: (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/tonerdo/dotget/master/scripts/in
stall.ps1") | iex
Directory: C:\Users\xxx\AppData\Local\Temp
Mode LastWriteTime Length Name
d----- 2018-01-29 9:47 AM dotget
Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or
Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
At line:6 char:18
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Downloading latest version ()
Exception calling "DownloadFile" with "2" argument(s): "The request was aborted: The connection was closed
unexpectedly."
At line:16 char:1
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : WebException
Microsoft.PowerShell.Archive\Expand-Archive : The path 'C:\Users\xxx\AppData\Local\Temp\dotget\dotget.zip' either
does not exist or is not a valid file system path.
At line:19 char:1
+ CategoryInfo : InvalidArgument: (C:\Users\xxx\A...tget\dotget.zip:String) [Expand-Archive], InvalidOpe
rationException
+ FullyQualifiedErrorId : ArchiveCmdletPathNotFound,Expand-Archive
Directory: C:\Users\xxx\.dotget
Mode LastWriteTime Length Name
d----- 2018-01-29 9:47 AM bin
Copy-Item : Cannot find path 'C:\Users\xxx.dotget\dist\Runners\dotnet-get.cmd' because it does not exist.
At line:30 char:1
+ CategoryInfo : ObjectNotFound: (C:\Users\xxx\....\dotnet-get.cmd:String) [Copy-Item], ItemNotFoundExce
ption
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
dotGet was installed successfully!
PS C:\Users\User Name> (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/tonerdo/dotget/mas
ter/scripts/install.ps1") | iex
Directory: C:\Users\USERNA~1\Temp
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2/12/2018 14:01 dotget
Downloading latest version (v1.0.0)
dotGet was installed successfully!
PS C:\Users\User Name> dotnet get --help
No executable found matching command "dotnet-C:\Users\User"
PS C:\Users\User Name>
I can confirm that it is installing correctly by looking in the installation directory.
The user PATH variable also looks correct:
C:\Users\User Name\.dotget\bin
This seems to be an issue with the executable itself, where a space in the username is not being accounted for.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.