I have created a hello world pcf control and when trying to execute this command below:
pac pcf push --publisher-prefix XXX
then getting following error below:
Determining projects to restore...
All projects are up-to-date for restore.
> pcf-project@1.0.0 clean F:\...
> pcf-scripts clean "--noColor" "--buildMode" "development" "--outDir" "F:\...\out\controls" "--buildSource" "MSBuild"
[6:12:49 PM] [clean] Initializing...
[6:12:49 PM] [clean] Cleaning build outputs...
[6:12:49 PM] [clean] Succeeded
C:\XXX\XXX\.nuget\packages\microsoft.powerapps.msbuild.solution\1.7.2\build\Microsoft.PowerApps.MSBuild.Solution.targets(163,5😞 error MSB4062: The "Tasks.StartTelemetryTask" task could not be loaded from the assembly C:\XXX\XXX\.nuget\packages\microsoft.powerapps.msbuild.solution\1.7.2\build\..\tasks\net5.0\Microsoft.PowerApps.MSBuild.Tasks.dll. Could not load file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [F:\....cdsproj]