Closed Robert-Koenig-TUD closed 3 years ago
This site is no longer being maintained. It would be best to post this question to VTK Discourse.
On Thu, Sep 24, 2020 at 11:16 PM RobertKoenig1337 notifications@github.com wrote:
Hello, I am tring to use VTK for a C# project of mine. I made a new Windows Forms Project and installed Kitware ActiViz 5.8 with NuGet. I added a new tab to the Toolbox and tried adding the "Kitware.VTK.dll" as a new Control element. When I click on "Choose item" a window pops up with 4 different tabs: .NET Framework Components, COM Components, Universal WIndows Components, WPF Components. I tried following for all three tabs. I clicked "Browse..." and navigated to the "Kitware.CTK.dll" file in following directory:
C:\Folder\ProjectName\packages\Activiz.NET.x64.5.8.0\lib\net20\
Following error pops up
The file 'C:\Folder\ProjectName\packages\Activiz.NET.x64.5.8.0\lib\net20\Kitware.VTK.dll' is not valid.
I am using Windows 10 Version 10.0.18363
x64-based machine I have Visual Studio 2019 SDK installed.
Microsoft Visual Studio Community 2019 Version 16.7.4 VisualStudio.16.Release/16.7.4+30517.126 Microsoft .NET Framework Version 4.8.03752
Installed Version: Community
Visual C++ 2019 00435-60000-00000-AA016 Microsoft Visual C++ 2019 ASP.NET and Web Tools 2019 16.7.532.28833ASP.NET and Web Tools 2019
Azure App Service Tools v3.0.0 16.7.532.28833 Azure App Service Tools v3.0.0
C# Tools 3.7.0-6.20459.4+7ee7c540e3bf19765695b1331c946ddf986d1516 C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
IntelliCode Extension 1.0 IntelliCode Visual Studio Extension Detailed Info
Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0 Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0 Microsoft Visual C++ Wizards
Microsoft Visual Studio VC Package 1.0 Microsoft Visual Studio VC Package
NuGet Package Manager 5.7.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension 1.0 ProjectServicesPackage Visual Studio Extension Detailed Info
Syntax Visualizer 1.0 An extension for visualizing Roslyn SyntaxTrees.
Visual Basic Tools 3.7.0-6.20459.4+7ee7c540e3bf19765695b1331c946ddf986d1516 Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.10.0.0 for F# 4.7 16.7.0-beta.20361.3+3ef6f0b514198c0bfa6c2c09fefe41a740b024d5 Microsoft Visual F# Tools 10.10.0.0 for F# 4.7
Visual Studio Code Debug Adapter Host Package 1.0 Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for CMake 1.0 Visual Studio Tools for CMake
Visual Studio Tools for Unity 4.7.1.0 Visual Studio Tools for Unity
Thank you very much for your help.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lorensen/VTKExamples/issues/666, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBHQO76Z24L647ZNTFD4KLSHNBBJANCNFSM4RYJJ37A .
--
Andrew J. P. Maclean
Ok, I'll do. Thnak you.
do you solve this problem now? i meet the same issue with you.
Hello, I didnt solve the problem and changed the approach of my project, sorry.
Hello, I am tring to use VTK for a C# project of mine. I made a new Windows Forms Project and installed Kitware ActiViz 5.8 with NuGet. I added a new tab to the Toolbox and tried adding the "Kitware.VTK.dll" as a new Control element. When I click on "Choose item" a window pops up with 4 different tabs: .NET Framework Components, COM Components, Universal WIndows Components, WPF Components. I tried following for all three tabs. I clicked "Browse..." and navigated to the "Kitware.CTK.dll" file in following directory:
Following error pops up
I am using Windows 10 Version 10.0.18363
Thank you very much for your help.