-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP4034: Failure writing debug information: Value cannot be null. (Parameter 'type') #1128
Comments
I guess, the .NET SDK version might be different. What is the .NET version you use? |
I'm using .net 8. I have resolved it on the build server by removing /p:PublishSingleFile=true I would like to create 1 file but I have a workaround for now and maybe a hint for you to figure out where the issue might be. |
This is the same as #1047 I guess, working on it |
currently, you need to specify
and the compilation will proceed |
<DebugType>none</DebugType> property handled eq to /debug- ref: #1128
implemented! thanks for pointing this out |
When doing a dotnet publish with the following options under GitHub actions:
dotnet publish Client/Client.csproj -c Release -o ${{env.DOTNET_ROOT}}/app/Client /p:RuntimeIdentifier=linux-x64 /p:PublishSingleFile=true /p:DebugType=None /p:DebugSymbols=false /p:PublishReferencesDocumentationFiles=false
I'm getting: BUILDTASK : error PHP4034: Failure writing debug information: Value cannot be null. (Parameter 'type') [/home/runner/work/PHPLib/PHPLib.msbuildproj]
When I run that same command locally it works fine. Is there some option I should or should not pass to solve this issue?
The client includes several .net packages and 1 php package called PHPLib
The text was updated successfully, but these errors were encountered: