diff options
author | Matt Ward <ward.matt@gmail.com> | 2015-04-15 13:50:33 +0300 |
---|---|---|
committer | Matt Ward <ward.matt@gmail.com> | 2015-04-15 13:50:33 +0300 |
commit | adbfad1948b8c94cc64a90a644f3e3cf52445017 (patch) | |
tree | fec7018bbd8804bb4bf5e27affc6dbffc7453c07 | |
parent | bd281ac0840e977cb5d0e63c153c58e9c912f38f (diff) |
Disable registry check on Mono.2.8.3-disable-registry-check
This is a workaround to fix bug #29088 - Custom NuGet feed package
operations fail.
https://bugzilla.xamarin.com/show_bug.cgi?id=29088
A DisableBuffering option was added for the NuGet.exe push command in
b0e55ac46689248329b2be5b31e5b001ddc44ab3
This new feature checked the registry to see if .NET 4.5 is installed.
With Mono 4.0 this caused a 'No access to the given key' error when
viewing a custom NuGet package source such as Team City. The problem
is that Mono 4.0 does not create the directory:
/Library/Frameworks/Mono.framework/Versions/4.0.0/etc/mono/registry/LocalMachine
The registry/LocalMachine part is missing.
To workaround this problem the registry check in NuGet is now disabled
when on Mono. If Mono 4.0 is changed to create the
registry/LocalMachine when it is installed then this change will not
be needed.
Source code change:
https://github.com/mrward/nuget/commit/c8803d523747abab7f94f759f3841501dd4d31dd
-rw-r--r-- | NuGet.Core.dll | bin | 565248 -> 565248 bytes |
-rw-r--r-- | NuGet.exe | bin | 1065984 -> 1065984 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/NuGet.Core.dll b/NuGet.Core.dll Binary files differBinary files differindex 612ff56..d12165b 100644 --- a/NuGet.Core.dll +++ b/NuGet.Core.dll |