cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dexx3336
Helper II
Helper II

Unable to create package in Visual Studio 2019

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.

1 ACCEPTED SOLUTION

Accepted Solutions
kyleyuan
New Member

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.

View solution in original post

2 REPLIES 2
kyleyuan
New Member

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.

View solution in original post

Thanks @kyleyuan for your steps.

Now am able to create the PCF package in VS 2019

 

Smiley Happy

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (1,990)