Build FAILED for Notepad++ with message PostBuildEvent: The system cannot find the file specified
-
I get a build failure due to a post build event failure when building Notepad++ in VS 2010. Here's the message from Output window: PostBuildEvent: The system cannot find the file specified. The system cannot find the file specified. The system cannot find the file specified. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "copy ..\src\config.xml ..\bin\config.xml C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: copy ..\src\langs.xml ..\bin\langs.xml C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: copy ..\src\stylers.xml ..\bin\stylers.xml C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1. Please help
-
Answer:
Posting the answer for others who might run into this issue After a little research on this subject, I learned that the XML file names that are specified in the projects Post-Build Event have changed, so you have to update that to use the new file-names You can fix this by modifying the project file like this: In Visual Studio, Select the Project (Notepad++) and choose Project > Properties from VS Menu (or hit ALT + F7) In the Property Pages window, expand the Configuration Properties node then, expand the Build Events node Select Post-Build Event to view its properties Modify the Command Line Property to look like this: copy ..\src\config.model.xml ..\bin\config.model.xml copy ..\src\langs.model.xml ..\bin\langs.model.xml copy ..\src\stylers.model.xml ..\bin\stylers.model.xml Click OK and Build away...
Drupad Panchal at Stack Overflow Visit the source
Other answers
Not specific to Notepad++ but I had a similar problem with a recent post-build step. When you see... PostBuildEvent: The system cannot find the file specified. ..your source path is wrong. In my case I was using the wrong relative source path. And this fixed it: copy /Y $(TargetName).* $(ProjectDir)..\Latest
Chris Masterton
Related Q & A:
- Could not find any resources appropriate for the specified culture or the neutral culture.(MULTILINGUAL?Best solution by Stack Overflow
- How to convert build.xml to maven pom.xml file?Best solution by Stack Overflow
- How to create a build system in Sublime Text 3?Best solution by stackoverflow.com
- How can I find and replace html links with Notepad++?Best solution by stackoverflow.com
- How do I Build a Great Home theater system?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.