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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,106)