Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have built this WPF application in .NET Framework V4.8. And helixtoolkit.dll and helixtoolkit.WPF.dll are both dll V2.23.0.

Now converting this WPF application to .NET Framework V4.5 I get the following error.
Even though all the namespaces and dlls are there, this error occurs.

i get error in this line :- <helix:HelixViewport3D x:Name="viewPort3d">
  
and i get this Error:- The tag 'HelixViewport3D' does not exist in XML namespace 'http://helix-toolkit.org/wpf'. Line 10 Position 26.


What I have tried:

XML
<Window x:Class="Display3DModel.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:display3dmodel ="clr-namespace:Display3DModel"
        xmlns:hx="http://helix-toolkit.org/wpf/SharpDX" 
     xmlns:helix1="http://schemas.microsoft.com/netfx/2009/xaml/presentation"
		xmlns:helix="http://helix-toolkit.org/wpf"
        Title="SWELL"  Height="700" Width="900">
	
	 <helix:HelixViewport3D x:Name="viewPort3d">
        <helix:HelixViewport3D.DefaultCamera>
            <PerspectiveCamera FieldOfView="61" NearPlaneDistance="0.001" Position="10,10,10" LookDirection="0,0,-1" UpDirection="0,1,0" />
        </helix:HelixViewport3D.DefaultCamera>
        <helix:SunLight/>
        <!--<helix:GridLinesVisual3D/>-->
        <helix:BoundingBoxVisual3D  BoundingBox="{Binding SelectedObject, Converter={StaticResource BoundsConverter}}" Diameter="0.2"/>
    </helix:HelixViewport3D>
</Window>
Posted
Updated 8-May-23 2:31am
v2

You need to check the documentation. Rolling back to a previous version can introduce these types of issues. Contact the author(s) of the library for more information: Issues · helix-toolkit/helix-toolkit · GitHub[^]
 
Share this answer
 
Why on earth are you going backwards in .NET versions?

If you rollback the version of the .NET Framework you're using, you're going to have to possibly use older versions of 3rd party libraries you're using along with it, like that HelixToolkit that you're using. The HelixToolkit is what is throwing the error. It may not be supported on the older framework.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900