web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to create packa...
Power Apps
Answered

Unable to create package in Visual Studio 2019

(0) ShareShare
ReportReport
Posted on by 69

Hello Guys,

 

I am using VS 2019. when I use command "pac pcf init --namespace XrmformControl --name FileControl --template field" .
getting below error : "The specified CLI version latest is not installed on this machine.". 

 

Create package issue.png

 

 

 

 

 

I also tried to install latest package but facing issues : 

 

Create package issue.png

 

 


Can anyone know which version of CLI is compatible with VS 2019? and from where i can get it ? 

 

Thanks in advance.

I have the same question (0)
  • Dexx3336 Profile Picture
    69 on at

    Thanks @kyleyuan for your steps.

    Now am able to create the PCF package in VS 2019

     

    Smiley Happy

     

  • Verified answer
    kyleyuan Profile Picture
    on at

    Looks like you don't have public nuget feed configurated. Run below command to add nuget.org to the source:

     

    nuget source add -Name nuget.org -Source https://api.nuget.org/v3/index.json

     

    then run "pac install latest". You should be able to find the latest CLI package.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 408

#2
WarrenBelz Profile Picture

WarrenBelz 382 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 328 Super User 2025 Season 2

Last 30 days Overall leaderboard