Hi all,
I'm just trying to follow a tutorial on creating a PCF Control. I have installed the PowerApps CLI, however when I run the command to initialise the control, I get an error.
The command I have run in my Powershell (running as administrator):
pac pcf init --namespace CanvizPCF --name PCFDemoControl --template field
This generates the following exception for me:
"[ERROR] Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
[ERROR] at bolt.cli.Session.Run(String[] args, String hostName, IEnvirons environs, IUserSettingsPersistence userSettingsPersistence, IOutputWindow outputWindow, Action errorCallback)
[ERROR] at bolt.cli.Session.Run(String[] args, String hostName, IOutputWindow outputWindow, Action errorCallback)
[ERROR] at bolt.Program.Main(String[] args)"
Checking my .NET version by running dotnet --version I get "3.1.201"
Has anyone experienced this before or have any guidance on what I need to do to resolve this?
Many thanks,
Tom.