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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project

(0) ShareShare
ReportReport
Posted on by 275

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-PCF.PNG

Error- The target "CreateManifestResourceNames" does not exist in the project. [D:powercomponent\powercomponent.pcfprj]

using VS 2017

Did anyone faced this before?

Thanks,

Mridula

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    PranavShroti Profile Picture
    4,510 on at
    RE: PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project

    Did you try this link: github.com/.../109

  • Mridula Profile Picture
    275 on at
    RE: PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project

    Hi Pranav,

    Yes I did restore before build and still facing the same issue.

    Thanks,

    Mridula

  • Mridula Profile Picture
    275 on at
    RE: PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project

    Hi Pranav,

    I did go through this link before but couldn't understand the solution. Could you help me with the change I should do in respect to PCF?

    Thanks,

    Mridula Singh

  • KiranSai Profile Picture
    5 on at
    RE: PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project

    Hi Mrudula,

    Did you get the solution for this issue ?

    even i'm facing the same issue, please let me know what should i do to get this resolved.

    Appreciate your help!

  • Suggested answer
    Jeevarajan Kumar Profile Picture
    781 Most Valuable Professional on at
    RE: PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project

    Hi Mridula ,

    Friend of mine had the same issue, I was able to fix it by installing

    .Net Framework 4.6.2 SDK &&

    .Net Framework 4.6.2 targeting pack

    please follow the below steps

    Step 1 : Open visual studio installer and click modify

    vsinstaller.PNG

    Step 2 : Select individual components and make sure .Net Framework 4.6.2 SDK &&

    .Net Framework 4.6.2 targeting pack are checked.

    4784.step-2.PNG

    Step 3 : (optional)Under code tools make sure NuGet package Manager and Nuget targets and build tasks are checked and click modify.

    7418.step-3.PNG

    make sure that you have your visual studio msbuild added in environment variables. In my case it was 

    C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin

    Hope this help you... please let me know if you need any assistance in adding environment build...

    "Please mark this as answer if it's helpful"

  • Suggested answer
    Jeevarajan Kumar Profile Picture
    781 Most Valuable Professional on at
    RE: PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project

    Hi KiranSai ,

    Hope the above post would help you out... please let me know if you need any assistance.

  • Community Member Profile Picture
    on at
    RE: PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project

    Hi Kumar,

    I've came acrose the same issue as KiranSai and tried all on these suggestions but still can't fix it.

    the last post you've made did change a thing to the error :(

    pastedimage1583511318382v1.jpeg

  • Suggested answer
    Steven Rasmussen Profile Picture
    60 on at
    RE: PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project

    For those still running into this issue, the fix seems to be to run the following command from a command prompt either in the root of the project folder or the 'Solutions' folder:

    msbuild /t:build /restore

    Got this fix from the last comment in the following issue: https://github.com/microsoft/MSBuildSdks/issues/120#issuecomment-840713734

  • Community member Profile Picture
    on at
    PCF: Error while using msbuild -The target "CreateManifestResourceNames" does not exist in the project
    My internet had to be on Microsoft VPN to connect to our nuget package feed.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans