11-08-2023
This commit is contained in:
parent
2579d7abdd
commit
acad7b70d0
@ -40,6 +40,9 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<StartupObject>Connectors.Form.My.MyApplication</StartupObject>
|
<StartupObject>Connectors.Form.My.MyApplication</StartupObject>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>App.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DevExpress.BonusSkins.v21.2" />
|
<Reference Include="DevExpress.BonusSkins.v21.2" />
|
||||||
<Reference Include="DevExpress.Data.v21.2" />
|
<Reference Include="DevExpress.Data.v21.2" />
|
||||||
@ -148,7 +151,6 @@
|
|||||||
<DependentUpon>Settings.settings</DependentUpon>
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
</Compile>
|
</Compile>
|
||||||
<None Include="packages.config" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="My Project\Application.myapp">
|
<None Include="My Project\Application.myapp">
|
||||||
|
|||||||
@ -53,8 +53,14 @@ Namespace slt
|
|||||||
AddInfoEntry("Document: [{0}]", oDocument.Name)
|
AddInfoEntry("Document: [{0}]", oDocument.Name)
|
||||||
Logger.Info("ExtDocId: [{0}]", oDocument.ExtDocId)
|
Logger.Info("ExtDocId: [{0}]", oDocument.ExtDocId)
|
||||||
|
|
||||||
Dim oFileName = GetFilenameWithExtension(oDocument.Name, oDocument.DocMimeType)
|
Dim oDocumentName = GetFilenameWithExtension(oDocument.Name, oDocument.DocMimeType)
|
||||||
Dim oFilePath = Path.Combine(Config.OutputDirectory, oFileName)
|
Dim oFileName = ConvertFilenameToSlug(oDocumentName)
|
||||||
|
Dim oSubPath = FileEx.CreateDateDirectory(Config.OutputDirectory)
|
||||||
|
If oSubPath Is Nothing Then
|
||||||
|
Throw New ApplicationException("Output sub path could not be created!")
|
||||||
|
End If
|
||||||
|
Dim oFilePath = Path.Combine(oSubPath, oFileName)
|
||||||
|
Logger.Debug("Subdirectory [{0}] created.", oSubPath)
|
||||||
|
|
||||||
If CopyFileToOutputPath(oDocument.Data, oFilePath) = False Then
|
If CopyFileToOutputPath(oDocument.Data, oFilePath) = False Then
|
||||||
Throw New ApplicationException("File could not be created in output path!")
|
Throw New ApplicationException("File could not be created in output path!")
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
<MyApplicationData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<MySubMain>true</MySubMain>
|
<MySubMain>true</MySubMain>
|
||||||
<MainForm>Form1</MainForm>
|
<MainForm>frmMain</MainForm>
|
||||||
<SingleInstance>false</SingleInstance>
|
<SingleInstance>false</SingleInstance>
|
||||||
<ShutdownMode>0</ShutdownMode>
|
<ShutdownMode>0</ShutdownMode>
|
||||||
<EnableVisualStyles>true</EnableVisualStyles>
|
<EnableVisualStyles>true</EnableVisualStyles>
|
||||||
<AuthenticationMode>0</AuthenticationMode>
|
<AuthenticationMode>0</AuthenticationMode>
|
||||||
<ApplicationType>0</ApplicationType>
|
|
||||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||||
</MyApplicationData>
|
<HighDpiMpde>false</HighDpiMpde>
|
||||||
|
</MyApplicationData>
|
||||||
@ -5,11 +5,11 @@ Imports System.Runtime.InteropServices
|
|||||||
' General Information about an assembly is controlled through the following
|
' General Information about an assembly is controlled through the following
|
||||||
' set of attributes. Change these attribute values to modify the information
|
' set of attributes. Change these attribute values to modify the information
|
||||||
' associated with an assembly.
|
' associated with an assembly.
|
||||||
<Assembly: AssemblyTitle("sltSync")>
|
<Assembly: AssemblyTitle("Connectors.Form")>
|
||||||
<Assembly: AssemblyDescription("")>
|
<Assembly: AssemblyDescription("")>
|
||||||
<Assembly: AssemblyConfiguration("")>
|
<Assembly: AssemblyConfiguration("")>
|
||||||
<Assembly: AssemblyCompany("Digital Data")>
|
<Assembly: AssemblyCompany("Digital Data")>
|
||||||
<Assembly: AssemblyProduct("sltSync")>
|
<Assembly: AssemblyProduct("Connectors.Form")>
|
||||||
<Assembly: AssemblyCopyright("Copyright © 2023")>
|
<Assembly: AssemblyCopyright("Copyright © 2023")>
|
||||||
<Assembly: AssemblyTrademark("")>
|
<Assembly: AssemblyTrademark("")>
|
||||||
<Assembly: AssemblyCulture("")>
|
<Assembly: AssemblyCulture("")>
|
||||||
|
|||||||
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<packages>
|
|
||||||
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net462" />
|
|
||||||
<package id="NLog" version="5.0.5" targetFramework="net462" />
|
|
||||||
</packages>
|
|
||||||
Loading…
x
Reference in New Issue
Block a user