SAP Knowledge Base Article - Preview

2103836 - PB Classic Deployment Issue With Microsoft .NET 4.0 windowsbase.dll Assembly


Customer found that in PB12.6 Classic he is not able deploy .NET Web Service targets that are using the Microsoft 4.0 windowsbase.dll assembly.  You can also see the error when deploying a Winform application with a reference to the Microsoft 4.0 windowsbase.dll assembly.

Deployment to .NET fail. In the PB12.6 deployment process of .NET targets, it is not including this assembly reference.

Deployment in PB 12.6 results in the error below:

 ---------- Error messages:    (2:25:13 PM)
Error when compiling generated C# code:
n_webservice.test(S)(6,13): error CS0234: The type or namespace name 'Packaging' does not exist in the namespace 'System.IO' (are you missing an assembly reference?)
 ---------- Finished    (2:25:13 PM)
In PB11 project .NET assembly WindowsBase.dll
"C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0\WindowsBase.dll"
is referenced and project compile.
In PB12.6 project .NET assembly WindowsBase.dll
"C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\WindowsBase.dll"
is referenced and project compile with error.
difference in pb2cstempout\DeployLog.txt is :
PB11: WindowsBase.dll is referenced with input /r flag in C# command line compiler, csc.exe
PB12.6: WindowsBase.dll is not referenced



  • SAP PowerBuilder 12.5.x all builds up through 5652
  • SAP PowerBuilder 12.6 all builds up through 4011.


SAP PowerBuilder 12.5 ; SAP PowerBuilder 12.6


PB, PowerBuilder, .NET Framework , KBA , BC-SYB-PB , PowerBuilder , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.