This project is read-only.

VB Code for Plugins

Oct 9, 2014 at 10:46 AM
Edited Oct 10, 2014 at 9:23 AM

is it possible to use VB code projects instead of c# code project.

The shell was not able to start the Activator in my library project.

Here is the sample Activator.vb code:
Imports System.Collections.Generic
Imports System.Linq
Imports System.Web
Imports UIShell.OSGi
Imports BusinessLayer
Imports Autofac

Namespace Plugin.PaymentData.Management

    Public Class Activator
        Implements IBundleActivator

        Public Sub Start(context As IBundleContext) Implements IBundleActivator.Start

        End Sub

        Public Sub [Stop](context As IBundleContext) Implements IBundleActivator.Stop

        End Sub

    End Class

End Namespace
Structure of the manifest.xml file.
<?xml version="1.0" encoding="utf-8"?>
<Bundle xmlns="urn:uiosp-bundle-manifest-2.0" Name="Plugin.PaymentData.Management" SymbolicName="Plugin.PaymentData.Management" Version="" InitializedState="Active">
  <Activator Type="Plugin.PaymentData.Management.Activator" Policy="Immediate"/>
    <Assembly Path="bin\Plugin.PaymentData.Management.dll" Share="true"/>
    <Assembly Path="bin\BusinessLayer.dll" Share="false"/>
Oct 28, 2014 at 9:33 AM
You may check out the log.txt file in your application bin folder and find why