Profiling .NET 7 assemblies now supported
Peter_Laws
Redgate › Posts: 278 Silver 2
Contrary to the other ANTS profiler, our testing of ANTS Memory Profiler established that no modifications were needed to support .NET 7.
As such we've not released a new version, but have updated our documentation and release notes to establish that it's supported and expected to work.
As always, if you have questions or issues, please contact our support team.
As such we've not released a new version, but have updated our documentation and release notes to establish that it's supported and expected to work.
As always, if you have questions or issues, please contact our support team.
Tagged:
Comments
After further investigation, I noticed I should point the path to (maybe because I use JetBrains Rider):
C:\<my source folder>\.idea\config
If you are using Visual Studio it probably needs to point to: C:\<my source folder>\.vs\config
Unfortunately, it does not work because I get an http error related to the application cannot find the correct connection string to my local SQL Server instance.
I noticed I needed to set 2 environment variables to make it work:
1. ASPNETCORE_CONTENTROOT Which must point to the root folder of where the Web API dll resides. So if the 'ASP.NET Core assembly' path points to 'C:<your source folder\<your api>\bin\Debug\net7.0\YOUR.API.dll', the value is 'C:<your source folder\<your api>'
2. ASPNETCORE_ENVIRONMENT with value 'Development'