-
Esau Redwan
- PowerServer
- Wednesday, 21 May 2025 08:55 AM UTC
Hi All,
After building and deploying for months I started getting this odd error that doesn't let me deploy anymore and I have no idea why. Below is the PowerBuilder "default" output log.
Executing the "dotnet publish" command...
1>Project "C:\Users\MyUserName\AppData\Local\Temp\2\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj" on node 1 (Publish target(s)).
1>C:\Program Files\dotnet\sdk\8.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportPublishProfile.targets(34,3): error MSB4024: The imported project file "C:\Users\MyUserName\AppData\Local\Temp\2\pbappscache 22.0\ServerAPIs\Properties\PublishProfiles\Default.pubxml" could not be loaded. The '!' character, hexadecimal value 0x21, cannot be included in a name. Line 18, position 18. [C:\Users\MyUserName\AppData\Local\Temp\2\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj]
1>Done Building Project "C:\Users\MyUserName\AppData\Local\Temp\2\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj" (Publish target(s)) -- FAILED.
Build FAILED.
"C:\Users\MyUserName\AppData\Local\Temp\2\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj" (Publish target) (1) ->
C:\Program Files\dotnet\sdk\8.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportPublishProfile.targets(34,3): error MSB4024: The imported project file "C:\Users\MyUserName\AppData\Local\Temp\2\pbappscache 22.0\ServerAPIs\Properties\PublishProfiles\Default.pubxml" could not be loaded. The '!' character, hexadecimal value 0x21, cannot be included in a name. Line 18, position 18. [C:\Users\MyUserName\AppData\Local\Temp\2\pbappscache 22.0\ServerAPIs\ServerAPIs.csproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.16
The installable cloud app is published successfully.
---------- Finished Deploy of App --------------
Ive tried restarting PowerBuilder and rebuilding and cleaning solution within snap develop as well as full compile and re-deployment.
Does anyone have any ideas what I should try next?
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.