New Posts New Posts RSS Feed: DevForce PostBuild Event woes
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

DevForce PostBuild Event woes

 Post Reply Post Reply
Author
sebma View Drop Down
Groupie
Groupie
Avatar

Joined: 19-Aug-2008
Location: Singapore
Posts: 66
Post Options Post Options   Quote sebma Quote  Post ReplyReply Direct Link To This Post Topic: DevForce PostBuild Event woes
    Posted: 09-Oct-2008 at 9:33am
Hi all,
 
Not sure if anyone has posted this.
 
Everytime when I build a project which references a DomainModel project (with IdeaBlade's DLLs), the project being built is always automatically open to write the following PostBuild event:
 
rem [IdeaBlade-begin]
copy  "$(SolutionDir)DataModelSkillCon\bin\Debug\DataModelSkillCon.dll" "$(TargetDir)"
goto BuildEventOK
:0
goto BuildEventFailed
:BuildEventFailed
echo IdeaBlade post-build event for $(ProjectName) failed: one or more files could not be copied to the output directory
exit 0
:BuildEventOK
echo IdeaBlade post-build event for $(ProjectName) completed Ok
rem [IdeaBlade-end]
Is there anyway to overwrite bishavior so that:
- I can customize my own postbuild event
- DevForce cannot meddle with my project settings
 
Thanks
Sebastian
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 09-Oct-2008 at 10:27am

You can turn off generation of the post-build event in the Object Mapper.  There's a setting on the Domain Model property page called "Generate post-build event" which controls this.

Back to Top
sebma View Drop Down
Groupie
Groupie
Avatar

Joined: 19-Aug-2008
Location: Singapore
Posts: 66
Post Options Post Options   Quote sebma Quote  Post ReplyReply Direct Link To This Post Posted: 10-Oct-2008 at 12:32am
That does it, thanks Kim!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down