Profile Picture

Nevron.Diagram, missing connections on Windows10

Posted By Tomas Kratina Last Year
Author
Message
Tomas Kratina
Question Posted Last Year
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 5, Visits: 20
Hello,

we used Nevron as references in our project. 
Nevron.Diagram.dll
Nevron.Diagram.Shapes.dll
Nevron.Diagram.Templates.dll
Nevron.Diagram.WinForm.dll
Nevron.GraphicsGL.dll
Nevron.Presentation.dll
Nevron.System.dll


Version is old 10.1.8.12

Everything works on Windows XP, but now on Windows 8 or Windows 10 we have problems with connection lines.

https://www.nevron.com/forum/uploads/images/75eee210-72a5-4d94-97d0-9a7d.jpg

So we tried to update nevron to newver version 16.10.11.12.
All .dll files was updated, but Nevron.Diagram.Templates.dll missing in version 16.10.11.12.

Project cannot be build. Build failed with error in view.

Error20Invalid Resx file. Could not load type Nevron.Diagram.NBinaryState, Nevron.Diagram, Version=10.1.8.12, Culture=neutral, PublicKeyToken=58d0c39aedb7cb73 which is used in the .RESX file. Ensure that the necessary references have been added to your project.

.resx file is full of base64 data

Aftre open view in designer get this error

Could not find type 'Nevron.Diagram.WinForm.NLibraryView'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.


Nevron Support Team
Posted Last Year
View Quick Profile
Supreme Being

Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)

Group: Moderators
Last Active: 1 days ago @ 8:33 AM
Posts: 2,593, Visits: 2,279
Hi,

The latest version of Nevron Diagram for .NET may contain some new or changed properties and that is why the state from the old version of the diagram serialized by the .NET designer may not be compatible with the new one. We recommend you delete the whole binary state declaration in the designer and configure your drawing view and drawing document programmatically via code and not through the designer. Thus you will be able to update Nevron Diagram assemblies at any time without any issues.

After you remove the binary state, please compile and run your project and let us know if it works as expected.

The "Templates.dll" and the "Visio.dll" assemblies have been merge to the diagram assembly in the latest version of Nevron Diagram for .NET, so you do not need to reference these assemblies in your project anymore.

Best Regards,
Nevron Support Team



Tomas Kratina
Posted Last Year
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 5, Visits: 20
Ok, now I have problem with license. For development I downloaded trial version of Nevron. Build now failed on 

Error20Unable to resolve type 'Nevron.Diagram.WinForm.NLibraryView, Nevron.Diagram.WinForm, Version=10.1.8.12, Culture=neutral, 

In licenses.licx, there are still lines with Version=10.1.8.12. How to solve this with trial version?

Tomas Kratina
Posted Last Year
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 5, Visits: 20
In licenses.licx are following lines:

Nevron.Diagram.WinForm.NDrawingView, Nevron.Diagram.WinForm, Version=10.1.8.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48
Nevron.Diagram.WinForm.NLibraryView, Nevron.Diagram.WinForm, Version=10.1.8.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48
Nevron.Diagram.WinForm.NPanAndZoomControl, Nevron.Diagram.WinForm, Version=10.1.8.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48


After rewrite Version to 16.10.11.12 builder throw errors:

Error1The type or namespace name 'Nevron' could not be found (are you missing a using directive or an assembly reference?)


Nevron Support Team
Posted Last Year
View Quick Profile
Supreme Being

Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)

Group: Moderators
Last Active: 1 days ago @ 8:33 AM
Posts: 2,593, Visits: 2,279
Hi,

You can delete the "licenses.licx" file. It should get automatically generated with the correct assembly information.

Best Regards,
Nevron Support Team



Tomas Kratina
Posted Last Year
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 5, Visits: 20
After delete licenses.licx
Error20The type or namespace name 'Nevron' could not be found (are you missing a using directive or an assembly reference?)

If I changed version in licenses.licx to 16.10.11.12 same error. 

Nevron.Diagram.WinForm.NLibraryView, Nevron.Diagram.WinForm, Version=16.10.11.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48
Nevron.Diagram.WinForm.NLibraryBrowser, Nevron.Diagram.WinForm, Version=16.10.11.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48
Nevron.Diagram.WinForm.Commands.NDiagramCommandBarsManager, Nevron.Diagram.WinForm, Version=16.10.11.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48
Nevron.Diagram.WinForm.NPanAndZoomControl, Nevron.Diagram.WinForm, Version=16.10.11.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48
Nevron.Diagram.WinForm.NDrawingView, Nevron.Diagram.WinForm, Version=16.10.11.12, Culture=neutral, PublicKeyToken=8232c9976c3abc48



Tomas Kratina
Posted Last Year
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 5, Visits: 20
I changed target framework to .NET Framework 4.6.1 and build succeeded



Similar Topics


Reading This Topic