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 9 posts 79 karma points
    4 days ago
    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 22 posts 111 karma points c-trib
    4 days ago
    Bishal Tim
    0

    Hi,

    did u check nuget is Enabled?

    dotnet nuget list source
    
Please Sign in or register to post replies

Write your reply to:

Draft