Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOS Warning: Loading symbols for dynamic assemblies is not yet supported #4753

Open
am11 opened this issue Jun 24, 2024 · 0 comments
Open

SOS Warning: Loading symbols for dynamic assemblies is not yet supported #4753

am11 opened this issue Jun 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request sos
Milestone

Comments

@am11
Copy link
Member

am11 commented Jun 24, 2024

I haven't found any issue tracking this:

// Dynamic and in memory assemblies are a special case which we will ignore for now
ExtWarn("SOS Warning: Loading symbols for dynamic assemblies is not yet supported\n");
return E_FAIL;

so I thought of opening one. 🙂
This makes it impossible to debug msbuild tasks from nuget packages.

e.g. I was trying to root-cause what parameters are passed down to:

bpmd /runtime/.dotnet/sdk/9.0.100-preview.5.24307.3/Sdks/NuGet.Build.Tasks.Pack/build/../CoreCLR/NuGet.Build.Tasks.Pack.dll NuGet.Common.PathResolver.PerformWildcardSearch

which fails the publish on VirtioFS on mac (docker-mac recommended fileshare impl.; it does not fail when gRPC FUSE fileshare impl. is selected instead, which is many times slower than VirtioFS and takes forever to build runtime's default subsets in docker mounts..)

# funny exception that  /runtime/src/installer/pkg/sfx/Microsoft.NETCore.App doesn't
# exist from project at /runtime/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Ref.sfxproj
 System.IO.DirectoryNotFoundException: Could not find a part of the path '/runtime/src/installer/pkg/sfx/Microsoft.NETCore.App'.
    at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
    at System.IO.Enumeration.FileSystemEnumerator`1.Init()
    at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
    at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
    at System.IO.Directory.GetFiles(String path, String searchPattern, EnumerationOptions enumerationOptions)
    at NuGet.Common.PathResolver.PerformWildcardSearch(String basePath, String searchPath, Boolean includeEmptyDirectories, String& normalizedBasePath)
    at NuGet.Packaging.PackageBuilder.ResolveSearchPattern(String basePath, String searchPath, String targetPath, Boolean includeEmptyDirectories)
    at NuGet.Packaging.PackageBuilder.AddFiles(String basePath, String source, String destination, String exclude)
    at NuGet.Packaging.PackageBuilder.PopulateFiles(String basePath, IEnumerable`1 files)
    at NuGet.Commands.MSBuildProjectFactory.CreateBuilder(String basePath, NuGetVersion version, String suffix, Boolean buildIfNeeded, PackageBuilder builder)
    at NuGet.Commands.PackCommandRunner.BuildFromProjectFile(String path)
    at NuGet.Build.Tasks.Pack.PackTask.Execute() (TaskId:86)
Done executing task "PackTask" -- FAILED. (TaskId:86)

(eventually, I was able to figure it out the hard way NuGet/Home#13572 😅)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sos
Projects
None yet
Development

No branches or pull requests

2 participants