Install custom MessageProcessor in Anypoint Studio - mule

I've developed a custom message-processor. Is it possible to install this such that it can be used in AnyPoint Studio's Flow GUI?
ie. That it is included with all the other components in the list on the right of the window.

Only if you build it using DevKit: http://www.mulesoft.org/documentation/display/current/Anypoint+Connector+DevKit
You can add custom processors to a module that can be packaged and installed into Studio.

Related

Update Tools For Apache Cordova in Visual Studio

I am new to apache cordova and i'm trying to build a client app for my asp.net mvc website, using apache cordova in visual studio.
but visual studio 2017 tools for apache cordova installs cordova 6.3.1 and some plugins like onesignal can't work on it.
Could you please help me?
That is a known issue but it can be fixed following these steps:
Assuming you have already installed Cordova 7.1.0 gobally using npm install -g cordova#7.1.0
In Visual Studio 2017 go to File > New > Project > Blank App (Apache Cordova)
Open config.xml in View Code mode and find this:
<vs:toolsetVersion>6.3.1</vs:toolsetVersion>
<engine name="android" spec="5.2.1" />
Replace with:
<vs:toolsetVersion>7.1.0</vs:toolsetVersion>
<engine name="android" spec="6.3.0" />
Where 7.1.0 is your global Cordova version.
Note how cordova-android has been increased to 6.3.0 as well.
Feel free to try using cordova-android 6.4.0 or cordova-android 7.0.0, however they may or may not introduce some issues (with Gradle for example). I have tested 6.3.0 but certain plugins may require a newer version.
Select Device as target.
Now Build > Build Solution
Save, close and reload the project. When you access config.xml in designer mode you'll see Global Cordova 7.1.0 as the selected toolset.
In order to build you may need to use the external Android SDK Build Tools (API 26) instead of the ones provided by Visual Studio (API 25).
Use the Android SDK Manager to manage versions, no need to get Android Studio for this.
Remember to follow the guidelines from Microsoft when changing the CLI on existing projects. However I strongly recommend creating a new one and then importing your files and adding your plugins to avoid potential problems.

What is NuGet.CommandLine packagerererence good for?

In *.csproj of my aspnetcore app I see:
<PackageReference Include="NuGet.CommandLine" Version="4.1.0" />
What it is good for?
If my environment hadn't NuGet CLI I wouldn't be able to restore this package. When I have it I don't need the package, do I?
What it is good for?
TLDR, it is good for bringing NuGet capabilies to Linux and Mac.
According to docs:
The NuGet CLI is the command-line utility for Windows that provides
all NuGet capabilities; it can also be run on Mac OSX and Linux using
Mono, or through the .NET Core CLI (dotnet).
So it is just cross-platform command-line version of NuGet Package Manager in Visual Studio, which is Windows only. So if you using Visual Studio in Window you basically don't need it, you can just use built-in NuGet Package Manager. But if you want use NuGet capabilities in Linux or Mac, or you have just Visual Studio Code in Windows (without Visual Studio 2017) you definitely need this package.

Creating New Wix Project In Visual Studio 2017 throws an error

I have installed Visual Studio 2017 Community Edition. Installed it without any specific things selected like C++ development or Windows development etc. After that I have installed Wix through wixtoolset, which downloaded and installed wix tool set components. After that I have installed the Wix ToolSet extension for Visual Studio 2017. Restarted the Visual Studio and trying to create a new project through File -> New -> Project - WiX Toolset -> Setup Project.
It gives the error and does not let me create the project. I am totally new to WiX and have just a little knowledge about Visual Studio.
Initially, I did not select any of the Installation workloads for VS17 and installed it just to make the installation faster.
Through the comments from Azaz, I came to know that NuGet Package Manager is required to install the packages on demand. But since I could not see the NuGet option at all, I tried to install it with Extensions and updates but it did not work. I did a bit of research and found that at least one .Net development workload is required at a time of VS17 installation which will make the NuGet install automatically in VS17.
So I uninstalled the VS17, WiX at all and removed them from the system. Then Installed VS17 with certain workload packages as shown in the below screenshot.
After that I installed WiX and an extension for the same in VS17. i.e. Votive2017.vsix.
I restart the VS17 and now I am able to create project for WiX.
Looks like there is something I missed somewhere in installing which did not let me install required DLLs and GUID feature, which were important for creating project templates.
Sharing the steps I followed in order to fix the same issue that I found with Visual Studio 2019, as I also installed it without any workload. I was also looking at a reduced installation.
The steps I did in order to fix the template error, install the following individual components:
.NET 5.0 Runtime
.Net Core 3.1 Runtime
.NET SDK
C# and Visual Baisc Roslyn compilers
ClickOnce Publishing
Microsoft Visual Studio Installer Projects
Hope it helps someone else. I have to point out that the comments before helped me understand the issue. But, for example, I couldn't even open the NuGet command line.

Install Visual Basic in VS2015

I want to install only the visual basic. How can I customize my installation excluding the additional features of VS2015? I have tried the custom installation but I am lost on what is the pre requisite applications needed to make VB projects.
It seems that by default, C#/VB, Web and some Desktop features are included.
Visual Studio allow you to custom this installation. However A Custom installation automatically includes the components that are in a Default installation.
This is from the msdn website.
You can't only install visual basic, sorry.
EDIT :
Even if you must install C#, you can specify your default environment setting to Visual Basic.
I think you just can't because is in the "pack" with c#

Is there any way to create a windows installer package in vb.net using tools from microsoft?

I want to create a windows installer package using visual studio. It is my understanding that there was a simple way to do this in vb6, you could add an installer like you can add a new form.
How can I do this in vb.net? I downloaded and installed the Windows SDK from http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en because it said somewhere that it could create installer packages and had tools to do so for .net, but no such luck.
I would prefer not to use NSIS or Inno Setup for this.
Is there any way to get the same functionality that you could have in vb6 with the installer packages?
Thanks, I feel I am missing an important step here...
EDIT: I am using visual basic 2008 express, not professional. I dont have "Setup and deployment" or anything like that under my template options.
You could create a .msi installer. Have a look at this question/answer for some more details. How can I create an MSI setup?
Edit: Others have mentioned WiX, so here's a link to a tutorial showing how to use it
There is a setup & deployment project type under other when you go to create a new project in VS Standard edition and higher. If you have express it's not available.
Here's some info on Setup & Deployment projects:
http://msdn.microsoft.com/en-us/library/wx3b589t.aspx
Tutorial:
http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx
File -> New Project -> Other Project Types -> Setup and Deployment
Will allow you to add a setup project to any Visual Studio solution.
In Visual Studio.,Net you would create a Setup Project (or Setup Project Wisard) to create an installer.
Tutorial Here: http://www.dreamincode.net/forums/showtopic58021.htm
Because the express version doesn't include the Setup and Deployment project type, you'll probably find it easier to use a third party tool such as www.advancedinstaller.com - the free version is probably sufficient for your needs.