Enhancements to .NET Component Projects

When you generate .NET assembly components from PowerBuilder .NET projects, you can take advantage of CLS-compliant features of PowerBuilder .NET that are not available in PowerBuilder Classic.

For example, in PowerBuilder .NET, you can include jagged arrays as parameter types of public methods in .NET Assembly targets.

If you set the CLSCompliant value of a .NET component project to true, the PowerBuilder to .NET compiler (pb2cs) generates the CLSCompliantAttribute (true) attribute for the component, and the C# compiler applies the CLS rules to the public methods of the component. If you set this value for a component that is not CLS compliant, the compiler issues the appropriate warnings.