alex-piccione / JSON-Tree-Viewer

Displays a JSON file in a Windows Form control.
18 stars 7 forks source link

Net framework 4.5 #1

Closed Lechus closed 5 years ago

Lechus commented 5 years ago

Hi, Could you downgrade Net Framework required to 4.5.2 so it could be installed in older apps?

Thank you.

alex-piccione commented 5 years ago

Hi, I have a Windows Form project to test the library. I changed the .Net Framework of that project to 4.5.2 (It was 4.6.1 as the library itself). The project references the library and needs Newtonsoft.Json.

It runs without problems, Newtonsoft.JSON and the library are both referenced using NuGet and this is the package.config:

<packages>
  <package id="Alex75.JsonViewer" version="0.2.6174.32328" targetFramework="net452" />
  <package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
</packages>

Net 4 5 2 compatibility

I hope this solve your case.

Alex

Lechus commented 5 years ago

Yes, can change config to 452, but does not work when using nuget package. Found other solution, so not a problem anymore. Cheers