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

Add a switch to PerfView to disable NGEN Pdb generation for .NET Core assemblies using CrossGen #2091

Open
safihamid opened this issue Aug 2, 2024 · 0 comments

Comments

@safihamid
Copy link

We will need to do a merge for our prod profiles and there is no crossgen.exe available on the VMs and we get lots of log entries like below:

NGEN PDB creation for C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.7\System.Linq.dll took 0.00 Sec
Could not find CLR directory for NGEN image C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.7\System.Collections.Immutable.dll, Trying .NET Core
Checking for CoreCLR case, looking for CrossGen at C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.7\crossGen.exe
Found coreclr: at C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.7\coreclr.dll, timestamp 6/13/2024 7:34:54 PM
Could not find crossgen, giving up
Could not find Crossgen.exe to generate PDBs, giving up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant