Metalama
Metalama copied to clipboard
Can not build at Build Server
Hello, I am using the OverrideMethodAspect
of the Metalama framework to create a logging attribute. It works and I can build in my Visual Studio 2022 and run the app(I see logging works in output). I would like to use it in my projects but I have one issue: The source code with Metalama framework fails to build at Build Server. I use AppCenter.ms
to build all my projects. Here is the error that I see in the AppCenter build logs:
/Users/runner/.nuget/packages/metalama.compiler/2024.1.7/tasks/net472/csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702,1701,1702 /fullpaths /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;METALAMA;RELEASE;NETSTANDARD;NETSTANDARD2_0 /highentropyva+ /reference:/Users/runner/.nuget/packages/jetbrains.annotations/2022.3.1/lib/netstandard2.0/JetBrains.Annotations.dll /reference:/Users/runner/.nuget/packages/metalama.extensions.dependencyinjection/2024.1.14/lib/netstandard2.0/Metalama.Extensions.DependencyInjection.dll /reference:/Users/runner/.nuget/packages/metalama.framework.redist/2024.1.14/lib/netstandard2.0/Metalama.Framework.dll /reference:/Users/runner/.nuget/packages/metalama.framework.runtime/2024.1.4/lib/netstandard2.0/Metalama.Framework.RunTime.dll /reference:/Users/runner/.nuget/packages/metalama.framework.redist/2024.1.14/lib/netstandard2.0/Metalama.SystemTypes.dll /reference:/Users/runner/.nuget/packages/microsoft.csharp/4.7.0/ref/netstandard2.0/Microsoft.CSharp.dll /reference:/Users/run...
CompilerServer: server failed - server rejected the request 'Error reading response: Reached end of stream before end of read.' - eaea0f2c-9cf4-4772-9046-ec3056d2429c
/Users/runner/.nuget/packages/metalama.compiler/2024.1.7/tasks/net472/Microsoft.CSharp.Core.targets(113,5): error : [/Users/runner/work/1/s/App.Common.Services/App.Common.Services.csproj]
/Users/runner/.nuget/packages/metalama.compiler/2024.1.7/tasks/net472/Microsoft.CSharp.Core.targets(113,5): error : ================================================================= [/Users/runner/work/1/s/App.Common.Services/App.Common.Services.csproj]
/Users/runner/.nuget/packages/metalama.compiler/2024.1.7/tasks/net472/Microsoft.CSharp.Core.targets(113,5): error : External Debugger Dump: [/Users/runner/work/1/s/App.Common.Services/App.Common.Services.csproj]
/Users/runner/.nuget/packages/metalama.compiler/2024.1.7/tasks/net472/Microsoft.CSharp.Core.targets(113,5): error : ================================================================= [/Users/runner/work/1/s/App.Common.Services/App.Common.Services.csproj]
Done Building Project "/Users/runner/work/1/s/App.Common.Services/App.Common.Services.csproj" (default targets) -- FAILED.
Metalama
version 2024.1.14
AppCenter
uses Mono
6.12 to build .Net projects