How do I import webkit to mono - mono

Im trying to build a GTK app in mono but im not sure how i would get WebKit it into my project
using System;
using Gtk;
using GtkSharp;
using WebKit;
I get and error at the using WebKit; part that states
The type or namespace name WebKit could not be found. Are you missing a assembly reference
I fully understand the error and what it means, however im not sure how to resolve it and get WebKit into my GTK project
Small notice but im new to mono and don't quite know where everything is
Im running Fedora 36 with MonoDevelop 5.10

Related

Task could not find "AxImp.exe" using the SdkToolsPath under Ubuntu Linux with Mono project and Rider

I have a .NET Framework (not .NET Core) C# Selenium project. It works under Windows 8.1/10.
I recently installed Rider in my new Ubuntu 18.04 instance. I installed Mono project using this guide but Rider shows 2 problems, after opening it up:
15:01 Project 'selenium_IALB' load finished with warnings: Object reference not set to an instance of an object
15:01 Project 'MICE' load finished with warnings: Task could not find "AxImp.exe" using the SdkToolsPath "/usr/lib/mono/4.5/" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\4.7.1\WinSDK-NetFx40Tools-x86". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed at (2686:5)
I found few questions answered here of how to resolve that problem on Windows for example but it says to install Windows SDK... which is not allowed on Ubuntu i guess (as i found).
As it is shown on the screen below, i have problems with some classes (yellow warning sign). In code it looks like they are missing.
The question is if it is normal that i have that "AxImp.exe" problem under Ubuntu and if yes, how can i solve it? It also does not work on Linux Mint.
EDIT: I resolved the issue of missing reference to those "yellow signed" classes. I've just change their names in the solution folder (ie. helpers.cs -> Helpers.cs). However, missing "AxImp.exe" file is still a problem and the solution does not compile.

openni_grabber.h not found while using PCL

I'm using PCL to connect to a Kinect camera. Right now, I'm just trying to build the OpenNi Grabber tutorial found here. While building I'm getting an error that openni_grabber.h is not found.
fatal error: 'pcl/io/openni_grabber.h' file not found
#include <pcl/io/openni_grabber.h>
I checked the directory in question and the file is indeed missing, but I'm not sure why. Is there an install option that I'm missing?
I have installed OpenNi using Homebrew and this formula. I am using the Kinect v1.
Thank you!

Having trouble to configure the php_crack.dll‏ with Phalcon

I'm new to this Phalcon framework and just started working on it.
It is configured on XAMPP. Phalcon developer Tools also has been setup.
XAMP 1.8.3 for windows 7, 32 bit
PHP 5.5.9
Compiler MSVC11 (Visual C++ 2012)
Architecture x86
But, now, I want to configure the php_crack.dll but constantly getting below error.
httpd.exe - Entry Point Not Found
The procedure entry point php_checkuid could not be located in the dynamic link library php5ts.dll.
OK
Warning
PHP Startup: Unable to load dynamic library 'D:\xampp2\php\ext\php_crack.dll' - The specified procedure could not be found.
OK
Kindly help me out and let me know what I m doing wrong.
Thanks in advance
Regards,
Virda
After wasting a lot of time I found a solution of this problem.
The problem was the php_crack.dll and php version was mismatch, when I downloaded the correct version of crack.dll then the error resolved.
To download the correct version of crack.dll
open the below link and click on DLL under windows section.
According to php version download the file.
http://pecl.php.net/package/crack

Mono 3.2.3 + Ubuntu 12: .Net 4.5 Unavailable?

I used the following instructions to install Mono on a clean install of Ubuntu 12.
http://forums.osgrid.org/viewtopic.php?f=14&t=4625
When I run mono --runtime=v4.5 Test.exe, I get the following error:
WARNING: The runtime version supported by this application is
unavailable. Using default runtime: v2.0.50727.
If I set the runtime to v4.0, the program will run initially until it reaches a .Net 4.5 only method, specifically Monitor.IsEntered, causing a MissingMethodException to be thrown.
I do have a directory called /opt/mono-3.2.3/lib/mono/4.5.
How do I fix Mono so I can run this program under the 4.5 framework?
It looks like you found the answer: Mono hasn't implement Monitor.IsEntered() yet.
It's interesting why this TODO is not evident from the Mono Class Status page, though...

Selenium WebDriver: Could not load file or assembly 'Newtonsoft.Json Version=4.0.2.0'

Selenium's webdriver gives me that error when trying to use the Chrome or IE driver.
I have got Selenium via Nuget, so it should be giving me the correct libraries. However, it seems to want a reference to Newtonsoft.Json 4.0.2.0 rather than 4.0.3 which is the one currently inside the NuGet package.
How do I get round this issue?
UPDATE
I got this working, in part trying to fix another problem. See my other post:
Selenium WebDriver - FirefoxDriver error: Failed to start up socket within 45000
It's the Nuget package. Selenium is relatively new to Nuget, and the team has been having problems building a package that can be used easily. The primary .NET developer has said that the 2.8.x Nuget package will be better. That's due out sometime this week.
you need to use x86 not ANY CPU, then will work. Your project is set to ANY CPU. Change it to x86.