Evil-DICOM icon indicating copy to clipboard operation
Evil-DICOM copied to clipboard

NuGet package does not install on .NET v4.5.2

Open dhaddad355 opened this issue 4 years ago • 3 comments

It seems as if EvilDICOM 2.0.6.5 is not able to add package on .NET v4.5.2.

Error Could not install package 'EvilDICOM 2.0.6.5'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

dhaddad355 avatar Apr 07 '20 13:04 dhaddad355

You need to install the .NET Framework 4.7.2 Development Tools because evilDICOM 2.0.6.5 requires NetFrameWork Version 4.7.2 to work.

image

you can just download and install the Framework 4.7.2 Developer Pack: From this link: https://dotnet.microsoft.com/download/dotnet-framework/net472 (the location could change in the future).

Then, just change the target framework for your app: Solution Explorer -> right Click -> Properties -> Application -> Target framework from the pop-up list.

image

You can install evilDicom now

jazb83 avatar May 27 '20 21:05 jazb83

But Esapi and varian eclipse seemed only worked on version before 4.6.

Erhushenshou avatar Jul 14 '22 14:07 Erhushenshou

Just to provide the information, the ESAPI will work on versions of 4.7.2. This was true for ESAPIv13.7 and ESAPIv16.1. You just need to change the library targeted framework as described above.

It should be noted that single-file scripts must only contain functions within the framework version provided by Eclipse. This is because their compiler won't understand the new framework features.

crazywill32 avatar Oct 12 '22 11:10 crazywill32