Skip to main content

Notifications

Power Apps - Power Apps Pro Dev & ISV
Answered

Unable to create package in Visual Studio 2019

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.

  • Dexx3336 Profile Picture
    Dexx3336 69 on at
    Re: Unable to create package in Visual Studio 2019

    Thanks @kyleyuan for your steps.

    Now am able to create the PCF package in VS 2019

     

    Smiley Happy

     

  • Verified answer
    kyleyuan Profile Picture
    kyleyuan on at
    Re: Unable to create package in Visual Studio 2019

    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

October 2024 Newsletter…

October 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #4 How to Conntact Support…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,473

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,659

Leaderboard