Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

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

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

  • 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.
  • Suggested answer
    Steven Rasmussen Profile Picture
    Steven Rasmussen 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
    Community Member Microsoft Employee 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
    Jeevarajan Kumar Profile Picture
    Jeevarajan Kumar 747 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.

  • Suggested answer
    Jeevarajan Kumar Profile Picture
    Jeevarajan Kumar 747 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"

  • KiranSai Profile Picture
    KiranSai 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!

  • Mridula Profile Picture
    Mridula 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

  • Mridula Profile Picture
    Mridula 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

  • Suggested answer
    PranavShroti Profile Picture
    PranavShroti 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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans