Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not detect any platforms from 'Xamarin.*' messages. #2532

Closed
halcwb opened this issue Jul 17, 2017 · 6 comments · Fixed by #2535
Closed

Could not detect any platforms from 'Xamarin.*' messages. #2532

halcwb opened this issue Jul 17, 2017 · 6 comments · Fixed by #2535

Comments

@halcwb
Copy link
Contributor

halcwb commented Jul 17, 2017

Description

I did a fresh install of Fable, all the way down from brew on El Capitan, including yarn and dotnet. Mono version 4.4.0 pre-installed.

Repro steps

Install a new fable project following the instructions on the fable website. Build the project using dotnet restore and dotnet fable yarn-run build.

Expected behavior

Installation of dependencies.

Actual behavior

A lot of messages like:

Could not detect any platforms from 'Xamarin.*'

Known workarounds

Ignore the messages.

@forki
Copy link
Member

forki commented Jul 17, 2017

could you please copy the exact messages?

@halcwb
Copy link
Contributor Author

halcwb commented Jul 17, 2017

MacBook-Pro:GenPedGUI hal$ dotnet restore
Paket version 5.7.0
Could not detect any platforms from 'xamarin.tvos1.0'
Could not detect any platforms from 'xamarin.watchos1.0'
Could not detect any platforms from 'Xamarin.TVOS1.0'
Could not detect any platforms from 'Xamarin.WatchOS1.0'
Performance:

  • Disk IO: 1 second
  • Runtime: 7 seconds
    Paket version 5.7.0
    Could not detect any platforms from 'xamarin.tvos1.0'
    Could not detect any platforms from 'xamarin.watchos1.0'
    Could not detect any platforms from 'Xamarin.TVOS1.0'
    Could not detect any platforms from 'Xamarin.WatchOS1.0'
    Performance:
  • Disk IO: 1 second
  • Runtime: 7 seconds
    Restoring packages for /Users/hal/Development/GenPed/GenPedGUI/src/GenPedGUI.fsproj...
    Restoring packages for /Users/hal/Development/GenPed/GenPedGUI/src/GenPedGUI.fsproj...
    Lock file has not changed. Skipping lock file write. Path: /Users/hal/Development/GenPed/GenPedGUI/src/obj/project.assets.json
    Restore completed in 385,56 ms for /Users/hal/Development/GenPed/GenPedGUI/src/GenPedGUI.fsproj.
    Restore completed in 920,4 ms for /Users/hal/Development/GenPed/GenPedGUI/src/GenPedGUI.fsproj.

NuGet Config files used:
/Users/hal/Development/GenPed/GenPedGUI/NuGet.Config
/Users/hal/.nuget/NuGet/NuGet.Config

Feeds used:
https://api.nuget.org/v3/index.json
MacBook-Pro:GenPedGUI hal$ cd src/
MacBook-Pro:src hal$ dotnet restore
Paket version 5.7.0
Could not detect any platforms from 'xamarin.tvos1.0'
Could not detect any platforms from 'xamarin.watchos1.0'
Could not detect any platforms from 'Xamarin.TVOS1.0'
Could not detect any platforms from 'Xamarin.WatchOS1.0'
Performance:

  • Disk IO: 945 milliseconds
  • Runtime: 6 seconds
    Paket version 5.7.0
    Could not detect any platforms from 'xamarin.tvos1.0'
    Could not detect any platforms from 'xamarin.watchos1.0'
    Could not detect any platforms from 'Xamarin.TVOS1.0'
    Could not detect any platforms from 'Xamarin.WatchOS1.0'
    Performance:
  • Disk IO: 915 milliseconds
  • Runtime: 7 seconds
    Restoring packages for /Users/hal/Development/GenPed/GenPedGUI/src/GenPedGUI.fsproj...
    Restoring packages for /Users/hal/Development/GenPed/GenPedGUI/src/GenPedGUI.fsproj...
    Lock file has not changed. Skipping lock file write. Path: /Users/hal/Development/GenPed/GenPedGUI/src/obj/project.assets.json
    Restore completed in 367,39 ms for /Users/hal/Development/GenPed/GenPedGUI/src/GenPedGUI.fsproj.
    Restore completed in 654,62 ms for /Users/hal/Development/GenPed/GenPedGUI/src/GenPedGUI.fsproj.

NuGet Config files used:
/Users/hal/Development/GenPed/GenPedGUI/NuGet.Config
/Users/hal/.nuget/NuGet/NuGet.Config

Feeds used:
https://api.nuget.org/v3/index.json

@forki
Copy link
Member

forki commented Jul 17, 2017

image

yeah it's becoming a bit annoying ;-)

/cc @matthid

@matthid
Copy link
Member

matthid commented Jul 17, 2017

Best think would be to add them and extend the parser ;)

@matthid
Copy link
Member

matthid commented Jul 17, 2017

Just an addition: imho just removing the warning is not an option. Paket needs to tell you if it cannot understand the supported platforms otherwise user has the expectation that all platforms work as expected. Additionally it might change the used references from what nuget might do.

@forki
Copy link
Member

forki commented Jul 17, 2017

I didn't meant to remove the warning. we should implement it properly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants