- Richard Donagrandi
- PowerServer
- Wednesday, 19 April 2023 10:10 PM UTC
Hello,
We're on Powerbuilder 2021 build 1509
I'm trying to build a proof-of-concept for our legacy application as a PowerServer Native Cloud. Yesterday, I could build an deploy, then compile and run. However, I did get a build error issue for five objects e.g.:
Parsing: blwreceipts.pbl(d_receipt) Error: The DataWindow d_receipt has the same name as the one in blw110c.pbl
SO, I fixed this issue by removing one of the (duplicate) datawindows. I can build and deploy the PowerServer project just fine, and I no longer get the parse error, but when I try to compile and run, I get BUILD FAILED with (e.g.):
C:\Users\{USERNAME}\source\repos\PowerServer_blw110\AppModels\booklog\Models\blwreceipts\D_Receipt.cs(35,18): error CS0101: The namespace 'Booklog' already contains a definition for 'D_Receipt' [C:\Users\{USERNAME}\source\repos\PowerServer_blw110\AppModels\AppModels.csproj]
C:\Users\{USERNAME}\source\repos\PowerServer_blw110\AppModels\booklog\Models\blwreceipts\D_Receipt.cs(14,6): error CS0579: Duplicate 'DataWindow' attribute [C:\Users\{USERNAME}\source\repos\PowerServer_blw110\AppModels\AppModels.csproj]
C:\Users\{USERNAME}\source\repos\PowerServer_blw110\AppModels\booklog\Models\blwreceipts\D_Receipt.cs(16,6): error CS0579: Duplicate 'DwSelect' attribute [C:\Users\{USERNAME}\source\repos\PowerServer_blw110\AppModels\AppModels.csproj]
Help, I have no idea how to fix this!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.