Giter Site home page Giter Site logo

dnvm's Introduction

dnvm's People

Contributors

ajduncan avatar analogrelay avatar avanderhoorn avatar billbogaiv avatar bitcrazed avatar bjorkstromm avatar brennanconroy avatar bricelam avatar chengtian avatar damianedwards avatar davidfowl avatar deevus avatar dennisburton avatar devel0 avatar dougbu avatar eilon avatar ellismg avatar glennc avatar graemechristie avatar hubuk avatar jrotello avatar kichalla avatar ntaylormullen avatar pranavkm avatar rlbisbe avatar robrich avatar shirhatti avatar stajs avatar troydai avatar yaakov-h avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dnvm's Issues

Provide a non-interactive way of installing kvm

When running stress tests, we setup kvm on the target machine before doing bunch of other stuff to kick start a stress test on that machine...during this process we are calling kvm.cmd, but we are noticing that kvm.ps1 script is looking for a keystroke to exit.

kvm upgrade installs KRE successfully but exits with code 1

In a freshly-installed kvm on Linux, I execute kvm upgrade, it installs the first KRE successfully, sets the 'default' alias correctly however exits the function with code=1, which is not accurate.

Output:

root@cabc62fb553a:/# source ~/.kre/kvm/kvm.sh && kvm upgrade; echo ExitCode=$?
Determining latest version
Latest version is 1.0.0-alpha3-10146
Downloading KRE-mono45-x86.1.0.0-alpha3-10146 from https://www.myget.org/F/aspnetvnext/api/v2
Installing to //.kre/packages/KRE-mono45-x86.1.0.0-alpha3-10146
Adding //.kre/packages/KRE-mono45-x86.1.0.0-alpha3-10146/bin to process PATH
Setting alias 'default' to 'KRE-mono45-x86.1.0.0-alpha3-10146'
ExitCode=1
root@cabc62fb553a:/# 

[screenshot link]

I installed the KVM using:

curl https://raw.githubusercontent.com/aspnet/Home/master/kvminstall.sh | sh

I see the same behavior on my Mac OS X. KVM build number is 10002.

kvm should allow taking in a feed where it needs to download KRE from

Currently kvm scripts hardcode where it will get the KRE packages from. It currently points to the dev myget feed. We need to have ability to point to a feed and download the KRE packages. This is going to be useful as soon as there are multiple feeds / locations where KRE will be available.

Feed can either be a web url or a UNC or a disk path.

From aspnet/dnx#316

Cannot run kvm install with -g without running install without the flag first

Run the following on a clean machine -
kvm install 0.1-alpha-build-0446 -x64 -g

You see the following error:

Downloading KRE-svr50-x64.0.1-alpha-build-0446 from https://www.myget.org/F/aspn
etvnext/api/v2/
Installing to C:\Program Files\KRE\packages\KRE-svr50-x64.0.1-alpha-build-0446
Cannot find KRE-svr50-x64.0.1-alpha-build-0446, do you need to run 'kvm install
0.1-alpha-build-0446'?

You can run the above command successfully only if you have run it once without the -g flag.

We should be able to do this in one go.

kvm help doesn't have any mention of this as a requirement too.

From aspnet/dnx#224

Installing svrc before svr doesn't work

On a clean machine with no KRE installed yet, if you try to run:
kvm install KRE-svrc50-x86.1.0.0-alpha4-10309.nupkg
with the .nupkg in that location of course.
The package fails to install because in the Requested-VersionOrAlias function it looks for the alias folder which doesn't exist yet, and by default sets the platform to svr50 when we are trying to use svrc50

[dev] kvm.sh does display alias correctly with new changes

With the new changes to support Mono instead of mono45, the alias column does not display the aliases correctly.

Repro:

  1. No default alias
  • install kre and run 'kvm list'. The Alias field is not populated to show default
  1. Incorrect alias
  2. I had two versions of KRE installed 10429 and 10424
  3. I set 10429 as 'default' and 10424 'olddefault'
  4. running 'kvm alias' displayed them fine
  5. when i ran 'kvm unalias olddefault' it removed the alias as expected
  6. but 'kvm list' should the default alias to 10424 and not 10429

kvm upgrade exits with 0 (success) but errors with "KVM Needs unzip to proceed"

$ /bin/bash -c "source ~/.kre/kvm/kvm.sh && kvm upgrade; echo ExitCode=$?"
Determining latest version
Latest version is 1.0.0-alpha3
Downloading KRE-mono45-x86.1.0.0-alpha3 from https://www.myget.org/F/aspnetmaster/api/v2
Installing to //.kre/packages/KRE-mono45-x86.1.0.0-alpha3
KVM Needs unzip to proceed.
ExitCode=0

Returning success exit code in case of failure makes scripting almost impossible and scripts proceed with the next command (which requires a successful installation)

KVM shows two active versions, it should only show one

C:\Users\janezhou>kvm list

Active Version            Runtime Architecture Location
------ -------            ------- ------------ --------
       1.0.0-alpha2       svr50   x86          C:\Users\janezhou\.kre\packages
       1.0.0-alpha2       svrc50  x86          C:\Users\janezhou\.kre\packages
  *    1.0.0-alpha3       svr50   x86          C:\Users\janezhou\.kre\packages
       1.0.0-alpha3       svrc50  x86          C:\Users\janezhou\.kre\packages
       1.0.0-alpha3-10241 svr50   x64          C:\Users\janezhou\.kre\packages
  *    1.0.0-alpha3-10241 svr50   x86          C:\Users\janezhou\.kre\packages
       1.0.0-alpha3-10241 svrc50  x86          C:\Users\janezhou\.kre\packages

This seems to be the same issue that was opened in KRuntime repo:
aspnet/dnx#514

Provide the alias name with output of kvm list command

Currently kvm list does not list the alias of different installed KREs on the machine even though some of these have an alias. To get the alias of the corresponding KRE, today we have to do a separate kvm alias command.

Active Version              Runtime Architecture Location                     
------ -------              ------- ------------ --------                     
  *    0.1-alpha-build-0446 svrc50  x64          D:\Users\prabht\.kre\packages
       0.1-alpha-build-0508 svrc50  x86          D:\Users\prabht\.kre\packages

kvm alias

Alias Name                              
----- ----                              
test1 KRE-svr50-x86.0.1-alpha-build-0446```

From https://github.com/aspnet/KRuntime/issues/317

Use kvm (for windows) to install mono KRE

Currently kvm can install only svc50 and svcr50 flavors. I'm interested in developing mono based applications on windows. So I would like to use the kvm that I have installed on windows to acquire KRE-mono packages.

I think the scope of this bug is more than what I mentioned above. The mono KRE package does not currently have windows .cmd files for k, kpm etc. We need to fix the mono KRE package as well to address the scenario.

From aspnet/dnx#397

Command name collision with "kvm" command from Linux Kernel-based Virtual Machine

The command "kvm" has been in use since 2007 as a platform for running virtual machines on Linux with hardware acceleration.

The PATH environment on Linux is a flat namespace, so it is not possible to offer two different applications with the same command name.

It will be awkward to offer ASP.NET KVM as a standard feature in Linux package managers, without renaming the command to something else like "aspkvm", which will be tedious and painful as far as documentation goes for all concerned.

The relative sizes of the communities have no bearing - for example, the Node.js maintainers in Debian Linux were forced to rename the "node" command in Debian-only, to avoid collision with a ham radio app from the 1990s which was already using "node".

It's still very early days for ASP.NET KVM - please consider renaming the command globally, rather than requiring the command to be slightly different in a few places for a few users.

Any kvm action that overrides the KRE assigned to an alias should clearly indicate

This is a branched off bug from here : aspnet/dnx#318

Also when doing an upgrade when there is an existing KRE and the default alias is changed to point to the newly installed KRE, can we print a clear message that default alias is overridden?

Today we always print
Setting alias 'default' to 'KRE-svrc50-x86.0.1-alpha-build-0509'

Instead can we print
Replacing alias 'default' to point to 'KRE..blah'.

If the user does a kvm upgrade without realizing that the default alias will be overwritten, this message can ring a bell.

From aspnet/dnx#340

kvm commands showing Usage exits with code=0

If I leave required parameters out for kvm commands, it shows the USAGE string and terminates with return code 0, indicating success.

However by convention, command line programs terminating with insufficient parameters and thus showing the error message exit with non-zero exit codes, like 1. curl, git, gem are some examples. My 2 cents.

After setting up kvm, need to open a new command prompt to start using kvm

  1. Clean Windows machine
  2. Copy powershell script from github.com/aspnet/Home
  3. Open a new command prompt as administrator and paste it

ACTUAL
kvm installs fine, but need to open a new command prompt to be able to use it

EXPECTED
kvm should be available in the same command prompt after installation completes

An incorrect switch value should be pointed out clearly

An error to any switch value in kvm should clearly indicate the error first and print the usage.

Example:
kvm alias test2 0.1-alpha-build-0508 -x64 -scrc50

Notice svrc50 is incorrectly spelled as scrc50. The error message printed is
"Unknown command" followed by usage of kvm.

Pointing out the exact error will help in easier debugging.

From aspnet/dnx#321

kvm list 'Alias' column to be listed between Active and Version columns

Today kvm list shows Alias as the last column in the result. To associate an alias to a version of KRE there too much of eye ball movement from left to right of the screen as there is physical location in between these which can be bit longer strings.

Active Version            Runtime Architecture Location                      Alias            
------ -------            ------- ------------ --------                      -----            
       1.0.0-alpha3-10156 svr50   x64          C:\Users\prabht\.kre\packages                  
       1.0.0-alpha3-10156 svrc50  x64          C:\Program Files\KRE\packages                  
  *    1.0.0-alpha3-10161 svr50   x86          C:\Users\prabht\.kre\packages fromnupkg1, test1

Ask: Put the Alias column between Active and Version fields.

Proposal : Add ability to add a feed to kvm

It is painful to have multiple copies of kvm in different branches pointing to different hard coded feeds. I'm wondering if we should have ability to add a feed and switch between them like Nuget package manager allows. The experience can be similar to what we do with kvm use and the implementation could be similar to what we do for storing alias (storing them in a file in alias folder).

For example:

kvm feed add [friendlyname] [feedurl]
kvm feed add master https://www.myget.org/f/aspnetmaster/api/v2
kvm feed add dev https://www.myget.org/f/aspnetvnext/api/v2
kvm feed add official https://nuget.org/api/v2

kvm feed update [friendlyname] [newfeedurl]
kvm feed delete [friendlyname]

kvm feed use master to point to master feed. kvm feed use official to point to nuget feed.

By this way we can have a familiar working model and at the same time have the same copy of kvm to get KRE from multiple sources instead of overriding it with environment variables.

Provide a way to supply a KRE location as a command line parameter

@davidfowl

Today we have an environment variable named KRE_NUGET_API_URL to override the location of where to acquire KRE from. Will it make sense to accept a command line parameter for the source. Some times setting environment variable overrides is a pain in case of automation. It will be helpful to accept a command line parameter.

Set Environmental Path to override the KRE_NUGET_API_URL should trim the ""

When I set the KRE_NUGET_API_URL to override the feed installation path to use the release feed rather than VNext feed, I have use the environment set command to set it to "https://www.myget.org/F/aspnetvnext/api/v2". However, it takes in the "" literally into the environment variable. The Subsequent command to run KVM install actually failed the command complaining the following unclear error message.

Downloading KRE-svr50-x86.KRE-svr50-x86.1.0.0-alpha2-10030 from "https://www.myg
et.org/F/aspnetrelease/api/v2"
Exception calling "DownloadFile" with "2" argument(s): "Illegal characters in path."

KVM install with specific version and with options -p -g doesnt work.

KVM install fails if I give options -p-g. It works fine if I take those away. If I install again with -p -g, works fine.

D:\enlistments\Home>kvm install 0.1-alpha-build-0421 -x64 -p -g
Downloading KRE-svr50-x64.0.1-alpha-build-0421 from https://www.myget.org/F/aspnetvnext/api/v2/
Installing to C:\Program Files\KRE\packages\KRE-svr50-x64.0.1-alpha-build-0421
Cannot find KRE-svr50-x64.0.1-alpha-build-0421, do you need to run 'kvm install 0.1-alpha-build-0421'?

D:\enlistments\Home>kvm install 0.1-alpha-build-0421 -x64
Downloading KRE-svr50-x64.0.1-alpha-build-0421 from https://www.myget.org/F/aspnetvnext/api/v2/
Installing to C:\Users\mugdhak\.kre\packages\KRE-svr50-x64.0.1-alpha-build-0421
Adding C:\Users\mugdhak\.kre\\packages\KRE-svr50-x64.0.1-alpha-build-0421\bin to process PATH

D:\enlistments\Home>kvm install 0.1-alpha-build-0421 -x64 -p -g
Downloading KRE-svr50-x64.0.1-alpha-build-0421 from https://www.myget.org/F/aspnetvnext/api/v2/
Installing to C:\Program Files\KRE\packages\KRE-svr50-x64.0.1-alpha-build-0421
Adding C:\Users\mugdhak\.kre\\packages\KRE-svr50-x64.0.1-alpha-build-0421\bin to process PATH
Adding C:\Users\mugdhak\.kre\\packages\KRE-svr50-x64.0.1-alpha-build-0421\bin to user PATH

From aspnet/dnx#168

`kvm list` doesn't work with `noglob find` in zsh

Disclaimer: I originally thought this bug had to do with a version difference between the find binary, but then I discovered that it was because of the noglob alias (see technical details below). It might make sense to remove the globbing in kvm.sh but the case could also be made that kvm.sh can't support wild variations of aliasing of find either.

Title

kvm list doesn't work with noglob find

Functional impact

kvm list results in an error of "No such file or directory" because of the glob usage of find in kvm.sh. I wouldn't have run into this except that prezto (a widely-used ZSH configuration framework) defaults to using this alias.

Minimal repro steps

  1. Alias find with noglob find (e.g. alias find='noglob find') such as what prezto does.
  2. Run kvm list

Expected result

I would expect to see the list of installed KRE packages.

Actual result

$ kvm list

Active Version              Runtime Architecture Location
------ -------              ------- ------------ --------
find: /Users/me/.kre/packages/*: No such file or directory

Further technical details

The specific line that seems to conflict with noglob find is for f in $(find $KRE_USER_PACKAGES/* -name "$searchGlob" -type d -prune -exec basename {} \;); do.

If I change find $KRE_USER_PACKAGES/* to find $KRE_USER_PACKAGES (remove the "/*" in the find command), it works and properly lists the installed packages:

$ kvm list

Active Version              Runtime Architecture Location
------ -------              ------- ------------ --------
  *    1.0.0-alpha4-10275   mono45  x86          /Users/me/.kre/packages

[DNVM.sh] Install missing DNX behaves like the DNX is installed

K Runtime Environment Version Manager - Build 10010

kvm list

Active Version              Runtime Architecture Location             Alias
------ -------              ------- ------------ --------             -----
  *    1.0.0-alpha3         mono45  x86          ~/.kre/packages      default
       1.0.0-alpha4-10285   mono45  x86          ~/.kre/packages      
       1.0.0-alpha4-10331   mono45  x86          ~/.kre/packages      
       1.0.0-alpha4-10334   mono45  x86          ~/.kre/packages      

kvm install lateest

Downloading KRE-mono45-x86.lateest from https://www.myget.org/F/aspnetmaster/api/v2
KRE-mono45-x86.lateest was not found in repository https://www.myget.org/F/aspnetmaster/api/v2

kvm list

Active Version              Runtime Architecture Location             Alias
------ -------              ------- ------------ --------             -----
  *    1.0.0-alpha3         mono45  x86          ~/.kre/packages      default
       1.0.0-alpha4-10285   mono45  x86          ~/.kre/packages      
       1.0.0-alpha4-10331   mono45  x86          ~/.kre/packages      
       1.0.0-alpha4-10334   mono45  x86          ~/.kre/packages      
       lateest              mono45  x86          ~/.kre/packages      

mono --version

Mono JIT compiler version 3.8.1 (master/a8a5187 Sun Aug 31 01:02:32 CEST 2014)

cat /etc/issue

Welcome to openSUSE 13.1 "Bottle" - Kernel \r (\l).

kvm list should not show multiple active runtimes

Just out of curiosity, I added two valid paths for KRE to $env:Path:

C:\Users\Tugberk.kre\packages\KRE-svrc50-x86.1.0.0-alpha3-10042\bin
C:\Users\Tugberk.kre\packages\KRE-svr50-x86.1.0.0-alpha3-10042\bin

running kvm list shows two runtimes as active:

Active Version Runtime Architecture Location

  0.1-alpha-build-0446 svr50   x86          C:\Users\Tugberk\.kre\packages
  0.1-alpha-build-0446 svrc50  x86          C:\Users\Tugberk\.kre\packages
  • 1.0.0-alpha3-10042 svr50 x86 C:\Users\Tugberk.kre\packages
  • 1.0.0-alpha3-10042 svrc50 x86 C:\Users\Tugberk.kre\packages

However, if I run k, it gets the svrc50 one.

Loaded Module: klr.core45.dll
...

I am not sure which solution would be the correct one here:

  • k should throw as there are two active runtimes.
  • kvm list should take the same approach as the k and selects only one runtime as active.

From aspnet/dnx#375

Successful kvm upgrade command has error code 1 on Linux

As I'm trying to create a docker container for ASP.NET vNext I encounterd an issue.
One part of my script does the kvm upgrade command. In the log files I see that the command succeeds but still my docker build fails.

After some investigation I found that the kvm upgrade command always returns 1 even when the upgrade succeeds. The evaluation of [[ -n $alias ]] sets the return code to 1 and without any other return it will keep hold on this result code.

Below I have made the change. Please let me know if I should send a pull request.
Commit: Removed inline evaluation and execution of kvm alias

Steps to reproduce:
kvm upgrade
echo $? -> should show 0 instead of 1

I'm using Ubunto 14.04

Change kvm install to install desktop x86 version along with the requested version

Currently VS runs only desktop x86 version of KLR for KPM and Design time host apps ...

After VS support for multiple KRE's , if the user upgraded only coreclr or x64 desktop version without upgrading the desktop version first, VS will try to find a matching desktop x86 version for the version in default.txt and bails with an error saying it can not find KRE.(See the tooling bug: http://vstfdevdiv:8080/DevDiv2/DevDiv/_workitems/edit/947518 ).

It would be good to fix kvm to install desktop x86 version if user requested other type and desktop x86 version is not present so that VS will not run into the above issue.

From aspnet/dnx#203

Weird error, "k" cmd broken on my VM ONLY in Powershell and won't reinstall properly

All of K commands were working on my VM both in Powershell and in the cmd prompt. Then I did an upgrade and for some strange reason "K" cmd stopped working ONLY in Powershell.

PS C:\Users\gblock> k
Program 'K.cmd' failed to run: The system cannot find the file specifiedAt line:1 char:1
+ k
+ ~.
At line:1 char:1
+ k
+ ~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

At @davidfowl's suggestion I cleaned my path, removed the environment variable and deleted the c:/%user%/.kre folder.

Then when I run the installation script from the cmd prompt I get the following output.

C:\Users\gblock>@powershell -NoProfile -ExecutionPolicy unrestricted -Command "i
ex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com
/aspnet/Home/master/kvminstall.ps1'))"
Using temporary directory: C:\Users\gblock\AppData\Local\Temp\2\kvminstall
Downloading KVM.ps1 to C:\Users\gblock\AppData\Local\Temp\2\kvminstall\kvm.ps1
Downloading KVM.cmd to C:\Users\gblock\AppData\Local\Temp\2\kvminstall\kvm.cmd
Installing KVM
Program 'kvm.cmd' failed to run: The system cannot find the file specifiedAt
line:15 char:1
+ & $kvmCmdPath setup
+ ~~~~~~~~~~~~~~~~~~~.
At line:15 char:1
+ & $kvmCmdPath setup
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedEx
   ception
    + FullyQualifiedErrorId : NativeCommandFailed

If I clone the repo and then manually run "kvm setup" the setup finishes. Closing Powershell and reopening then "kvm" works. But k does not and I get the same error.

This is a VM, and I can easily create a new one using the Azure image, but the behavior is troubling.

Has anyone else seen this after upgrade?

If anyone on the team wants to check out my VM, email me, [email protected] and I'll send them the info to login.

From aspnet/dnx#350

kvm install of a X64 package throws this error though the install is successful

kvm install d:\KRE-svr50-x64.1.0.0-alpha3-10156.nupkg -alias fromnupkg1
Unpacking to C:\Users\prabht.kre\packages\temp
Installing to C:\Users\prabht.kre\packages\KRE-svr50-x64.1.0.0-alpha3-10156
Cannot find KRE-svr50-x86.1.0.0-alpha3-10156, do you need to run 'kvm install 1.0.0-alpha3-10156'?
Setting alias 'fromnupkg1' to 'KRE-svr50-x86.1.0.0-alpha3-10156'

maximum nested function level reached

At some point after installing the latest kvm I've got the 'maximum nested function level reached' error.
Could not log in till removed the line from shell startup:
[ -s "/home/mike/.kre/kvm/kvm.sh" ] && . "/home/mike/.kre/kvm/kvm.sh" # Load kvm

Now can reproduce by running:
~/dev/Home/samples/HelloMvc (master ✔) ᐅ source ~/.kre/kvm/kvm.sh
local:215: job table full or recursion limit exceeded
local:1: maximum nested function level reached

And can't type anything anymore:
~/dev/Home/samples/HelloMvc (master) ᐅ
local:2: maximum nested function level reached
local:1: maximum nested function level reached
~/dev/Home/samples/HelloMvc (master) ᐅ
local:1: maximum nested function level reached

System:
Ubuntu Server 14.04.1 with all the updates. With zsh, oh-my-zsh, ubuntu-desktop, mono-3.10.0 installed from tarball.

Provide feed management for kvm

As discussed in the meeting, providing two additional formulae for feed management in kvm

  • kvm source
  • kvm source <new source>

Build command in mac won't find KoreBuild

Enviromnent:

OSX 10.9.3
Xamarin Studio 5.1.1
Mono 4.6.0 Runtime

The trace is the following:

Unable to find package 'KoreBuild'.
Installing 'Sake 0.2'.
Successfully installed 'Sake 0.2'.
info: Target default
info: Target pre-clean
info: Target clean
info: Target post-clean
info: Target validate
info: Target initialize
info: Target copy-kvm
info: Copying .DS_Store
info: Copying kvm.cmd
info: Copying kvm.ps1
info: Copying kvm.sh
info: Copying kvmsetup.cmd
info: Updating /Users/robertoluis/kvm/artifacts/kvm.ps1
info: Updating /Users/robertoluis/kvm/artifacts/kvm.sh
info: Target compile
info: Target test-compile
info: Target test
info: Target package-prepare
info: Target package

KVM doesn't work in Azure Websites

There are 2 issues with the current KVM and the Azure Websites sandbox:

1- Write-Host doesn't work. Use [System.Console]::WriteLine() instead
2- Shell zip extraction doesn't work. System.IO.Compression works fine.

I noticed that you were using System.IO.Compressoin before then switched to the shell extraction because of older versions of powershell. Checking the powershell version and picking the correct extraction logic might be a better idea.

(copied from dotnet/aspnetcore#142)

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.