Base solution for your next web application
Open Closed

v5.0 Mobile unsupported by VS2017? #4258


User avatar
0
fguo created

I just download Core+Angular v5.0.4. When I try to open *.All.sln in my VS2017, I got an "Unsupported" message:

This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them. ..*.Mobile.Droid*.Mobile.Droid.csproj ..*.Mobile.iOS*.Mobile.iOS.csproj

What I missed or any solution?

Thanks, p.s. My VS2017 is VS Community 2017 version 15.4.5


6 Answer(s)
  • User Avatar
    0
    poolman created

    You need to modify your VS2017 installation to include "Mobile development with .NET" which will install Xamarin.

  • User Avatar
    0
    mumfie created

    <cite>fguo: </cite> I just download Core+Angular v5.0.4. When I try to open *.All.sln in my VS2017, I got an "Unsupported" message:

    This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them. ..*.Mobile.Droid*.Mobile.Droid.csproj ..*.Mobile.iOS*.Mobile.iOS.csproj

    What I missed or any solution?

    Thanks, p.s. My VS2017 is VS Community 2017 version 15.4.5

    Do you have Xamarin installed ? <a class="postlink" href="https://developer.xamarin.com/guides/cross-platform/getting_started/installation/windows/">https://developer.xamarin.com/guides/cr ... n/windows/</a> <a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide-Xamarin#prerequisites">https://aspnetzero.com/Documents/Develo ... requisites</a>

  • User Avatar
    0
    fguo created

    Thank you for your prompt response! I missed this step.

    I tried to open *.Web.sln for now. It is nothing to do with Mobile development tools, right? I found all projects show a yellow warning icon on Dependencies. Inside of *.Web.Core Dependencies folder, most of Nuget packages show that warning icon(e.g. abp.AspNetCore 3.2.5). Shall I run Nuget to update packages? :?: I remembered it happened before, and updating Nuget packages caused the whole solution crashed., so I am heisted to do that.

    Thanks again!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @fguo,

    Yes, you need to restore nuget packages. We can help you if you face any problems while doing that.

    Thanks.

  • User Avatar
    0
    fguo created

    I restored Nuget packages. There are only 4 updates waiting (see attached "Nuget Update 1.PNG"). I updated them, but there are still many warning icons left (see attached "Dependencies Warning.PNG"). Another warning is an assembly "System.ComponentModel.DataAnnotations" which is not showed in the attachments.

    I tried rebuild solution, unload/reload projects, close/reopen VS, but no help.

    I run the solution by F5, it seems running fine. No error popup, and the SwaggerUI shows normal.

    Any idea?

  • User Avatar
    0
    aaron created
    Support Team

    I found all projects show a yellow warning icon on Dependencies.

    That's a bug on .NET SDK side: <a class="postlink" href="https://github.com/dotnet/sdk/issues/1499">https://github.com/dotnet/sdk/issues/1499</a> It was fixed over a month ago, but will only be released in their v2.1.0 SDK.

    You don't have to worry about those warnings.