DotMemoryUnitException : Profiler is not active
I have installed dotMemory Unit, and get the following error when I try to run a memory unit test:
DotMemoryUnitException : Profiler is not active
Stack trace:
at JetBrains.dotMemoryUnit.ClientController.DotMemoryUnitClient.AssertIsActive()
at JetBrains.dotMemoryUnit.Client.DotMemoryUnitProxy.get_Instance()
at JetBrains.dotMemoryUnit.Controller.TestController.TestEnd()
at NUnitTestProject1.Tests.TestMemory() in D:\meps\mfn-lib-core-cs\Solutions\NUnitTestProject1\UnitTest1.cs:line 21
My unit test is as follows:
[Test]
public void TestMemory()
{
dotMemory.Check();
}
Please sign in to leave a comment.
Hi,
Could you please provide information what .NET Framework or .NET Core version do you use?
.NET Core 3.0
dotMemory Unit doesn't support .NET Core 3.0 or later. Full list of supported frameworks is available here: https://www.jetbrains.com/help/dotmemory-unit/Supported_Unit_Testing_Frameworks.html
We plan to implement .NET Core 3.0+ support, you're welcome to vote for this feature: https://youtrack.jetbrains.com/issue/DMU-262
Hi,
New package with .NET Core 3.0 and 3.1 support is already available on nuget.org: https://www.nuget.org/packages/JetBrains.DotMemoryUnit/