PTMagic icon indicating copy to clipboard operation
PTMagic copied to clipboard

.NET Errors

Open HojouFotytu opened this issue 4 years ago • 2 comments

Occasionally, users have problems with PTMagic finding the correct version of .NET installed.

"Error initializing the dependency resolver: A fatal error was encountered, missing dependencies manifest at: C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\3.1.3\Microsoft.AspNetCore.App.deps.json"

OR

"Monitor/Monitor.dll 'dotnet' is not recognized as an internal or external command, operable program or batch file."

Or some other error involving .NET...

These errors are most likely due to corrupt installations of different versions of .NET and either windows is mis-reporting or PTM can't find what it needs.

The best solution seems to be a complete uninstall of all versions of .NET, and then install the latest version.

https://docs.microsoft.com/en-us/dotnet/core/additional-tools/uninstall-tool?tabs=windows

HojouFotytu avatar Apr 20 '20 15:04 HojouFotytu

This issue was experienced by myself. As explained in the above post the issue appears to have arose from .NET conflicts. After uninstalling all of my installations of .NET using Revo Uninstaller, restarting my pc and then re downloading .NET 3.1.3 the conflicts resolved themselves. At least this was how it was fixed in my case.

Note: If you do this you may need to use something like CCleaner to check your registry in case there're any files deleted in the process that need to be restored.

CryptoGlyph avatar Apr 20 '20 17:04 CryptoGlyph

Revo Uninstaller is a great tool for removing all traces of applications when uninstalling, which the normal Windows uninstaller leaves behind.

HojouFotytu avatar Aug 16 '20 23:08 HojouFotytu