Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / April 2006

Tip: Looking for answers? Try searching our database.

error MSB4057: The target "Update" does not exist in The project.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mdes - 10 Apr 2006 22:50 GMT
While building or rebuilding my VB.Net project (VS2005), I got the
following error:

-----------------------------------------------------------------
error MSB4057: The target "Update" does not exist in The project.
-----------------------------------------------------------------

Does anybody has some explanations about this error, and how to solve
it?

This error occured since I deleted a command in the PostBuildEvent.

Thanks for any help,
Michel
mdes - 11 Apr 2006 18:48 GMT
A little more precision:

The output is :
v-------------------------------------v
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(558,9):
error MSB4057: The target "PostBuildEvent" does not exist in The
project.
^-------------------------------------^

And in the error window, the error is:
v-------------------------------------v
The target "PostBuildEvent" does not exist in The project.
^-------------------------------------^

The error is located in the module "Microsoft.Common.Targets" on the
line starting with "DependsOnTargets":
v-------------------------------------v
   <Target
       Name="CoreBuild"
       DependsOnTargets="$(CoreBuildDependsOn)">

       <OnError ExecuteTargets="_TimeStampAfterCompile;PostBuildEvent"
Condition="'$(RunPostBuildEvent)'=='Always' or
'$(RunPostBuildEvent)'=='OnOutputUpdated'"/>
       <OnError ExecuteTargets="_CleanRecordFileWrites"/>

   </Target>
^-------------------------------------^

Note that the builds events are empty.

I try the following steps, but this stupid error is still there:

- I reinstalled VS2005
- I tried to rebuild one of my existing project,
- I created an empty project

This last case seems to tell me that something is wrong in the VS2005
installation: but I reinstalled (repaired) all from the original disks.
mdes - 13 Apr 2006 22:08 GMT
After uninstalling and re-installing VS2005, everything is OK :)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.