I want to develop an VST plugin in C#. Looking around the internet there are not that many libraries in .NET that deal with VST plugins. The only thing I found is the VST.net library (https://vstnet.codeplex.com/). This thing hasn't been updated in a while.
The problem: I am having trouble setting it up the basic project. There are project templates for that project which are done for VS 2008/2010 which is .vsi file. I tried looking around for ways to open it in the latest VS (2017) but I was not successful.
Is there a way to open these in Visual Studio 2017 or should I have to install the older version of Visual Studio to make this work? Or if you have a suggestion for another library/extension that will help me with the development I would appreciate it.
Comments: I am aware that there is better support in C++ for this type of thing but my additional problem is that I have a project in C# that I would like to use and not be forced to rewrite the entire code base.
Thank you in advance for looking into this issue.
I am using VS 2013 (Express Version) and I want to create a WPF user Control Library project. But I am not able to find the template in my installed templates list. If I use Winforms, I am able to build a DLL out of my Winforms Application Project just by changing the Output type as "Class Library". But it is not happening in WPF and it is throwing errors if I do so. Is this the correct method of doing it or am I going wrong?
And in the Create New Project dialogue window, I am not able to find the .NET Framework selector drop down. After creating the project only I am able to change the .NET framework version by going inside the properties of the project.
Kindly help me to get out of this. Thanks in advance.
I have been working on this exact same problem for hours this morning. Here is what I think I have learned:
With Visual Studio Express 2013, it is by design that the WPF User Control Library template is not available for making a New Project. This is because it is the free Express version.
With the Express version, you don't have a "devenv.exe" for trying the "devenv /installvstemplates" to "fix" things. It is, instead, called (just a moment while I look this up again...) "WDExpress.exe" and will be located (if you have default location) in the "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE" directory. BUT - this won't help you. It won't fix your problem, because, as I mentioned, your Express installation is designed to not have that template available for New Project, so your "fix" won't put it there. I know this because this is what I tried myself. (Also, note that the instructions for doing this tell you to uninstall any extensions you've installed before doing it. And then, of course, if you still want them you have to reinstall them. Like I still have to do, incidentally.) I'm letting you know all of this so you don't go through the headache I'm having.
Note that I have not done this yet, so this is somewhat hypothetical on my part, but is based on my research on the Internet so far - Your solution is to create a WPF User Control Library manually [but now see UPDATE below]. (No, I don't know how to do this yet. I got into this in the first place, because I'm a WPF novice - just started working with it a few days ago - and late last night I got this great idea to add a "spinner" progress indicator to my "WPF play/learning project" I'm working on, and found a couple of relatively easy-to-work-with samples on the Internet - both of them are a WPF User Control Library - and at first I wanted to use the copy-and-paste to put the code in. But then I discovered... well, our mutual problem, because I'm using Visual Studio Express 2013. No such template under New Project. And literally at the tail end of my about-to-throw-in-the-towel, I'm googling and your post, Dhivakar, is already showing up with the right Google search.) So I haven't finished my research yet, but my next step is to learn exactly how to create a WPF User Control Library manually (the code and various project property settings), and then I can just save a WPF User Control Library skeleton for future use and document the details.
UPDATE: This guy totally has the solution for Express versions. I have followed his steps and it works great. The only additional piece of information I would add is that in my version (VSE2013), after you've created your WPF User Control Library template, when you open Visual Studio again and use File -> New Project, my selection in the tree (for a Windows app) came up under Templates -> Visual C# -> Windows (which is what I've been using). I did not see my template showing up there, after I created it, and I thought, "Great! Another piece of advice that doesn't work." But then I clicked up one on the "Visual C#" parent - and there was the template!
Here you go:
How to add a WPF control library template to Visual C# Express 2008
https://dotupdate.wordpress.com/2007/12/05/how-to-add-a-wpf-control-library-template-to-visual-c-express-2008/
Yes, it works this way for VSE2013 too.
UPDATE 2: I'm not absolutely positive about this, but I think he missed one little piece. In his step #4 he says to delete Window1.xaml and App.xaml. Maybe this didn't apply with VSE 2008, but in VSE 2013 there is also the App.config file which I believe is extraneous for our purpose. So you can delete App.config as well. As I said, I'm not absolutely certain about this yet, but I noticed that file in the project when I added a WPF User Control Library project to my solution, and I deleted it, and the solution compiled okay.
Try running devenv with the /installvstemplates switch, from https://msdn.microsoft.com/en-us/library/vstudio/ms247116(v=vs.100).aspx
If this doesn't work, browse to C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ItemTemplatesCache\CSharp\WPF\1033\WPFUserControl (this could change dependent upon your installation directory), open the .vstemplate file in a text editor, and make sure the setting is set to true, then try running devenv with the switch again.
Hope it helps.
I'm working with the Saxon library in .net. I recently submitted a report that there may be a bug, but I'd like to work with the source code myself. I downloaded the code from http://sourceforge.net/projects/saxon/files/Saxon-HE/9.5/saxon9-5-1-1source.zip/download.
The download is a zip archive with three folders: api, cmd, and net. The first two contain C# code files and the third contains Java codes files. I want to compile this code to .net, and I understand that it uses a library called IKVM to bridge the gap between .net and Java.
However, coming from a .net background, I don't even see a project file that I can open with Visual Studio. How am I supposed to compile this source?
In the saxon-resources download at
http://sourceforge.net/projects/saxon/files/Saxon-HE/9.5/saxon-resources9-5.zip/download
you will find a "build" directory containing Ant build scripts. You need to run build.xml with target "product-hen". Since the build scripts are designed to build the entire set of Saxon products, you may need to edit out parts that aren't needed. You will also have to make sure the dependencies are satisfied, in particular of course IKVMC itself.
Building Saxon, especially on .NET, is not for the faint-hearted. It can't be done within Visual Studio because VS does not support Java or IKVMC.
This is for C#.
I know that I can include a COM File as a resource in my executable and then unpack it into the current directory when its needed. A com file such as LibCurlNet.
What I would like to know is if Visual C# 2010 Express provides an automated way of doing this.
Such as a simple option that I can select. I do not mean using the publisher.
I don't even think there is an automated way in Visual Studio Professional/Ultimate for doing this, let alone VS Express. You probably need to use a more manual approach, such as the one described here (but I guess you already knew that).
There is a tool for packing .NET DLL:s and native DLL:s called NETZ. Granted, I have not tried it myself, but maybe this tool can be of some help to you?
I have two projects in my solution one a silverlight library and the other a wpf control library, ive added the sources as a link from my silverlight library to my wpf library and after a bit of refatoring hit a road block, my wpf library project does not want to build the generated files needed for the code behind to recocnize the named elements from the xaml sources (which where added as links), does anyone know how to prompt visual studio 2008 to actually perform the gen operation on my linked sources?
Stab in the dark - but have you renamed a namespace or class name?
Make sure all the code/xaml namespace/class names are the same in wpf and silverlight versions.