# Monitoring Apps Which Runs Below .NET 5

**URL:** <https://discuss.elastic.co/t/monitoring-apps-which-runs-below-net-5/356101>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [March 25, 2024, 2:08pm UTC](https://discuss.elastic.co/t/monitoring-apps-which-runs-below-net-5/356101 "2024-03-25T14:08:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilkerdemirci](https://avatars.discourse-cdn.com/v4/letter/i/5f9b8f/32.png) [@ilkerdemirci](https://discuss.elastic.co/u/ilkerdemirci)\
**Post date:** [March 25, 2024, 2:08pm UTC](https://discuss.elastic.co/t/monitoring-apps-which-runs-below-net-5/356101/1 "2024-03-25T14:08:15Z")

</div>

Hello,

I use an agent to monitor a Windows application. App runs on .net version below 5. The guide on this [page](https://www.elastic.co/guide/en/apm/agent/dotnet/current/setup-auto-instrumentation.html) shows a .NET 5+ requirement.  
I can get it work with applications run on this requirement but no luck with lower versions so far.  
Is there a seperate agent or an extra varible for agent configuration to get it work?

---

<div class="post-metadata">

**Author:** ![stevejgordon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stevejgordon/32/80912_2.png) [@stevejgordon](https://discuss.elastic.co/u/stevejgordon)\
**Post date:** [March 25, 2024, 10:08pm UTC](https://discuss.elastic.co/t/monitoring-apps-which-runs-below-net-5/356101/2 "2024-03-25T22:08:29Z")

</div>

Hi, @ilkerdemirci

The complexity of that page is unfortunate. It stems from the rebranding of .NET Core -\> .NET. So technically, the profiler approach should work on most versions of .NET and certainly all versions under Microsoft support.

Which .NET version(s) are not working for you, and which version(s) are working correctly? Can you also be more specific about what is not working?

You can also check the profiler logs at `%PROGRAMDATA%\elastic\apm-agent-dotnet\logs` or, if you prefer, configure a different log directory using `ELASTIC_APM_PROFILER_LOG_DIR`. The logs should include any errors that might prevent auto instrumentation from working.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 22, 2024, 10:08pm UTC](https://discuss.elastic.co/t/monitoring-apps-which-runs-below-net-5/356101/3 "2024-04-22T22:08:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
