This repository has been archived by the owner. It is now read-only.

kpm restore fails on OSX with latest KRE updates #612

Closed
suhasj opened this Issue Sep 8, 2014 · 4 comments

Comments

Projects
None yet
3 participants
@suhasj
Contributor

suhasj commented Sep 8, 2014

With the latest KRE changes, kpm restore fails on OSX with a not implemented exception thrown at
PackageManager.Restore.Nuget.PackageFeed.OpenNuspecStreamAsync
which has a '#if net45' condition (line 156). With the new KRE changes should it be renamed to '#if ASPNET50' ?

I did a search on the KRuntime class and lot of them use 'if net45'. Should we do a repo wide search and replace them in the classes ?

Currently blocked on this

@davidfowl

This comment has been minimized.

Show comment
Hide comment
@davidfowl

davidfowl Sep 8, 2014

Member

Seems like you're using an older version of mono

Member

davidfowl commented Sep 8, 2014

Seems like you're using an older version of mono

@davidfowl davidfowl closed this Sep 8, 2014

@flq

This comment has been minimized.

Show comment
Hide comment
@flq

flq Nov 16, 2014

I have the very same issue, I followed the exact steps as outlined in the Home repository (getting things via home brew). Is there some step missing that is not documented?
Mono -V reports 3.4.0 ...

flq commented Nov 16, 2014

I have the very same issue, I followed the exact steps as outlined in the Home repository (getting things via home brew). Is there some step missing that is not documented?
Mono -V reports 3.4.0 ...

@davidfowl

This comment has been minimized.

Show comment
Hide comment
@davidfowl

davidfowl Nov 16, 2014

Member

The steps on the Home repository say that the minimum version of mono required is 3.4.1 but mono is at 3.10 so you should install that one. If you're using home-brew then run brew update to get the latest homebrew bits then try installing again.

Member

davidfowl commented Nov 16, 2014

The steps on the Home repository say that the minimum version of mono required is 3.4.1 but mono is at 3.10 so you should install that one. If you're using home-brew then run brew update to get the latest homebrew bits then try installing again.

@flq

This comment has been minimized.

Show comment
Hide comment
@flq

flq Nov 16, 2014

Cool! That was it. I know it it is not the job of the samples project as those are homebrew semantics, but a small section a la

"If you have previously installed mono via homebrew and it is outdated, you should perform the following steps:

  1. upgrade home brew : brew upgrade
  2. uninstall your current mono version: brew uninstall mono
  3. reinstall mono: brew install mono
  4. link it: brew link mono

the second step was necessary as it would just link back to the older mono even though the newer one was downloaded."

would help the uninitiated 😄 Thanks again.

flq commented Nov 16, 2014

Cool! That was it. I know it it is not the job of the samples project as those are homebrew semantics, but a small section a la

"If you have previously installed mono via homebrew and it is outdated, you should perform the following steps:

  1. upgrade home brew : brew upgrade
  2. uninstall your current mono version: brew uninstall mono
  3. reinstall mono: brew install mono
  4. link it: brew link mono

the second step was necessary as it would just link back to the older mono even though the newer one was downloaded."

would help the uninitiated 😄 Thanks again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.