Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bekzod 1 post 71 karma points
    Oct 16, 2023 @ 08:51
    Bekzod
    0

    Error when creating project

    Error when creating project

    C:\Users\user>dotnet new umbraco -n MyProject --force
    The template "Umbraco Project" was created successfully.
    
    Processing post-creation actions...
    Restoring C:\Users\user\MyProject\MyProject.csproj:
      Determining projects to restore...
    C:\Users\user\MyProject\MyProject.csproj : error NU1100: Unable to resolve 'Umbraco.Cms (>= 12.0.0)' for 'net7.0'. Pack
    ageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Micros
    oft Visual Studio Offline Packages, nuget.org, Package source.
    C:\Users\user\MyProject\MyProject.csproj : error NU1100: Unable to resolve 'Microsoft.ICU.ICU4C.Runtime (>= 68.2.0.9)'
    for 'net7.0'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\lib
    rary-packs, Microsoft Visual Studio Offline Packages, nuget.org, Package source.
    
  • Dave 10 posts 80 karma points
    Sep 04, 2024 @ 21:15
    Dave
    0

    I have similar problems. I haven't been able to instal Umbraco in ANY environment, despite following all the instructions. Here is the error message from my local machine:

    > PS C:\Users\xxx\Desktop\Umbraco13\Umbraco> dotnet build
      Determining projects to restore...
    C:\Users\xxx\Desktop\Umbraco13\Umbraco\Umbraco.csproj : error NU1100: Unable to resolve 'Umbraco.Cms (>= 14.2.0)' for 
    'net8.0'.
    C:\Users\xxx\Desktop\Umbraco13\Umbraco\Umbraco.csproj : error NU1100: Unable to resolve 'Microsoft.ICU.ICU4C.Runtime ( 
    >= 72.1.0.3)' for 'net8.0'.
      Failed to restore C:\Users\xxx\Desktop\Umbraco13\Umbraco\Umbraco.csproj (in 133 ms).
    
    Build FAILED.
    
    C:\Users\hearne\Desktop\Umbraco13\Umbraco\Umbraco.csproj : error NU1100: Unable to resolve 'Umbraco.Cms (>= 14.2.0)' for  
    'net8.0'.
    C:\Users\hearne\Desktop\Umbraco13\Umbraco\Umbraco.csproj : error NU1100: Unable to resolve 'Microsoft.ICU.ICU4C.Runtime ( 
    >= 72.1.0.3)' for 'net8.0'.
        0 Warning(s)
        2 Error(s)
    
  • Bishal Tim 26 posts 115 karma points c-trib
    Sep 05, 2024 @ 10:08
    Bishal Tim
    0

    Hi,

    did u check nuget is Enabled?

    dotnet nuget list source
    
  • Dave 10 posts 80 karma points
    Sep 12, 2024 @ 17:07
    Dave
    0

    Running dotnet nuget list source gives me No sources found. as a result, which is utterly unhelpful.

    This is true on my local machine. It is true in Azure App Service. In fact, I have not been able to get a single instance of Umbraco installed anywhere, any way. How can this be? The rest of the world seems to have no problems getting this set up.

Please Sign in or register to post replies

Write your reply to:

Draft