Trying to install Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows 16.4.0.46 into a project that targets '.NETFramework,Version=v4.5.2',

Trying to install Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows 16.4.0.46 into a project that targets '.NETFramework,Version=v4.5.2', but getting error 


Could not install package 'Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows 16.4.0.46'. 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.


1 Reply

AA Akshaya Arivoli Syncfusion Team February 27, 2020 10:08 AM UTC

Hi Riya, 

Thank you for contacting Syncfusion support. 

Based on the provided details, we found that you are trying to install the PDF Viewer ASP.NET Core NuGet to the .Net framework 4.5.2 project, so the reported error occurred. Kindly install the following packages in your.Net framework sample from nuget.org 

  • Syncfusion.EJ2.MVC5
  • Syncfusion.EJ2.PdfViewer.AspNet.Mvc5


We have also created simple PDF Viewer MVC sample shared the same in the below link, 


Please try it and revert us with more details and modified sample if you have any concerns on this 

Regards, 
Akshaya 


Loader.
Up arrow icon