Fix: Call Uninstall Plugin Hook
This commit is contained in:
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0521.1703")]
|
[assembly: AssemblyVersion("1.2.0527.1408")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0521.1703")]
|
[assembly: AssemblyFileVersion("1.2.0527.1408")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0521.1703")]
|
[assembly: AssemblyVersion("1.2.0603.1734")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0521.1703")]
|
[assembly: AssemblyFileVersion("1.2.0603.1734")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0521.1703")]
|
[assembly: AssemblyVersion("1.2.0603.1734")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0521.1703")]
|
[assembly: AssemblyFileVersion("1.2.0603.1734")]
|
||||||
@@ -8,6 +8,7 @@ using System.Threading.Tasks;
|
|||||||
using System.Web;
|
using System.Web;
|
||||||
using Disco.Services.Tasks;
|
using Disco.Services.Tasks;
|
||||||
using Quartz;
|
using Quartz;
|
||||||
|
using Disco.Data.Repository;
|
||||||
|
|
||||||
namespace Disco.Services.Plugins
|
namespace Disco.Services.Plugins
|
||||||
{
|
{
|
||||||
@@ -28,6 +29,11 @@ namespace Disco.Services.Plugins
|
|||||||
if (!File.Exists(manifestFileLocation))
|
if (!File.Exists(manifestFileLocation))
|
||||||
throw new FileNotFoundException("Plugin Manifest File Not Found", manifestFileLocation);
|
throw new FileNotFoundException("Plugin Manifest File Not Found", manifestFileLocation);
|
||||||
|
|
||||||
|
using (DiscoDataContext dbContext = new DiscoDataContext())
|
||||||
|
{
|
||||||
|
manifest.UninstallPlugin(dbContext, UninstallData, this.Status);
|
||||||
|
}
|
||||||
|
|
||||||
string manifestUninstallFileLocation = Path.Combine(manifest.PluginLocation, "manifest.uninstall.json");
|
string manifestUninstallFileLocation = Path.Combine(manifest.PluginLocation, "manifest.uninstall.json");
|
||||||
|
|
||||||
if (File.Exists(manifestUninstallFileLocation))
|
if (File.Exists(manifestUninstallFileLocation))
|
||||||
|
|||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0521.1703")]
|
[assembly: AssemblyVersion("1.2.0603.1734")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0521.1703")]
|
[assembly: AssemblyFileVersion("1.2.0603.1734")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0521.1703")]
|
[assembly: AssemblyVersion("1.2.0527.1408")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0521.1703")]
|
[assembly: AssemblyFileVersion("1.2.0527.1408")]
|
||||||
@@ -1801,7 +1801,9 @@
|
|||||||
<LastGenOutput>_Layout.generated.cs</LastGenOutput>
|
<LastGenOutput>_Layout.generated.cs</LastGenOutput>
|
||||||
</None>
|
</None>
|
||||||
<None Include="Views\Web.config" />
|
<None Include="Views\Web.config" />
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
<None Include="_bin_deployableAssemblies\amd64\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest" />
|
<None Include="_bin_deployableAssemblies\amd64\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest" />
|
||||||
<None Include="_bin_deployableAssemblies\x86\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest" />
|
<None Include="_bin_deployableAssemblies\x86\Microsoft.VC90.CRT\Microsoft.VC90.CRT.manifest" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@@ -1861,7 +1863,7 @@
|
|||||||
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
|
||||||
</WebProjectProperties>
|
</WebProjectProperties>
|
||||||
</FlavorProperties>
|
</FlavorProperties>
|
||||||
<UserProperties BuildVersion_UpdateFileVersion="True" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.DeltaBaseYear.MonthAndDayStamp.TimeStamp" BuildVersion_DetectChanges="False" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildAction="Both" BuildVersion_StartDate="2011/7/1" />
|
<UserProperties BuildVersion_StartDate="2011/7/1" BuildVersion_BuildAction="Both" BuildVersion_UseGlobalSettings="False" BuildVersion_DetectChanges="False" BuildVersion_BuildVersioningStyle="None.DeltaBaseYear.MonthAndDayStamp.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_UpdateFileVersion="True" />
|
||||||
</VisualStudio>
|
</VisualStudio>
|
||||||
</ProjectExtensions>
|
</ProjectExtensions>
|
||||||
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
|
||||||
|
|||||||
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||||||
//
|
//
|
||||||
// You can specify all the values or you can default the Revision and Build Numbers
|
// You can specify all the values or you can default the Revision and Build Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("1.2.0521.1703")]
|
[assembly: AssemblyVersion("1.2.0527.1408")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0521.1703")]
|
[assembly: AssemblyFileVersion("1.2.0527.1408")]
|
||||||
Reference in New Issue
Block a user