iink SDK on Device

Answered

Could not start the Demo

This error keeps popping up ; Severity Code Description Project File Line Suppression State  Warning  The referenced component 'MyScript.InteractiveInk.UIReferenceImplementation.Uwp-VS2017' could not be found. MyScript.InteractiveInk.GetStarted.Uwp-VS2017     

Even after manual adding the Nuget packages

For both UWP an WPF demo's  What should  i do ?

Regards,

Bert



Best Answer

Dear Bert,


currently, this powershell script is to download the files that will be located into the "assets" of your project, basically conf files and resources.


From this, I am thinking of the following reasons:

-Either you are not able to execute the script. Is your powershell properly installed?

-Or you are not able to download the assets. Maybe you have a firewall that prevents from downloading? Can you please check you can manullay download the files, e.g. https://s3-us-west-2.amazonaws.com/iink/assets/1.1.0/myscript-iink-recognition-math.zip?


Otherwise, as this script is only to download the assets, if you are not able to run it, you can manually download the assets and extract these, as done in the script.


Best regards,


Olivier


Dear Bert,


Thznk you for contacting us.


Currently, in the "NuGet Package Manager -> General" did you check "Allow NuGet to download the missing packages" and "Automatically check..."?


If so, how did you get the source of the project? using git clone for github? Or getting the whole project as a zip file?


Best regards,


Olivier

HI Oliver

I downloaded the source from your developer portal and followed up the instructions there (Git Clone)

Any advise ?


Best Regards,

Bert

Starting the build this is the output

1>------ Build started: Project: MyScript.InteractiveInk.GetStarted.Uwp-VS2017, Configuration: Debug x86 ------ 

1>  C:\Users\BertNatenstedt\interactive-ink-examples-uwp\GetStarted\getRecognitionAssets.ps1 : The term 'C:\Users\BertNaten 

1>  stedt\interactive-ink-examples-uwp\GetStarted\getRecognitionAssets.ps1' is not recognized as the name of a cmdlet, func 

1>  tion, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path 

1>   is correct and try again. 

1>  At line:1 char:1 

1>  + C:\Users\BertNatenstedt\interactive-ink-examples-uwp\GetStarted\getRe ... 

1>  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

1>      + CategoryInfo          : ObjectNotFound: (C:\Users\BertNa...itionAssets.ps1:String) [], CommandNotFoundException 

1>      + FullyQualifiedErrorId : CommandNotFoundException 

1>    

1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1331,5): error MSB3073: The command "powershell.exe -NonInteractive -executionpolicy unrestricted -command "C:\Users\BertNatenstedt\interactive-ink-examples-uwp\GetStarted\getRecognitionAssets.ps1"" exited with code 1. 

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 

========== Deploy: 0 succeeded, 0 failed, 0 skipped ========== 


Answer

Dear Bert,


currently, this powershell script is to download the files that will be located into the "assets" of your project, basically conf files and resources.


From this, I am thinking of the following reasons:

-Either you are not able to execute the script. Is your powershell properly installed?

-Or you are not able to download the assets. Maybe you have a firewall that prevents from downloading? Can you please check you can manullay download the files, e.g. https://s3-us-west-2.amazonaws.com/iink/assets/1.1.0/myscript-iink-recognition-math.zip?


Otherwise, as this script is only to download the assets, if you are not able to run it, you can manually download the assets and extract these, as done in the script.


Best regards,


Olivier