Hi, I am looking for possibility to automaticaly compile .net assebly. I found only way do it is direct in PB enviroment. How can I do by PBC190 or by orcascript?
Best regards
dao
Hi, I am looking for possibility to automaticaly compile .net assebly. I found only way do it is direct in PB enviroment. How can I do by PBC190 or by orcascript?
Best regards
dao
Hi Daniel,
As Arnd pointed out, this is an obsolete feature. Appeon strongly recommends that you make plans to move off of obsolete features since they are not going to be enhanced or get technical support/fixes.
But the bigger issue you are eventually going to face is you won't be able to upgrade to newer versions of the .NET framework because Microsoft is replacing .NET with .NET Core starting with the next version of .NET.
To move off of this particular obsolete feature, we recommend you use the PowerScript Migrator to migrate your assemblies to C# and .NET Core, then compile with the SnapDevelop IDE included with PowerBuilder.
Regards,
Armeen
Ok. I know about using IDE with command-line arguments. But I am looking for a way to use it on computer which is dedicated for compiling our projects.
Hey Daniel, to understand correctly: You have a PB target to create a .NET assembly from a PB NVO. That target has a project object defining how to generate its .EXE - and you want to invoke that .EXE generation from command-line script so you can automate it. Correct?
In any case: Such target is a ".NET" target (read: PB-to-.NET) not a "PowerBuilder" target (read: "PB PowerScript"). ORCAScript was created long before .NET targets were introduced - and I believe it was never extended to cover targets beyond PB PowerScript targets.
PBC command-line compiler created by Appeon supports PB PowerScript targets only.
HOWEVER, scriptable compilation is still possible using IDE with command-line arguments. See:
HTH /Michael