question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CppUnitTestFramework is being included in linux .NET SDK

See original GitHub issue

Describe the bug

The Linux .NET SDK is including a bunch of native Windows .dll files:

image

These assemblies all have the Product Name of Microsoft Windows Operating System, which is a weird product name for assemblies we are installing onto Linux machines.

I’m also not sure what the license is for these assemblies. I’m not sure if they meet the MIT License that we ship the linux .NET SDK under.

To Reproduce

Download and extract the latest .NET linux-x64 SDK. Look at the files being included. It shouldn’t contain native assemblies that are compiled for Windows.

cc @dsplaisted @marcpopMSFT @richlander

Further technical details

I’m not sure if or how this affects source-build. These assemblies don’t show where they are built from, so I don’t know if we are building these assemblies during source-build or not. cc @MichaelSimons

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MichaelSimonscommented, Jul 19, 2022

These aren’t built/included in source-build therefore it wouldn’t catch these today. The unified build project feels like it would have the potential to help surface these types of issues where source-build is the only open build.

0reactions
marcpopMSFTcommented, Jul 19, 2022

@pavelhorak @nohwnd as these come from the vstest repo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't find any installed SDKs after update to .NET 6 #6889
I've tried restarting the command prompt, restarting the computer, downloading the SDK from website and installing it manually - same behavior.
Read more >
dotnet sdk is installed but not recognized - Linux Ubuntu ...
Here is what happens when I try to do an apt install of the sdk(It shows already installed): sudo apt install dotnet-sdk-6.0 [sudo]...
Read more >
Check installed .NET versions on Windows, Linux, and ...
Learn how to list which versions of .NET are installed on your computer. This includes the .NET runtime and SDK.
Read more >
dotnet test command - .NET CLI
The dotnet test command is used to execute unit tests in a given project. ... Sdk" Version="17.7.0" /> <PackageReference Include="xunit" ...
Read more >
Is anyone developing. NET on linux? How good is it?
I develop on Windows and deploy to Linux. I haven't needed to really debug on Linux so I can't say how well that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found