I am getting an error trying to install the client side part of Umbraco Headless
Hi,
I am currrently tinkering with the new Umbraco Headless and I am looking just to get some data to pull through, I have managed this with node and now I am looking to do this in an asp.net application.
PM> Install-Package UmbracoCms.Headless.Client -Source https://www.myget.org/F/uaas/api/v3/index.json -Pre
Attempting to gather dependency information for package 'UmbracoCms.Headless.Client.0.9.0-CI-20180405-03' with respect to project 'Umbraco Headless 3', targeting '.NETFramework,Version=v4.6.1'
Attempting to resolve dependencies for package 'UmbracoCms.Headless.Client.0.9.0-CI-20180405-03' with DependencyBehavior 'Lowest'
Resolving actions to install package 'UmbracoCms.Headless.Client.0.9.0-CI-20180405-03'
Resolved actions to install package 'UmbracoCms.Headless.Client.0.9.0-CI-20180405-03'
Install failed. Rolling back...
Package 'UmbracoCms.Headless.Client.0.9.0-CI-20180405-03' does not exist in project 'Umbraco Headless 3'
Package 'UmbracoCms.Headless.Client.0.9.0-CI-20180405-03' does not exist in folder 'C:\Users\Harriet\documents\visual studio 2015\Projects\Umbraco Headless 3\packages'
Install-Package : Could not install package 'UmbracoCms.Headless.Client 0.9.0-CI-20180405-03'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', but the package does not contain any assembly references or content files that are compatible with that
framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package UmbracoCms.Headless.Client -Source https://www.myget. ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
Does anyone know where I am going wrong? It seems like there is something wrong with the version of .net but I have the project set to 4.6.1... Thanks in advance.
I got into work this morning and tried this again and got it to work, I used VS 2017 and at home I used VS2015, so the issue might be something to do with the visual studio version.
I am getting an error trying to install the client side part of Umbraco Headless
Hi,
I am currrently tinkering with the new Umbraco Headless and I am looking just to get some data to pull through, I have managed this with node and now I am looking to do this in an asp.net application.
I have been following the instuctions here:
https://our.umbraco.org/documentation/Umbraco-Cloud/Headless/Headless-Net-Client/website-framework
I am running the command:
And getting the error:
Does anyone know where I am going wrong? It seems like there is something wrong with the version of .net but I have the project set to 4.6.1... Thanks in advance.
I got into work this morning and tried this again and got it to work, I used VS 2017 and at home I used VS2015, so the issue might be something to do with the visual studio version.
is working on a reply...