.net core reference iusse
See original GitHub issueI’m trying to port a .net framework app to .net core (3.1), so I get the packages from nuget helixtoolkit, helixtoolkit.core.wpf and helixtoolkit.core.sharpdx. But the regefence in xaml, that I copied here: http://docs.helix-toolkit.org/en/lat...t-to-your-xaml is not correct. errors desappear if I reference xmlns:HelixToolkit=“http://helix-toolkit.org/wpf”, but app not show anything and crash. What am I missing? here the xaml:
<UserControl x:Class="UCGraph3D"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:MyApp"
xmlns:HelixToolkit="http://helix-toolkit.org/wpf"
mc:Ignorable="d"
d:DesignHeight="685" d:DesignWidth="1277" Background="#ff323130">
<Grid>
<HelixToolkit:HelixViewport3D Name="myviewport" ZoomExtentsWhenLoaded="True" Background="Black" ShowCoordinateSystem="True" >
<!-- Remember to add light to the scene -->
<HelixToolkit:SunLight/>
<ModelVisual3D>
<ModelVisual3D.Content>
<GeometryModel3D x:Name="myGeometryModel3D">
<GeometryModel3D.Geometry>
<MeshGeometry3D x:Name="myMeshGeometry3D"
TextureCoordinates="0.5 0.8 2 3 ">
</MeshGeometry3D>
</GeometryModel3D.Geometry >
<GeometryModel3D.Material>
<MaterialGroup>
<DiffuseMaterial>
<DiffuseMaterial.Brush>
<LinearGradientBrush StartPoint="0,0.5" EndPoint="2,2">
<LinearGradientBrush.GradientStops>
<GradientStop Color="green" Offset="0.1" />
<GradientStop Color="yellow" Offset="0.5" />
<GradientStop Color="red" Offset="1" />
<GradientStop Color="Blue" Offset="2" />
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</DiffuseMaterial.Brush>
</DiffuseMaterial>
</MaterialGroup>
</GeometryModel3D.Material>
</GeometryModel3D>
</ModelVisual3D.Content>
</ModelVisual3D>
<HelixToolkit:GridLinesVisual3D x:Name="mygridX" Width="10" Length="10" MinorDistance="1" MajorDistance="1" Thickness="0.01" Fill="#FF03F921" LengthDirection="1,0,0" Normal="0,0,1"/>
<HelixToolkit:GridLinesVisual3D x:Name="mygridY" Width="10" Length="10" MinorDistance="1" MajorDistance="1" Thickness="0.01" Fill="#FF03F921" LengthDirection="0,0,1" Normal="1,0,0"/>
<HelixToolkit:GridLinesVisual3D x:Name="mygridZ" Width="10" Length="10" MinorDistance="1" MajorDistance="1" Thickness="0.01" Fill="#FF03F921" LengthDirection="1,0,0" Normal="0,1,0" />
<HelixToolkit:BillboardTextVisual3D Position="11 0 0" Text="X" Foreground="Yellow"/>
<HelixToolkit:BillboardTextVisual3D Position="0 11 0" Text="Y" Foreground="Yellow" />
<HelixToolkit:BillboardTextVisual3D Position="0 0 11" Text="Z" Foreground="Yellow"/>
</HelixToolkit:HelixViewport3D>
</Grid>
</UserControl>
```
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Net Core Nuget reference issue - visual studio
I have multiple .net core projects. My project structure is multiple independent library projects each is having different nuget package ...
Read more >Troubleshoot .NET Framework targeting errors
This article provides resolutions for MSBuild errors that might occur because of reference issues.
Read more >MSB3644: The reference assemblies for 'version' were not ...
This error occurs when the .NET reference assemblies aren't found for the version of .NET that a project requests.
Read more >Can't add project reference FROM .NET Core library TO . ...
I have a similar problem. I have created an ASP.NET application using EF Core. I have a DataLayer which contains the EF DbContext...
Read more >assembly reference is removed from project after running ...
Added AutoMapper to a project library (.NET Core class) which is referenced to an asp.net core 2.0 web app and whenever I run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You may want to overlap a line geometry to show the lines on top of your geometry. Or dynamically generate a texture with lines and assign to the geometry.
I have a last question: I made a small app that take a binary log (basically an array of byte), and draw a 3d chart with it like the first picture, by calculating the triangles needed to draw it. Because it’s a chart, I would like to see the lines between this values, like I sketch with paint in the second picture. Is it possible? Which is the best way to go with? Next step would be implement a sort of manipulation of the chart values, like user select a point and change it. If I correctly understand I need to use the hit test for this, right?