Create c++ Library in Eclipse for using in Visual Studio 2012 - eclipse

I coded a c++ Library in Eclipse. Now I wanna add a GUI, which I want to make with Visual studio. Although I'm using the VS Compiler in Eclipse I cannot transfer the code from Eclipse 1:1 to Visual Studio.
Is there a way to create a DLL or sth. else in Eclipse which I can import in Visual Studio?
Thanks
Florian

Related

VS Code editor intellisense doesn't work with UnityEngine.UIElements namespace

I can't get any types under UIElements to be picked up by Omnisharp when using VS Code or Vim. I've tried with a minimal project (clean 3d template) with Unity version 2020.3.20f1, Visual Studio Code Editor (Unity package) version 1.2.4, UI Toolkit version 1.0.0-preview.18. I've followed the guide here to get the correct compilation order of packages.
Build still works fine, but the editor's intellisense throws squiggles under all UIElements types (e.g. VisualElement, UIDocument).
Change the external script editor (Preferences > External Tools) from Visual Studio Code to Visual Studio Community 2019, then regenerate project files. This seems to work around whatever the issue with Unity is.
Downgrade to Visual Studio Code Editor v1.2.3. I have the same issue with .4

Mercurial plugin for visual studio code

I'm developping a project with React.
The IDE I use for React (ES6) is Visual Code and the version control is Mercurial Hg.
(I'm in Windows and I get issue with Atom, that's why I use Visual Code).
My problem is I cannot find a plugin for Visual Code to manage the source control with Hg.
Is anyone know a plugin and can help me ?
As #mrcrowl mentionned in his comment, this is the plugin I was loking for
https://marketplace.visualstudio.com/items?itemName=mrcrowl.hg
Visual Studio Code was designed to be directly integrated with Git, so currently there aren't any resources for Visual Studio Code that add Mercurial integration, however, many people have already expressed their interest in the idea on Visual Studio Code's UserVoice.
If you really want to, you could always create a simple plugin for Visual Studio Code that adds a couple commands to the editor, which could then be used to help you control the Mercurial CLI.

Visual Studio 2012 Add-In - How to share/publish/deploy it?

I have been working on a Visual Studio solution template to be used internally and have been developing this in a Visual Studio 2012 Addin.
The addin is added to the tools menu of Visual Studio and all works fine.
The only question now is, how can I share this tool between my team?
I have added a VSIX project, which in turn references the Solution Template project (added as an asset) but will this alone do it?
I can't see how installing the VSIX I created is manually going to add my add-in to the Visual Studio Tools window.
Can anyone offer any advice as to how I can do this or is there some other way to deploy/publish a Visual Studio addin?
I have found a tutorial which is similar, but I just want to use the VSIX to install my add-in to Visual Studio tools menu, rather than add it as a project template. I have looked around and there doesn't seem to be much information on how to deploy your addin.
It seems addins are soon to be deprecated with the next release of Visual Studio, although I have found this article on how to convert an addin to a VSPackage.
And with a VSPackage I will be able to deploy using VSIX.
There are also some tutorials on VSPackages here.

Convert Nsight Eclipse project to Visual Studio

I have a CUDA project in Nsight Eclipse under Linux, but one of the machine where I have to test my code uses Windows 8 with Visual Studio 2012 Professional. How can I convert my project from the Eclipse edition to the Visual Studio edition? Or if it is not possible, at least how can I compile to Windows application from Nsight Eclipse under Linux?
You cannot do either. You will need to create a Visual Studio project on Windows using your existing source files.
Unless you are using some Linux-specific libraries in your host code, you should not run into any problems on Windows.

Why can't VS create a VSPackage project with a Custom Editor?

I am trying to create a VSPackage project (using the Visual Studio 2010 SP1 SDK), which works perfectly when I don't add a Custom Editor. But when I do, it's stuck at "Creating project VSPackageX..." and Visual Studio is basically unresponsive.
There's nothing in the Event Log and I don't know where the log files for Visual Studio are located.
Any ideas on how to solve this?
I switched off ReSharper (Tools -> Options -> ReSharper -> Suspend), and this solved the same problem for me.