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.

3.0 SDK is copying runtimes folders and assets to desktop TF

See original GitHub issue

Found during https://github.com/dotnet/roslyn/pull/34093

Repro Steps

Notice that after build every net472 directory has a runtimes folder under it with the assets you’d expect from .NET Core TF. Example:

E:\code\roslyn\artifacts\bin\Roslyn.VisualStudio.Next.UnitTests\Debug\net472\runtimes\win\lib\net461\System.Text.Encoding.CodePages.dll
E:\code\roslyn\artifacts\bin\Roslyn.VisualStudio.Next.UnitTests\Debug\net472\runtimes\win\native\Microsoft.DiaSymReader.Native.amd64.dll
E:\code\roslyn\artifacts\bin\Roslyn.VisualStudio.Next.UnitTests\Debug\net472\runtimes\win\native\Microsoft.DiaSymReader.Native.arm.dll
E:\code\roslyn\artifacts\bin\Roslyn.VisualStudio.Next.UnitTests\Debug\net472\runtimes\win\native\Microsoft.DiaSymReader.Native.x86.dll
E:\code\roslyn\artifacts\bin\Roslyn.VisualStudio.Next.UnitTests\Debug\net472\runtimes\win-x64\native\Microsoft.DiaSymReader.Native.amd64.dll
E:\code\roslyn\artifacts\bin\Roslyn.VisualStudio.Next.UnitTests\Debug\net472\runtimes\win-x86\native\Microsoft.DiaSymReader.Native.x86.dll
E:\code\roslyn\artifacts\bin\Roslyn.VisualStudio.Next.UnitTests\Debug\net472\runtimes\win7-x64\native\e_sqlite3.dll
E:\code\roslyn\artifacts\bin\Roslyn.VisualStudio.Next.UnitTests\Debug\net472\runtimes\win7-x86\native\e_sqlite3.dll
E:\code\roslyn\artifacts\bin\Roslyn.VisualStudio.Next.UnitTests\Debug\net472\runtimes\win8-arm\native\Microsoft.DiaSymReader.Native.arm.dll

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:26 (26 by maintainers)

github_iconTop GitHub Comments

2reactions
livarcocccommented, Mar 18, 2019

binlogs are 🦄

1reaction
jaredparcommented, Mar 18, 2019

FWIW: I did a git clean -dxf . on teh new machine to ensure i was in a clean state.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Superfluous 'runtimes' folder created in output directory ...
I've just migrated a (WPF) .NET 4.6 project to .NET 5. I've noticed it is now creating a folder called 'runtimes' in the...
Read more >
Breaking change in publish for .net 5 - Developer Community
To get this, you can run dotnet --list-sdks and dotnet --list-runtimes; Output log from VS. Copy of the pubxml from Properties\PublishProfiles< ...
Read more >
Dotnet build linux. The answer you're looking for is basically
This path is used by the dotnet to create necessary files to build the project. ... NET SDK, you don't need to install...
Read more >
Question about Runtime folder in .net 6 and 7 debug ...
Easiest way is to add them in Solution Explorer as existing files. to the project. Then set Build Action (in properties) for the...
Read more >
NET distribution packaging
Learn how to package, name, and version .NET for distribution.
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