3.0 SDK is copying runtimes folders and assets to desktop TF
See original GitHub issueFound during https://github.com/dotnet/roslyn/pull/34093
Repro Steps
- Clone https://github.com/jaredpar/roslyn
- Use branch fix-sdk
- Run
Build.cmd -build -restore
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:
- Created 5 years ago
- Comments:26 (26 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
binlogs are 🦄
FWIW: I did a
git clean -dxf .
on teh new machine to ensure i was in a clean state.