PCF Hello All,
I am trying my hands on PCF control and while generating zip files by using command msbuild, I am getting below error.
Error- The target "CreateManifestResourceNames" does not exist in the project. [D:powercomponent\powercomponent.pcfprj]
using VS 2017
Did anyone faced this before?
Thanks,
Mridula
In the terminal, navigate to Solutions Folder, I run this command: msbuild /t:build /restore
Really helped
@devendramsft Thanks it worked 🙂 . Can you help me with the reference creation between cdsproj and pcfproj.
@Craig-MSFT @devendramsft I am trying using Developer Command Prompt for VS 2017 and restored it as well. Please find attached the screenshot
Hi @iwaldman please find attached the files
This error occurs when the project has not been restored first. Please run this from a "Developer command prompt for VS 2017"
a) msbuild /t:restore
then run msbuild.
~Dev
Mridula,
Are you running msbuild from a "Developer Command Prompt for VS 2017"? If not, please try this. When you run this command prompt, it will set things up so that msbuild can find its dependencies.
Regards,
cl.
Hard to say without having access to your project. However, I would start by reviewing your cdsproj, pcfproj and ControlManifest.Input.xml files and ensure they are correct.
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72