Application Tool Kit

Nuget Package Files Not working.

Im trying to install some nugget packages but It does not work. Im using Visual Studio 2017. I just got the files from
https://developer.myscript.com/get-started/windows

Im not Shure what the problem is?


image



Here is full error. Sorry.

image


I can confirm the issue. Followed the instructions as given but the NuGet Files can't be installed in VS17.

 

Dear Nicholas, dear Joschka,


Thank you for your questions.


Currently, you are trying to download the nuget files from the remote location https://api.nuget.org.


Our nuget files are not available on it, you should indeed load these from your local computer, and proceed as shown in our Windows 10 tutorial video: https://developer.myscript.com/get-started/windows


Let us know if this helps.


Best regards,


Olivier


1 person likes this

Olivier I did follow that video and that is what did not work in Visual Studio 2017. I tried Visual Studio 2015 and for some reason it worked with the same project, so no problem.

Anyway thanks for the reply.

Seems like there are some sort of compatibility problems with VS2017 with the sample project files and its dependencies. I will try to get it to work with VS15 for now, but I'd be nice if you guys could take a look at that issue.

 

Dear Nicholas, dear Joschka,

Indeed, it appears ATK 2.2 for Windows 10 is not working properly with Visual Studio 2017.

We then recommend you use the Visual Studio 2015 release 3.

Best regards,

Olivier
Dear Nicholas, Dear Joschka,

it seems we could find a workaround using the nuget in command line mode.

To proceed:
-Let's say you deployed our Windws 10 in c:/temp directory
-The nuget file are then located into the c:/temp/Packages directory
-The whole solution MyScript Application ToolKit Samples.sln is located into the c:/temp/Samples directory
-call nuget restore as follows: nuget restore -Source "nuget directory" "full path of MyScript\ Application\ ToolKit\ Samples.sln": nuget restore -Source C:\temp\Packages "C:\temp\Samples\MyScript Application ToolKit Samples.sln"

Let us know if this works on you side.

Best regards,

Olivier

I tried the command line, still not working...

C:\Tony\LX>nuget restore -Source C:\Tony\LX\MyScript_ATK_Windows\Packages "C:\Tony\LX\MyScript_ATK_Windows\Samples\MyScript Application ToolKit Samples.sln" MSBuild auto-detection: using msbuild version '15.1.1012.6693' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\bin'. Restoring packages for C:\Tony\LX\MyScript_ATK_Windows\Samples\DiagramWidgetSample\DiagramWidgetSample\project.json... Restoring packages for C:\Tony\LX\MyScript_ATK_Windows\Samples\MathWidgetSample\MathWidgetSample\project.json... Restoring packages for C:\Tony\LX\MyScript_ATK_Windows\Samples\GeometryWidgetSample\GeometryWidgetSample\project.json... Restoring packages for C:\Tony\LX\MyScript_ATK_Windows\Samples\MyCertificate\MyScript.Certificate\project.json... Unable to resolve 'MyScript.Atk.GeometryWidget.uwp (>= 1.0.0)' for 'UAP,Version=v10.0'. Unable to resolve 'MyScript.Atk.MathWidget.uwp (>= 1.0.0)' for 'UAP,Version=v10.0'. Unable to resolve 'MyScript.Atk.GeometryWidget.uwp (>= 1.0.0)' for 'UAP,Version=v10.0 (win10-arm)'. Unable to resolve 'MyScript.Atk.GeometryWidget.uwp (>= 1.0.0)' for 'UAP,Version=v10.0 (win10-arm-aot)'. Unable to resolve 'MyScript.Atk.GeometryWidget.uwp (>= 1.0.0)' for 'UAP,Version=v10.0 (win10-x64)'. Unable to resolve 'MyScript.Atk.MathWidget.uwp (>= 1.0.0)' for 'UAP,Version=v10.0 (win10-arm)'.

Hi Tony,


I answered this topic here : https://developer-support.myscript.com/support/discussions/topics/16000008938


Regards,

Maria C. - MyScirpt Support Team

Login or Signup to post a comment