I'm attempting to run a WPF application using the SharpGL library. According to the docs described on the GitHub page it should be as easy as PM> Install-Package SharpGL.WPF
, but when attempting to create an OpenGLControl
in xaml like this
<Window x:Class="MapRendering.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:sharpGl="clr-namespace:SharpGL.WPF;assembly=SharpGL.WPF"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<DockPanel>
<sharpGl:OpenGLControl/>
</DockPanel>
</Grid>
</Window>
I get the following assembly reference error
Could not load file or assembly 'SharpGL.SceneGraph, Version=2.4.1.1, Culture=neutral, PublicKeyToken=27fc851303210b27' or one of its dependencies.
Now I can pull the SharpGL.SceneGraph
source from GitHub, build and add the dll by manually browsing. But why is SharpGL.SceneGraph
dll not distributed with SharpGL.WPF
? Am I missing something?