Base solution for your next web application
Open Closed

New .NET Core Version #3040


User avatar
0
dannyw created

So I downloaded the new .NET core version with the following settings:

Project Type: ASP.NET CORE & Angular Project Version: 4.0.0 Framework: .NET Core 1.1

I tried to open with Visual Studio for Mac and got the following:

Errors in Core.csproj Package Abp.Zero.Ldap 2.0.1 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.Ldap 2.0.1 supports: net46 (.NETFramework,Version=v4.6) One or more packages are incompatible with .NETCoreApp,Version=v1.1.

Which prevents anything from building.

So I tried on regular Visual Studio on Windows and got:

Package Microsoft.Composition 1.0.27 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Microsoft.Composition 1.0.27 supports: portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)

Which has the same effect.

I note that you warn on the download about LDAP and SignalR being unsupported however not sure how to get around these issues.


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    We sometimes had the second problem you had on windows but project was building and running successfully for us. Anyway, we have fixed it by this commit <a class="postlink" href="https://github.com/aspnetboilerplate/aspnet-core-template/commit/7702de2ca92b8c424f25af059545674d8d8f9901#commitcomment-21915183">https://github.com/aspnetboilerplate/as ... t-21915183</a>. This is a fix for another project but you can apply same change to your project.

    Can you try it on MAC and share the result with us ?

    Thanks.

  • User Avatar
    0
    korp created

    Hello there. I was wondering if the SignalR unsupported warning is related to "Not implemented in aspnetzer yet" or "not supported in dotnet core (signalr-core) in the way we can use it"

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    .Net Core version of signalr is not released yet actually. We will include it as soon as they release signalR for .Net Core. You can follow it here <a class="postlink" href="https://github.com/aspnet/signalr">https://github.com/aspnet/signalr</a>

  • User Avatar
    0
    exlnt created
    Package Abp.Zero.Ldap 2.0.1 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Abp.Zero.Ldap 2.0.1 supports: net46 (.NETFramework,Version=v4.6)
    One or more packages are incompatible with .NETCoreApp,Version=v1.1.
    

    I downloaded a brand new .Net Core 1.1 solution from ABP yesterday with module zero. I am getting the above error when I try to add LDAP NuGet pkg to my solution (.Core project). The fix mentioned seems to have already been applied in the solution I downloaded.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @exlnt,

    LDAP is not supported on .Net Core by microsoft, so you cannot use it. If you want to use LDAP, you need to target .Net Framework 4.6.1.

    Thanks.

  • User Avatar
    0
    dannyw created

    Guys, still having issues with this. I downloaded the latest version today, no sign of the PackageTargetFallback tag in the projects and adding it doesn't appear to fix things.

    Changing TargetFrameworks to <TargetFrameworks>net461;netcoreapp1.1</TargetFrameworks> seems to help but gives different errors.

    Is it realistic to be able to use with Visual Studio for Mac (now on stable release)?