Need help with running a dotnet application

Hello. So, I have an issue and it relates to dotnet run. I am unable to run a project because of this error.
The active test run was aborted. Reason: Test host process crashed : Cannot get required symbol ERR_put_error from libssl


Test Run Aborted with error System.Exception: One or more errors occurred.
---> System.Exception: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at System.IO.BinaryReader.Read7BitEncodedInt()
at System.IO.BinaryReader.ReadString()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.LengthPrefixCommunicationChannel.NotifyDataAvailable()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TcpClientExtensions.MessageLoopAsync(TcpClient client, ICommunicationChannel channel, Action`1 errorHandler, CancellationToken cancellationToken)
--- End of inner exception stack trace ---.
The active test run was aborted. Reason: Test host process crashed : Cannot get required symbol ERR_put_error from libssl


Test Run Aborted with error System.Exception: One or more errors occurred.
---> System.Exception: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.ReadByte()
at System.IO.BinaryReader.Read7BitEncodedInt()
at System.IO.BinaryReader.ReadString()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.LengthPrefixCommunicationChannel.NotifyDataAvailable()
at Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TcpClientExtensions.MessageLoopAsync(TcpClient client, ICommunicationChannel channel, Action`1 errorHandler, CancellationToken cancellationToken)
--- End of inner exception stack trace ---.
The main thing to focus on is this Reason: Test host process crashed : Cannot get required symbol ERR_put_error from libssl. I've search around but I'm not able to get anything useful as most of the solutions are not applicable to manjaro the OS I'm on. For more context the project itself is on .NET 5 I believe. I'm new to this so there may be errors in terminology and other things.
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0-alpha.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0-preview-20200812-03" />
<ProjectReference Include="..\Services\API.Services.csproj" />
<ProjectReference Include="..\Core\API.Core.csproj" />
</ItemGroup>


<ItemGroup>
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NUnit" Version="3.13.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.0.0-alpha.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0-preview-20200812-03" />
<ProjectReference Include="..\Services\API.Services.csproj" />
<ProjectReference Include="..\Core\API.Core.csproj" />
</ItemGroup>


<ItemGroup>
</ItemGroup>

</Project>
1 Reply
Alphabets, Alphabets
This is the csproj file. Before I had errors about not being able to find the right version of libssl and to that end in my system in /usr/lib I've symlinked libssl.so.1.1 to libssl.so.3 which is a version I already have. This is all the information I think I need to provide. If you need more please tell me and I'll send an update or add in more information. I set up a windows VM
Want results from more Discord servers?
Add your server