Print Page | Close Window

DevForce PostBuild Event woes

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=962
Printed Date: 16-Apr-2024 at 4:02am


Topic: DevForce PostBuild Event woes
Posted By: sebma
Subject: DevForce PostBuild Event woes
Date 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



Replies:
Posted By: kimj
Date 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.



Posted By: sebma
Date Posted: 10-Oct-2008 at 12:32am
That does it, thanks Kim!



Print Page | Close Window