Skip to content

Support Statetment: ReplaceFile for AppObject

With BuildFile= local in the translation Script (note lang must be csproj or vbproj)

<Output Status="New" Filename="%BndPath%" />
<Author>
<Fix name="PostEdit_ReplaceFiles" host="">
<ReplaceFile lang="csproj" <---
name="remove AppObjects"
source="%NetProjFolder%\%SrcName%_AppObject.cs"
target="..\usr\handcode\%SrcName%_AppObject.cs"
/>
</Fix>

Note: AppObjects files are used to provide a Singleton for an instance classes that exposes “Global” members in some VB6/COM APIs.