Compare commits
13 Commits
a92b685727
...
3e5aeabead
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e5aeabead | ||
|
|
5414e89189 | ||
|
|
ee2f0bd102 | ||
|
|
a75e3642fa | ||
|
|
0999ba2f3d | ||
|
|
4daff8ad25 | ||
|
|
a90bf67575 | ||
|
|
a55b90e352 | ||
|
|
9613682fe0 | ||
|
|
3001ccf43f | ||
|
|
0edae32842 | ||
|
|
1f2d1d8bfb | ||
|
|
4d201411f6 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -30,6 +30,8 @@
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
@@ -148,15 +150,8 @@
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.Linq" />
|
||||
<Reference Include="System.Data.OracleClient" />
|
||||
<Reference Include="System.Data.SQLite">
|
||||
<HintPath>P:\Visual Studio Projekte\Bibliotheken\System.Data.SQLite.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.SQLite.EF6, Version=1.0.91.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
||||
<HintPath>packages\System.Data.SQLite.1.0.91.3\lib\net451\System.Data.SQLite.EF6.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.SQLite.Linq, Version=1.0.91.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
<HintPath>packages\System.Data.SQLite.1.0.91.3\lib\net451\System.Data.SQLite.Linq.dll</HintPath>
|
||||
<Reference Include="System.Data.SQLite, Version=1.0.119.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\lib\net46\System.Data.SQLite.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.DirectoryServices" />
|
||||
@@ -837,12 +832,6 @@
|
||||
<None Include="Resources\CheckConstraints_5634.png" />
|
||||
<Content Include="modDateiimportConfig.xml" />
|
||||
<Content Include="modNachindexierungConfig.xml" />
|
||||
<Content Include="x64\SQLite.Interop.dll">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="x86\SQLite.Interop.dll">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="Resources\user_suit.png" />
|
||||
<None Include="Resources\user.png" />
|
||||
<None Include="Resources\rosette.png" />
|
||||
@@ -888,6 +877,13 @@
|
||||
<Folder Include="Log\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<Import Project="..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets" Condition="Exists('..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\build\net46\Stub.System.Data.SQLite.Core.NetFramework.targets'))" />
|
||||
</Target>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
||||
@@ -11,8 +11,7 @@
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="ToolCollection.My.MySettings.DDECMConString" connectionString="Data Source=SDD-VMP04-SQL17\DD_DEVELOP01;Initial Catalog=DD_ECM;Persist Security Info=True;User ID=sa;Password=dd;Encrypt=False"
|
||||
providerName="System.Data.SqlClient" />
|
||||
<add name="ToolCollection.My.MySettings.DDECMConString" connectionString="Data Source=SDD-VMP04-SQL17\DD_DEVELOP01;Initial Catalog=DD_ECM;Persist Security Info=True;User ID=sa;Password=dd;Encrypt=False" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<system.diagnostics>
|
||||
<sources>
|
||||
@@ -239,14 +238,7 @@
|
||||
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="System.Data.SQLite" />
|
||||
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
|
||||
<remove invariant="System.Data.SQLite.EF6" />
|
||||
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".Net Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
|
||||
@@ -237,9 +237,7 @@ Public Class frmDIProfilEigenschaften
|
||||
|
||||
Private Sub cmbProfilauswahl_DropDownItemClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles cmbProfilauswahl.DropDownItemClicked
|
||||
|
||||
' wenn bereits ein Profil ausgewählt wurde
|
||||
If Me.selectedProfile IsNot Nothing Then
|
||||
' wenn es sich bei dem ausgewählten Element um das gleiche handelt wie das Aktive, dann nichts tun
|
||||
If e.ClickedItem.Text = Me.selectedProfile.Profilname Then Exit Sub
|
||||
|
||||
If selectedProfile.HasChanges Then
|
||||
@@ -251,7 +249,11 @@ Public Class frmDIProfilEigenschaften
|
||||
'Dim changeProfile As Boolean = Me.AskToSaveIfNeccessary(False)
|
||||
|
||||
Lade_Profil(e.ClickedItem.Text)
|
||||
|
||||
For i = 0 To arrProfile.GetUpperBound(0)
|
||||
If arrProfile(i, 0) = e.ClickedItem.Text Then
|
||||
_pos = arrProfile(i, 1)
|
||||
End If
|
||||
Next
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
9
ToolCollection/frmNIHauptseite.Designer.vb
generated
9
ToolCollection/frmNIHauptseite.Designer.vb
generated
@@ -69,6 +69,7 @@ Partial Class frmNIHauptseite
|
||||
Me.TBTC_MOVE_RENAMEBindingSource = New System.Windows.Forms.BindingSource(Me.components)
|
||||
Me.TBTC_MOVE_RENAMETableAdapter = New ToolCollection.MyDatasetTableAdapters.TBTC_MOVE_RENAMETableAdapter()
|
||||
Me.TableAdapterManager1 = New ToolCollection.MyDatasetTableAdapters.TableAdapterManager()
|
||||
Me.TimerAutostart = New System.Windows.Forms.Timer(Me.components)
|
||||
Me.tcmain.SuspendLayout()
|
||||
Me.tpMain.SuspendLayout()
|
||||
Me.StatusStrip1.SuspendLayout()
|
||||
@@ -121,7 +122,7 @@ Partial Class frmNIHauptseite
|
||||
Me.tpMain.Location = New System.Drawing.Point(4, 22)
|
||||
Me.tpMain.Name = "tpMain"
|
||||
Me.tpMain.Padding = New System.Windows.Forms.Padding(3)
|
||||
Me.tpMain.Size = New System.Drawing.Size(766, 521)
|
||||
Me.tpMain.Size = New System.Drawing.Size(769, 521)
|
||||
Me.tpMain.TabIndex = 0
|
||||
Me.tpMain.Text = "Hauptseite"
|
||||
Me.tpMain.UseVisualStyleBackColor = True
|
||||
@@ -143,7 +144,7 @@ Partial Class frmNIHauptseite
|
||||
Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.tslblStatus})
|
||||
Me.StatusStrip1.Location = New System.Drawing.Point(3, 496)
|
||||
Me.StatusStrip1.Name = "StatusStrip1"
|
||||
Me.StatusStrip1.Size = New System.Drawing.Size(760, 22)
|
||||
Me.StatusStrip1.Size = New System.Drawing.Size(763, 22)
|
||||
Me.StatusStrip1.TabIndex = 45
|
||||
Me.StatusStrip1.Text = "StatusStrip1"
|
||||
'
|
||||
@@ -504,6 +505,9 @@ Partial Class frmNIHauptseite
|
||||
Me.TableAdapterManager1.TBTC_MOVE_RENAMETableAdapter = Me.TBTC_MOVE_RENAMETableAdapter
|
||||
Me.TableAdapterManager1.UpdateOrder = ToolCollection.MyDatasetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete
|
||||
'
|
||||
'TimerAutostart
|
||||
'
|
||||
'
|
||||
'frmNIHauptseite
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
@@ -587,4 +591,5 @@ Partial Class frmNIHauptseite
|
||||
Friend WithEvents btnEdit As Button
|
||||
Friend WithEvents btnStartProfile As Button
|
||||
Friend WithEvents pnlFooter As Panel
|
||||
Friend WithEvents TimerAutostart As Timer
|
||||
End Class
|
||||
|
||||
@@ -120,9 +120,6 @@
|
||||
<metadata name="StatusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>248, 56</value>
|
||||
</metadata>
|
||||
<metadata name="StatusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>248, 56</value>
|
||||
</metadata>
|
||||
<data name="Label6.Text" xml:space="preserve">
|
||||
<value>Es wird empfohlen, das Intervall nicht auf weniger als 30 Minuten zu setzen, da der nächste Nachindexierungsdurchlauf nur gestartet werden kann, wenn der vorherige beendet wurde. Wenn zu erwarten ist, dass viele Dokumente nachindexiert werden sollen, sollte der Intervall für diesen Durchlauf entsprechend hoch gesetzt werden ( > 2 Stunden).</value>
|
||||
</data>
|
||||
@@ -162,6 +159,9 @@
|
||||
<metadata name="TableAdapterManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>984, 56</value>
|
||||
</metadata>
|
||||
<metadata name="TimerAutostart.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>1161, 56</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>132</value>
|
||||
</metadata>
|
||||
|
||||
@@ -120,18 +120,28 @@ Public Class frmNIHauptseite
|
||||
End If
|
||||
|
||||
If AUTOSTART_FIH Then
|
||||
Start_NachindexierungThreads()
|
||||
My.Settings.vNIRunning = True
|
||||
My.Settings.Save()
|
||||
Me.btnStartProfile.Enabled = False
|
||||
_Logger.Info("AUTOSTART_FIH = True - Nachindexierung wird gestartet.")
|
||||
AUTOSTART_FIH = False
|
||||
_Logger.Info("AUTOSTART_FIH = True - Warte 30s auf Windream-Laufwerk.")
|
||||
Me.lblStatus.Text = "(Status: Autostart ist aktiv. Warte 30s auf Windream-Laufwerk...)"
|
||||
Me.tslblStatus.Text = "Status: Autostart ist aktiv. Warte 30s auf Windream-Laufwerk..."
|
||||
Me.tslblStatus.Visible = True
|
||||
TimerAutostart.Interval = 30000
|
||||
TimerAutostart.Start()
|
||||
Else
|
||||
_Logger.Info("Nachindexierung Hauptformular wurde geladen - Nachindexierungslauf wird NICHT gestartet.")
|
||||
End If
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub TimerAutostart_Tick(sender As Object, e As EventArgs) Handles TimerAutostart.Tick
|
||||
TimerAutostart.Stop()
|
||||
_Logger.Info("Startverzögerung abgelaufen - Nachindexierung wird gestartet.")
|
||||
Start_NachindexierungThreads()
|
||||
End Sub
|
||||
|
||||
Private Sub LoadProfilesIntoGrid()
|
||||
|
||||
ClassNIProfile.Init()
|
||||
@@ -1903,11 +1913,16 @@ Public Class frmNIHauptseite
|
||||
If oUnexpectedError = False And aktivesProfil.NachbearbeitungAD = True And unvollstaendig = False Then
|
||||
_Logger.Debug("Nachbearbeitung AD ist aktiviert")
|
||||
Dim sw As New ClassStopwatch("AD-Rework")
|
||||
Nachbearbeitung_AD(pMyWMDoc)
|
||||
Dim adReworkOk As Boolean = Nachbearbeitung_AD(pMyWMDoc)
|
||||
Dim msg = sw.Done
|
||||
If msg <> "" Then
|
||||
Stopwatch1 += vbNewLine & $"{msg}"
|
||||
End If
|
||||
If adReworkOk = False Then
|
||||
_Logger.Warn($"## Nachbearbeitung AD für [{pMyWMDoc.aName}] fehlgeschlagen - Error-Index wird gesetzt")
|
||||
File_SetBooleanIndex(True, pMyWMDoc, aktivesProfil.IndexValidation)
|
||||
SetErrorMeldung("Rechtevergabe fehlgeschlagen", pMyWMDoc, aktivesProfil.IndexFehler)
|
||||
End If
|
||||
Else
|
||||
If aktivesProfil.NachbearbeitungAD = True Then
|
||||
_Logger.Info($"Nachbearbeitung AD ist aktiviert aber Unexpected Error ist{oUnexpectedError.ToString}")
|
||||
@@ -2349,7 +2364,9 @@ Public Class frmNIHauptseite
|
||||
End If
|
||||
i += 1
|
||||
Catch ex As Exception
|
||||
|
||||
_Logger.Error(ex)
|
||||
_erfolgreich = False
|
||||
Exit For
|
||||
End Try
|
||||
|
||||
Next
|
||||
|
||||
@@ -522,7 +522,7 @@ Public Class frmNIProfileigenschaften
|
||||
|
||||
|
||||
Private Sub cmbProfilauswahl_DropDownItemClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles cmbProfilauswahl.DropDownItemClicked
|
||||
' wenn bereits ein Profil ausgewählt wurde
|
||||
|
||||
If Me._selectedProfile IsNot Nothing Then
|
||||
Me.cmbIndexValidierung.SelectedIndex = -1
|
||||
If _selectedProfile.HasChanges Then
|
||||
|
||||
4
ToolCollection/frmNIVerknuepfungen.Designer.vb
generated
4
ToolCollection/frmNIVerknuepfungen.Designer.vb
generated
@@ -1743,6 +1743,7 @@ Partial Class frmNIVerknuepfungen
|
||||
'
|
||||
'btnUnlink
|
||||
'
|
||||
Me.btnUnlink.Enabled = False
|
||||
Me.btnUnlink.Image = Global.ToolCollection.My.Resources.Resources.link_break
|
||||
Me.btnUnlink.ImeMode = System.Windows.Forms.ImeMode.NoControl
|
||||
Me.btnUnlink.Location = New System.Drawing.Point(409, 202)
|
||||
@@ -1763,9 +1764,10 @@ Partial Class frmNIVerknuepfungen
|
||||
'
|
||||
'btnLink
|
||||
'
|
||||
Me.btnLink.Enabled = False
|
||||
Me.btnLink.Image = Global.ToolCollection.My.Resources.Resources.link
|
||||
Me.btnLink.ImeMode = System.Windows.Forms.ImeMode.NoControl
|
||||
Me.btnLink.Location = New System.Drawing.Point(407, 167)
|
||||
Me.btnLink.Location = New System.Drawing.Point(409, 167)
|
||||
Me.btnLink.Name = "btnLink"
|
||||
Me.btnLink.Size = New System.Drawing.Size(28, 29)
|
||||
Me.btnLink.TabIndex = 15
|
||||
|
||||
@@ -560,6 +560,7 @@ Public Class frmNIVerknuepfungen
|
||||
Next
|
||||
End If
|
||||
|
||||
EnableBtnLink()
|
||||
|
||||
End If
|
||||
|
||||
@@ -657,25 +658,35 @@ Public Class frmNIVerknuepfungen
|
||||
If LVW.SelectedItems.Count > 0 Then
|
||||
LVW.Sorting = Windows.Forms.SortOrder.None
|
||||
If Down = True Then
|
||||
If LVW.SelectedItems(LVW.SelectedItems.Count - 1).Index < LVW.Items.Count - 1 Then
|
||||
For i = LVW.SelectedItems.Count - 1 To 0 Step -1
|
||||
OldItem = LVW.Items(LVW.SelectedItems(i).Index + 1)
|
||||
OldPos = LVW.Items(LVW.SelectedItems(i).Index).Index
|
||||
LVW.Items(OldPos + 1) = LVW.SelectedItems(i).Clone
|
||||
LVW.Items(OldPos) = OldItem
|
||||
LVW.Items(OldPos + 1).Selected = True
|
||||
Next
|
||||
End If
|
||||
If LVW.SelectedItems(0).Index = LVW.Items.Count - 1 Then Return
|
||||
Dim index = LVW.SelectedItems(0).Index
|
||||
|
||||
LVW.BeginUpdate()
|
||||
Try
|
||||
Dim item = LVW.SelectedItems(0)
|
||||
LVW.Items.RemoveAt(index)
|
||||
LVW.Items.Insert(index + 1, item)
|
||||
item.Selected = True
|
||||
item.Focused = True
|
||||
item.EnsureVisible()
|
||||
Finally
|
||||
LVW.EndUpdate()
|
||||
End Try
|
||||
Else
|
||||
If LVW.SelectedItems(0).Index > 0 Then
|
||||
For i = 0 To LVW.SelectedItems.Count - 1
|
||||
OldItem = LVW.Items(LVW.SelectedItems(i).Index - 1)
|
||||
OldPos = LVW.Items(LVW.SelectedItems(i).Index).Index
|
||||
LVW.Items(OldPos - 1) = LVW.SelectedItems(i).Clone
|
||||
LVW.Items(OldPos) = OldItem
|
||||
LVW.Items(OldPos - 1).Selected = True
|
||||
Next
|
||||
End If
|
||||
If LVW.SelectedItems(0).Index = 0 Then Return
|
||||
Dim index = LVW.SelectedItems(0).Index
|
||||
|
||||
LVW.BeginUpdate()
|
||||
Try
|
||||
Dim item = LVW.SelectedItems(0)
|
||||
LVW.Items.RemoveAt(index)
|
||||
LVW.Items.Insert(index - 1, item)
|
||||
item.Selected = True
|
||||
item.Focused = True
|
||||
item.EnsureVisible()
|
||||
Finally
|
||||
LVW.EndUpdate()
|
||||
End Try
|
||||
End If
|
||||
'' definieren das am aktuellen Profil Änderungen vorgenommen wurden
|
||||
Me._selectedProfil.setChanged()
|
||||
@@ -785,70 +796,46 @@ Public Class frmNIVerknuepfungen
|
||||
Return Nothing
|
||||
End Try
|
||||
End Function
|
||||
Private Function GetMsSqlFunctions(Type As String) As String()
|
||||
Private Function GetMsSqlFunctions(ParamArray types As String()) As String()
|
||||
Try
|
||||
Dim SqlString As String
|
||||
Dim DataViews() As String = Nothing
|
||||
Dim i As Integer = 0
|
||||
|
||||
'Dim ConnectionString As SqlConnectionStringBuilder
|
||||
Dim Connection As SqlConnection
|
||||
Dim Command As SqlCommand
|
||||
Dim DataAdapter As SqlDataAdapter
|
||||
Dim DataSet As DataSet = New DataSet()
|
||||
|
||||
Dim con As String
|
||||
' ConnectionString aufbauen
|
||||
If _selectedProfil.UserId = "WINAUTH" Then
|
||||
con = "Data Source=" & _selectedProfil.DataSource & ";Initial Catalog=" & _selectedProfil.InitialCatalog & ";Trusted_Connection=True;"
|
||||
Else
|
||||
con = "Server=" & _selectedProfil.DataSource & ";Database=" & _selectedProfil.InitialCatalog & ";User Id=" & _selectedProfil.UserId & ";Password=" & _selectedProfil.Password & ";"
|
||||
End If
|
||||
'ConnectionString = New SqlConnectionStringBuilder()
|
||||
'ConnectionString.DataSource = Me._selectedProfil.DataSource
|
||||
'ConnectionString.UserID = Me._selectedProfil.UserId
|
||||
'ConnectionString.Password = Me._selectedProfil.Password
|
||||
'ConnectionString.InitialCatalog = Me._selectedProfil.InitialCatalog
|
||||
|
||||
' Verbindung zur DB herstellen
|
||||
Connection = New SqlConnection(con)
|
||||
Connection.Open()
|
||||
|
||||
' DB-Abfrage für alle Views definieren
|
||||
SqlString = $"SELECT O.name FROM sys.sql_modules M INNER JOIN sys.objects O ON M.object_id=O.object_id WHERE O.type = '{Type}'"
|
||||
Dim typeList As String = String.Join("','", types)
|
||||
SqlString = $"SELECT O.name FROM sys.sql_modules M INNER JOIN sys.objects O ON M.object_id=O.object_id WHERE O.type IN ('{typeList}')"
|
||||
|
||||
' die DB-Abfrage erzeugen
|
||||
Command = New SqlCommand(SqlString, Connection)
|
||||
|
||||
' die DB-Abfrage durchführen
|
||||
DataAdapter = New SqlDataAdapter(Command)
|
||||
|
||||
' das DataSet mit den Daten füllen
|
||||
DataAdapter.Fill(DataSet)
|
||||
|
||||
|
||||
If DataSet.Tables(0).Rows.Count > 0 Then
|
||||
|
||||
Dim tabellenart As String = "FUNCTIONS"
|
||||
|
||||
|
||||
' alle Ergebnisse (VIEWs) durchlaufen
|
||||
For Each row As DataRow In DataSet.Tables(0).Rows
|
||||
|
||||
If DataViews IsNot Nothing Then ReDim Preserve DataViews(DataViews.Length) Else ReDim DataViews(0)
|
||||
' View in Array schreiben
|
||||
DataViews(i) = row.Item(0)
|
||||
i += 1
|
||||
|
||||
|
||||
Next
|
||||
' Array zurückgeben
|
||||
|
||||
Return DataViews
|
||||
Else
|
||||
Return Nothing
|
||||
End If
|
||||
|
||||
|
||||
Catch ex As Exception
|
||||
MsgBox("Die MSSQL-Datenansichten der Datenbank konnten nicht fehlerfrei ausgelesen werden." & vbNewLine & vbNewLine & ex.Message, MsgBoxStyle.Exclamation, "Fehler beim Auslesen der Datenansichten MSSQL")
|
||||
Return Nothing
|
||||
@@ -1383,6 +1370,34 @@ Public Class frmNIVerknuepfungen
|
||||
End Try
|
||||
|
||||
End Function
|
||||
|
||||
Private Sub EnableBtnLink()
|
||||
If Me._selectedProfil Is Nothing Then
|
||||
btnLink.Enabled = False
|
||||
Return
|
||||
End If
|
||||
|
||||
Select Case Me._selectedProfil.Ni_Art
|
||||
Case "db", "activedirectory"
|
||||
btnLink.Enabled =
|
||||
lbxWMIndex.SelectedItems.Count > 0 And
|
||||
(lbxQuelle1.SelectedItems.Count > 0 OrElse txtManIndexwert.Text <> "")
|
||||
|
||||
Case "xml"
|
||||
btnLink.Enabled =
|
||||
lbxWMIndex.SelectedItems.Count > 0 And
|
||||
(trvwxml.SelectedNode IsNot Nothing OrElse txtManIndexwert.Text <> "")
|
||||
|
||||
Case "fulltext"
|
||||
btnLink.Enabled =
|
||||
lbxWMIndex.SelectedItems.Count > 0 And
|
||||
(txtregex.Text <> "" OrElse txtManIndexwert.Text <> "")
|
||||
|
||||
Case Else
|
||||
btnLink.Enabled = False
|
||||
End Select
|
||||
End Sub
|
||||
|
||||
Private Sub btnLink_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLink.Click
|
||||
' wenn im ListView ein Element selektiert wurde
|
||||
If Me.lvwVerknuepfungen.SelectedItems.Count > 0 Then
|
||||
@@ -1684,24 +1699,6 @@ Public Class frmNIVerknuepfungen
|
||||
|
||||
|
||||
Private Sub lvwVerknuepfungen_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lvwVerknuepfungen.SelectedIndexChanged
|
||||
If Not Me._selectedProfil._links.IsSaved Then
|
||||
|
||||
Dim msgResult As MsgBoxResult = MsgBox("Möchten Sie die Änderungen speichern?", MsgBoxStyle.YesNoCancel, "Änderungen übernehmen?")
|
||||
If msgResult = MsgBoxResult.Yes Then
|
||||
|
||||
'If Not Me._selectedProfil.IsSaved Then
|
||||
' SaveProfile()
|
||||
'End If
|
||||
|
||||
If Not Me._selectedProfil._links.IsSaved Then
|
||||
SaveLinks()
|
||||
SaveProfile()
|
||||
End If
|
||||
Else
|
||||
Me._selectedProfil._links.setLinksSaved()
|
||||
Me._selectedProfil.setSaved()
|
||||
End If
|
||||
End If
|
||||
|
||||
Select Case Me._selectedProfil.Ni_Art
|
||||
Case "db"
|
||||
@@ -1709,6 +1706,9 @@ Public Class frmNIVerknuepfungen
|
||||
If Me.lvwVerknuepfungen.SelectedItems.Count > 0 Then
|
||||
If Me.lvwVerknuepfungen.SelectedItems(0).SubItems(1).Text.StartsWith("%") And Me.lvwVerknuepfungen.SelectedItems(0).SubItems(1).Text.EndsWith("%") Then
|
||||
Me.grbFilterDB.Enabled = False
|
||||
|
||||
btnUnlink.Enabled = (lvwVerknuepfungen.SelectedItems.Count > 0)
|
||||
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
@@ -2027,7 +2027,7 @@ Public Class frmNIVerknuepfungen
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
btnUnlink.Enabled = (lvwVerknuepfungen.SelectedItems.Count > 0)
|
||||
|
||||
End Sub
|
||||
|
||||
@@ -2837,6 +2837,8 @@ Public Class frmNIVerknuepfungen
|
||||
Else
|
||||
grbFilterDB.Enabled = True
|
||||
End If
|
||||
|
||||
EnableBtnLink()
|
||||
End Sub
|
||||
Private Sub txtGrundgeruest_check_Click(sender As System.Object, e As System.EventArgs) Handles txtGrundgeruest_check.Click
|
||||
Me.txtCheckIndexSQL.Text = "SELECT COUNT(*) FROM [%view] WHERE "
|
||||
@@ -3458,6 +3460,7 @@ Public Class frmNIVerknuepfungen
|
||||
End If
|
||||
|
||||
End If
|
||||
EnableBtnLink()
|
||||
'Catch ex As Exception
|
||||
' MsgBox("Fehler bei Check Änderung Regex:" & vbNewLine & vbNewLine & ex.Message, MsgBoxStyle.Critical)
|
||||
'End Try
|
||||
@@ -3530,7 +3533,14 @@ Public Class frmNIVerknuepfungen
|
||||
If _selectedIndex_Type Is Nothing = False Then
|
||||
visinvisible_Vektor_ins_State()
|
||||
End If
|
||||
|
||||
EnableBtnLink()
|
||||
End Sub
|
||||
|
||||
Private Sub lbxQuelle1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles lbxQuelle1.SelectedIndexChanged
|
||||
EnableBtnLink()
|
||||
End Sub
|
||||
|
||||
Sub visinvisible_Vektor_ins_State()
|
||||
If _selectedIndex_Type.StartsWith("Vektor") Then
|
||||
Me.rbvkt_add.Visible = True
|
||||
@@ -3599,8 +3609,7 @@ Public Class frmNIVerknuepfungen
|
||||
End Sub
|
||||
|
||||
Private Sub trvwxml_AfterSelect(sender As Object, e As TreeViewEventArgs) Handles trvwxml.AfterSelect
|
||||
|
||||
|
||||
EnableBtnLink()
|
||||
End Sub
|
||||
|
||||
Private Sub tabctrlbottom_SelectedIndexChanged(sender As Object, e As EventArgs) Handles tabctrlbottom.SelectedIndexChanged
|
||||
@@ -3714,6 +3723,40 @@ Public Class frmNIVerknuepfungen
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub rbFunctionsTb_CheckedChanged(sender As Object, e As EventArgs) Handles rbFunctionsTb.CheckedChanged
|
||||
If Not _flagIgnoreCheckedChanged Then
|
||||
If Me._selectedProfil Is Nothing = False Then
|
||||
Me.cmbDataviews.Items.Clear()
|
||||
|
||||
' View- oder Tabellenliste
|
||||
Dim dataviews() As String = Nothing
|
||||
If Me._selectedProfil.DbArt = "MS-SQL" Then
|
||||
dataviews = Me.GetMsSqlFunctions("TF", "IF")
|
||||
'ElseIf Me._selectedProfil.DbArt = "ODBC" Then
|
||||
' dataviews = Me.GetOdbcDataviews(Me.rbViews.Checked)
|
||||
'ElseIf Me._selectedProfil.DbArt = "OLE (Access)" Then
|
||||
' dataviews = Me.GetOleDataviews(Me.rbViews.Checked)
|
||||
Else
|
||||
MsgBox("Der gewählte Datenbanktyp ist nicht für Funktionen unterstützt.", MsgBoxStyle.Critical, "Unbekannter Datenbanktyp")
|
||||
End If
|
||||
|
||||
If dataviews IsNot Nothing Then
|
||||
|
||||
For Each dataview As String In dataviews
|
||||
Me.cmbDataviews.Items.Add(dataview)
|
||||
Next
|
||||
|
||||
End If
|
||||
|
||||
|
||||
Me.txtSelectAnweisung.Text = ""
|
||||
Else
|
||||
MsgBox("Bitte wählen Sie ein Profil aus!", MsgBoxStyle.Information, "Achtung:")
|
||||
End If
|
||||
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Private Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click
|
||||
|
||||
End Sub
|
||||
|
||||
83
ToolCollection/frmStart.Designer.vb
generated
83
ToolCollection/frmStart.Designer.vb
generated
@@ -37,14 +37,13 @@ Partial Class frmStart
|
||||
Me.ZeigeLogFileToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.ÖffneLogverzeichnisToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.ModuleToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.LizenzverwaltungToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.PasswortverwaltungToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.GrundeinstellungenToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.CriticalEmailTestToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.HilfeToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.ÜberToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
|
||||
Me.ImageList1 = New System.Windows.Forms.ImageList(Me.components)
|
||||
Me.Panel1 = New System.Windows.Forms.Panel()
|
||||
Me.PanelMain = New System.Windows.Forms.Panel()
|
||||
Me.btnNachbearbeitungAD = New System.Windows.Forms.Button()
|
||||
Me.grbxMoRe = New System.Windows.Forms.GroupBox()
|
||||
Me.btnOpen_MoReProfile = New System.Windows.Forms.Button()
|
||||
@@ -64,14 +63,16 @@ Partial Class frmStart
|
||||
Me.TimerNIRestart = New System.Windows.Forms.Timer(Me.components)
|
||||
Me.TimerErrorLog = New System.Windows.Forms.Timer(Me.components)
|
||||
Me.TimerDeleteLogfiles = New System.Windows.Forms.Timer(Me.components)
|
||||
Me.groupboxNachbearbeitungAD = New System.Windows.Forms.GroupBox()
|
||||
Me.StatusStrip1.SuspendLayout()
|
||||
Me.menHauptmenü.SuspendLayout()
|
||||
Me.Panel1.SuspendLayout()
|
||||
Me.PanelMain.SuspendLayout()
|
||||
Me.grbxMoRe.SuspendLayout()
|
||||
Me.GroupBoxIntegration.SuspendLayout()
|
||||
Me.GBNachindexierung.SuspendLayout()
|
||||
Me.grbDI.SuspendLayout()
|
||||
Me.ContextMenuStrip1.SuspendLayout()
|
||||
Me.groupboxNachbearbeitungAD.SuspendLayout()
|
||||
Me.SuspendLayout()
|
||||
'
|
||||
'StatusStrip1
|
||||
@@ -183,34 +184,27 @@ Partial Class frmStart
|
||||
'
|
||||
'ModuleToolStripMenuItem
|
||||
'
|
||||
Me.ModuleToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.LizenzverwaltungToolStripMenuItem, Me.PasswortverwaltungToolStripMenuItem, Me.GrundeinstellungenToolStripMenuItem, Me.CriticalEmailTestToolStripMenuItem})
|
||||
Me.ModuleToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.PasswortverwaltungToolStripMenuItem, Me.GrundeinstellungenToolStripMenuItem, Me.CriticalEmailTestToolStripMenuItem})
|
||||
Me.ModuleToolStripMenuItem.Name = "ModuleToolStripMenuItem"
|
||||
Me.ModuleToolStripMenuItem.Size = New System.Drawing.Size(75, 20)
|
||||
Me.ModuleToolStripMenuItem.Text = "Bearbeiten"
|
||||
'
|
||||
'LizenzverwaltungToolStripMenuItem
|
||||
'
|
||||
Me.LizenzverwaltungToolStripMenuItem.Name = "LizenzverwaltungToolStripMenuItem"
|
||||
Me.LizenzverwaltungToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F10
|
||||
Me.LizenzverwaltungToolStripMenuItem.Size = New System.Drawing.Size(190, 22)
|
||||
Me.LizenzverwaltungToolStripMenuItem.Text = "Lizenzverwaltung"
|
||||
'
|
||||
'PasswortverwaltungToolStripMenuItem
|
||||
'
|
||||
Me.PasswortverwaltungToolStripMenuItem.Name = "PasswortverwaltungToolStripMenuItem"
|
||||
Me.PasswortverwaltungToolStripMenuItem.Size = New System.Drawing.Size(190, 22)
|
||||
Me.PasswortverwaltungToolStripMenuItem.Size = New System.Drawing.Size(180, 22)
|
||||
Me.PasswortverwaltungToolStripMenuItem.Text = "Passwortverwaltung"
|
||||
'
|
||||
'GrundeinstellungenToolStripMenuItem
|
||||
'
|
||||
Me.GrundeinstellungenToolStripMenuItem.Name = "GrundeinstellungenToolStripMenuItem"
|
||||
Me.GrundeinstellungenToolStripMenuItem.Size = New System.Drawing.Size(190, 22)
|
||||
Me.GrundeinstellungenToolStripMenuItem.Size = New System.Drawing.Size(180, 22)
|
||||
Me.GrundeinstellungenToolStripMenuItem.Text = "Grundeinstellungen"
|
||||
'
|
||||
'CriticalEmailTestToolStripMenuItem
|
||||
'
|
||||
Me.CriticalEmailTestToolStripMenuItem.Name = "CriticalEmailTestToolStripMenuItem"
|
||||
Me.CriticalEmailTestToolStripMenuItem.Size = New System.Drawing.Size(190, 22)
|
||||
Me.CriticalEmailTestToolStripMenuItem.Size = New System.Drawing.Size(180, 22)
|
||||
Me.CriticalEmailTestToolStripMenuItem.Text = "Critical Email - Test"
|
||||
'
|
||||
'HilfeToolStripMenuItem
|
||||
@@ -243,52 +237,50 @@ Partial Class frmStart
|
||||
Me.ImageList1.Images.SetKeyName(7, "ico6700.ico")
|
||||
Me.ImageList1.Images.SetKeyName(8, "ico7215.ico")
|
||||
'
|
||||
'Panel1
|
||||
'PanelMain
|
||||
'
|
||||
Me.Panel1.Controls.Add(Me.btnNachbearbeitungAD)
|
||||
Me.Panel1.Controls.Add(Me.grbxMoRe)
|
||||
Me.Panel1.Controls.Add(Me.GroupBoxIntegration)
|
||||
Me.Panel1.Controls.Add(Me.GBNachindexierung)
|
||||
Me.Panel1.Controls.Add(Me.grbDI)
|
||||
Me.Panel1.Dock = System.Windows.Forms.DockStyle.Left
|
||||
Me.Panel1.Location = New System.Drawing.Point(0, 24)
|
||||
Me.Panel1.Name = "Panel1"
|
||||
Me.Panel1.Size = New System.Drawing.Size(163, 589)
|
||||
Me.Panel1.TabIndex = 10
|
||||
Me.PanelMain.Controls.Add(Me.groupboxNachbearbeitungAD)
|
||||
Me.PanelMain.Controls.Add(Me.grbxMoRe)
|
||||
Me.PanelMain.Controls.Add(Me.GroupBoxIntegration)
|
||||
Me.PanelMain.Controls.Add(Me.GBNachindexierung)
|
||||
Me.PanelMain.Controls.Add(Me.grbDI)
|
||||
Me.PanelMain.Dock = System.Windows.Forms.DockStyle.Left
|
||||
Me.PanelMain.Location = New System.Drawing.Point(0, 24)
|
||||
Me.PanelMain.Name = "PanelMain"
|
||||
Me.PanelMain.Size = New System.Drawing.Size(163, 589)
|
||||
Me.PanelMain.TabIndex = 10
|
||||
'
|
||||
'btnNachbearbeitungAD
|
||||
'
|
||||
Me.btnNachbearbeitungAD.Dock = System.Windows.Forms.DockStyle.Top
|
||||
Me.btnNachbearbeitungAD.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.btnNachbearbeitungAD.Image = Global.ToolCollection.My.Resources.Resources.Untitled__142_
|
||||
Me.btnNachbearbeitungAD.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
|
||||
Me.btnNachbearbeitungAD.Location = New System.Drawing.Point(0, 464)
|
||||
Me.btnNachbearbeitungAD.Location = New System.Drawing.Point(6, 21)
|
||||
Me.btnNachbearbeitungAD.Name = "btnNachbearbeitungAD"
|
||||
Me.btnNachbearbeitungAD.Size = New System.Drawing.Size(163, 42)
|
||||
Me.btnNachbearbeitungAD.Size = New System.Drawing.Size(153, 42)
|
||||
Me.btnNachbearbeitungAD.TabIndex = 4
|
||||
Me.btnNachbearbeitungAD.Text = "ActiveDirectory" & Global.Microsoft.VisualBasic.ChrW(13) & Global.Microsoft.VisualBasic.ChrW(10) & "Nachbearbeitung"
|
||||
Me.btnNachbearbeitungAD.Text = "ActiveDirectory"
|
||||
Me.btnNachbearbeitungAD.TextAlign = System.Drawing.ContentAlignment.MiddleRight
|
||||
Me.btnNachbearbeitungAD.UseVisualStyleBackColor = True
|
||||
Me.btnNachbearbeitungAD.Visible = False
|
||||
'
|
||||
'grbxMoRe
|
||||
'
|
||||
Me.grbxMoRe.Controls.Add(Me.btnOpen_MoReProfile)
|
||||
Me.grbxMoRe.Dock = System.Windows.Forms.DockStyle.Top
|
||||
Me.grbxMoRe.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.grbxMoRe.Location = New System.Drawing.Point(0, 394)
|
||||
Me.grbxMoRe.Name = "grbxMoRe"
|
||||
Me.grbxMoRe.Size = New System.Drawing.Size(163, 70)
|
||||
Me.grbxMoRe.TabIndex = 4
|
||||
Me.grbxMoRe.TabStop = False
|
||||
Me.grbxMoRe.Text = "Move and Rename"
|
||||
Me.grbxMoRe.Visible = False
|
||||
'
|
||||
'btnOpen_MoReProfile
|
||||
'
|
||||
Me.btnOpen_MoReProfile.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.btnOpen_MoReProfile.Image = Global.ToolCollection.My.Resources.Resources.Untitled__49_
|
||||
Me.btnOpen_MoReProfile.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
|
||||
Me.btnOpen_MoReProfile.Location = New System.Drawing.Point(3, 21)
|
||||
Me.btnOpen_MoReProfile.Location = New System.Drawing.Point(6, 21)
|
||||
Me.btnOpen_MoReProfile.Name = "btnOpen_MoReProfile"
|
||||
Me.btnOpen_MoReProfile.Size = New System.Drawing.Size(153, 41)
|
||||
Me.btnOpen_MoReProfile.TabIndex = 4
|
||||
@@ -300,20 +292,20 @@ Partial Class frmStart
|
||||
'
|
||||
Me.GroupBoxIntegration.Controls.Add(Me.Button3)
|
||||
Me.GroupBoxIntegration.Dock = System.Windows.Forms.DockStyle.Top
|
||||
Me.GroupBoxIntegration.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.GroupBoxIntegration.Location = New System.Drawing.Point(0, 325)
|
||||
Me.GroupBoxIntegration.Name = "GroupBoxIntegration"
|
||||
Me.GroupBoxIntegration.Size = New System.Drawing.Size(163, 69)
|
||||
Me.GroupBoxIntegration.TabIndex = 3
|
||||
Me.GroupBoxIntegration.TabStop = False
|
||||
Me.GroupBoxIntegration.Text = "DD Integration"
|
||||
Me.GroupBoxIntegration.Visible = False
|
||||
'
|
||||
'Button3
|
||||
'
|
||||
Me.Button3.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.Button3.Image = Global.ToolCollection.My.Resources.Resources.Untitled__640_
|
||||
Me.Button3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft
|
||||
Me.Button3.Location = New System.Drawing.Point(4, 21)
|
||||
Me.Button3.Location = New System.Drawing.Point(6, 21)
|
||||
Me.Button3.Name = "Button3"
|
||||
Me.Button3.Size = New System.Drawing.Size(153, 41)
|
||||
Me.Button3.TabIndex = 2
|
||||
@@ -334,7 +326,6 @@ Partial Class frmStart
|
||||
Me.GBNachindexierung.TabIndex = 1
|
||||
Me.GBNachindexierung.TabStop = False
|
||||
Me.GBNachindexierung.Text = "Nachindexierung"
|
||||
Me.GBNachindexierung.Visible = False
|
||||
'
|
||||
'Button1
|
||||
'
|
||||
@@ -388,7 +379,6 @@ Partial Class frmStart
|
||||
Me.grbDI.TabIndex = 0
|
||||
Me.grbDI.TabStop = False
|
||||
Me.grbDI.Text = "Dateiimporter"
|
||||
Me.grbDI.Visible = False
|
||||
'
|
||||
'btnRegelverwaltung
|
||||
'
|
||||
@@ -460,13 +450,25 @@ Partial Class frmStart
|
||||
'
|
||||
Me.TimerDeleteLogfiles.Interval = 1000
|
||||
'
|
||||
'groupboxNachbearbeitungAD
|
||||
'
|
||||
Me.groupboxNachbearbeitungAD.Controls.Add(Me.btnNachbearbeitungAD)
|
||||
Me.groupboxNachbearbeitungAD.Dock = System.Windows.Forms.DockStyle.Top
|
||||
Me.groupboxNachbearbeitungAD.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
Me.groupboxNachbearbeitungAD.Location = New System.Drawing.Point(0, 464)
|
||||
Me.groupboxNachbearbeitungAD.Name = "groupboxNachbearbeitungAD"
|
||||
Me.groupboxNachbearbeitungAD.Size = New System.Drawing.Size(163, 72)
|
||||
Me.groupboxNachbearbeitungAD.TabIndex = 5
|
||||
Me.groupboxNachbearbeitungAD.TabStop = False
|
||||
Me.groupboxNachbearbeitungAD.Text = "Nachbearbeitung"
|
||||
'
|
||||
'frmStart
|
||||
'
|
||||
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
|
||||
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
|
||||
Me.ClientSize = New System.Drawing.Size(1237, 638)
|
||||
Me.ContextMenuStrip = Me.ContextMenuStrip1
|
||||
Me.Controls.Add(Me.Panel1)
|
||||
Me.Controls.Add(Me.PanelMain)
|
||||
Me.Controls.Add(Me.menHauptmenü)
|
||||
Me.Controls.Add(Me.StatusStrip1)
|
||||
Me.Font = New System.Drawing.Font("Segoe UI", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
|
||||
@@ -477,12 +479,13 @@ Partial Class frmStart
|
||||
Me.StatusStrip1.PerformLayout()
|
||||
Me.menHauptmenü.ResumeLayout(False)
|
||||
Me.menHauptmenü.PerformLayout()
|
||||
Me.Panel1.ResumeLayout(False)
|
||||
Me.PanelMain.ResumeLayout(False)
|
||||
Me.grbxMoRe.ResumeLayout(False)
|
||||
Me.GroupBoxIntegration.ResumeLayout(False)
|
||||
Me.GBNachindexierung.ResumeLayout(False)
|
||||
Me.grbDI.ResumeLayout(False)
|
||||
Me.ContextMenuStrip1.ResumeLayout(False)
|
||||
Me.groupboxNachbearbeitungAD.ResumeLayout(False)
|
||||
Me.ResumeLayout(False)
|
||||
Me.PerformLayout()
|
||||
|
||||
@@ -494,11 +497,10 @@ Partial Class frmStart
|
||||
Friend WithEvents DateiToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
||||
Friend WithEvents BeendenToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
||||
Friend WithEvents ModuleToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
||||
Friend WithEvents LizenzverwaltungToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
||||
Friend WithEvents HilfeToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
||||
Friend WithEvents ÜberToolStripMenuItem As System.Windows.Forms.ToolStripMenuItem
|
||||
Friend WithEvents ImageList1 As System.Windows.Forms.ImageList
|
||||
Friend WithEvents Panel1 As System.Windows.Forms.Panel
|
||||
Friend WithEvents PanelMain As System.Windows.Forms.Panel
|
||||
Friend WithEvents grbDI As System.Windows.Forms.GroupBox
|
||||
Friend WithEvents btnDIMain As System.Windows.Forms.Button
|
||||
Friend WithEvents btnDIProfile As System.Windows.Forms.Button
|
||||
@@ -527,4 +529,5 @@ Partial Class frmStart
|
||||
Friend WithEvents TimerDeleteLogfiles As Timer
|
||||
Friend WithEvents ToolStripStatusLabel_LogDeleteTime As ToolStripStatusLabel
|
||||
Friend WithEvents ToolStripStatusLabel_ConnectionString As ToolStripStatusLabel
|
||||
Friend WithEvents groupboxNachbearbeitungAD As GroupBox
|
||||
End Class
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAO
|
||||
FAAAAk1TRnQBSQFMAgEBCQEAAXABAwFwAQMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||
FAAAAk1TRnQBSQFMAgEBCQEAAYgBAwGIAQMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||
AwABQAMAATADAAEBAQABCAYAAQwYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||
|
||||
@@ -306,7 +306,7 @@ Public Class frmStart
|
||||
Cursor = Cursors.Default
|
||||
End Sub
|
||||
|
||||
Private Sub LizenzverwaltungToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LizenzverwaltungToolStripMenuItem.Click
|
||||
Private Sub LizenzverwaltungToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
|
||||
' Öffnet den Lizenz-Manager
|
||||
frmLizenzmanager.ShowDialog()
|
||||
End Sub
|
||||
@@ -321,85 +321,9 @@ Public Class frmStart
|
||||
Public Sub LoadAllModules()
|
||||
Me._validModules = Nothing
|
||||
|
||||
If Not My.Settings.licensekey = "" Then
|
||||
If My.Settings.licensekey = "DD MaxLicense" Or My.Settings.licensekey.ToUpper = "DDALLIN" Or My.Settings.licensekey.ToUpper = "DD_ALL_IN" Or My.Settings.licensekey.ToUpper = "DD_ALLIN" Then
|
||||
Me.grbDI.Visible = True
|
||||
Me.GBNachindexierung.Visible = True
|
||||
Me.GroupBoxIntegration.Visible = True
|
||||
LICENSE_AD = True
|
||||
LICENSE_MoveRename = True
|
||||
|
||||
btnNachbearbeitungAD.Visible = True
|
||||
LICENSE_AD = True
|
||||
LICENSE_MoveRename = True
|
||||
Else
|
||||
'Me.licenseManager = New ClassLicenseManager = Nothing
|
||||
Me.licenseManager = New ClassLicenseManager("#DigitalData9731258!#", My.Settings.licensekey)
|
||||
|
||||
Me.licenseManager.licenseString = Me.licenseManager.DecodeLicenseKey(My.Settings.licensekey)
|
||||
|
||||
Me.licenseManager.licenseStringArray = Me.licenseManager.SplitLicenseString(Me.licenseManager.licenseString)
|
||||
Me.licenseManager.LoadLicenses()
|
||||
|
||||
If Me.licenseManager.Licenses.machine.ToLower <> "all" Then
|
||||
If Me.licenseManager.Licenses.machine.ToLower <> My.Computer.Name.ToLower Then
|
||||
MsgBox("Ihre Lizenz gilt nicht für diese Maschine. " & vbNewLine & "Gelesener Computer Name: '" & My.Computer.Name & "'" & vbNewLine & "License Computer Name: '" & Me.licenseManager.Licenses.machine & "'" & vbNewLine &
|
||||
"Bitte setzen Sie sich mit Digital Data in Verbindung.", MsgBoxStyle.Exclamation, "Lizenz ungültig:")
|
||||
Me.grbDI.Visible = False
|
||||
Me.GBNachindexierung.Visible = False
|
||||
Me.GroupBoxIntegration.Visible = False
|
||||
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
|
||||
Dim i As Integer = 0
|
||||
|
||||
If Me.licenseManager.Licenses.Licenses IsNot Nothing Then
|
||||
For Each license As ClassLicense In Me.licenseManager.Licenses.Licenses()
|
||||
Dim expires As String = license.Expires.Date
|
||||
If IsExpired(license.Expires.Date) = False Then
|
||||
' MsgBox(license.Modulename & vbNewLine & expires)
|
||||
Select Case license.Modulename
|
||||
Case "Dateiimport"
|
||||
Me.grbDI.Visible = True
|
||||
Case "Nachindexierung"
|
||||
Me.GBNachindexierung.Visible = True
|
||||
Case "MerkatorIntegration"
|
||||
Me.GroupBoxIntegration.Visible = True
|
||||
Case "MoveandRename"
|
||||
'Me.grbxMoRe.Visible = True
|
||||
LICENSE_MoveRename = True
|
||||
Case "NachbearbeitungAD"
|
||||
btnNachbearbeitungAD.Visible = True
|
||||
LICENSE_AD = True
|
||||
End Select
|
||||
i += 1
|
||||
Else
|
||||
MsgBox("Ihre Lizenz für das Modul '" & license.Modulename & "' ist am ' " & license.Expires.Date.ToShortDateString & "' abgelaufen" & vbNewLine & "Bitte setzen Sie sich mit Digital Data in Verbindung.", MsgBoxStyle.Exclamation, "Lizenz abgelaufen:")
|
||||
Select Case license.Modulename
|
||||
Case "Dateiimport"
|
||||
Me.grbDI.Visible = False
|
||||
Case "Nachindexierung"
|
||||
Me.GBNachindexierung.Visible = False
|
||||
Case "MerkatorIntegration"
|
||||
Me.GroupBoxIntegration.Visible = False
|
||||
Case "MoveandRename"
|
||||
Me.GroupBoxIntegration.Visible = False
|
||||
LICENSE_MoveRename = False
|
||||
Case "NachbearbeitungAD"
|
||||
btnNachbearbeitungAD.Visible = False
|
||||
LICENSE_AD = False
|
||||
End Select
|
||||
i += 1
|
||||
End If
|
||||
'Date.TryParse(expires, license.Expires)
|
||||
|
||||
Next
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
|
||||
End If
|
||||
End Sub
|
||||
Private Function IsExpired(ByVal _Date As Date)
|
||||
If Date.Today > _Date Then
|
||||
|
||||
@@ -2,5 +2,6 @@
|
||||
<packages>
|
||||
<package id="EntityFramework" version="6.0.2" targetFramework="net451" />
|
||||
<package id="NLog" version="5.0.2" targetFramework="net462" />
|
||||
<package id="System.Data.SQLite" version="1.0.91.3" targetFramework="net451" />
|
||||
<package id="Stub.System.Data.SQLite.Core.NetFramework" version="1.0.119.0" targetFramework="net462" />
|
||||
<package id="System.Data.SQLite.Core" version="1.0.119.0" targetFramework="net462" />
|
||||
</packages>
|
||||
Binary file not shown.
Binary file not shown.
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/.signature.p7s
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/.signature.p7s
vendored
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,143 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')"
|
||||
Include="$(MSBuildThisFileDirectory)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net20/x86/SQLite.Interop.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net20/x86/SQLite.Interop.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,143 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')"
|
||||
Include="$(MSBuildThisFileDirectory)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net40/x86/SQLite.Interop.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net40/x86/SQLite.Interop.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,143 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')"
|
||||
Include="$(MSBuildThisFileDirectory)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net45/x86/SQLite.Interop.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net45/x86/SQLite.Interop.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,143 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')"
|
||||
Include="$(MSBuildThisFileDirectory)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net451/x86/SQLite.Interop.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net451/x86/SQLite.Interop.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,143 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')"
|
||||
Include="$(MSBuildThisFileDirectory)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net46/x86/SQLite.Interop.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/build/net46/x86/SQLite.Interop.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,166 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Target Framework Version Directory Base Name **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')">
|
||||
<!--
|
||||
NOTE: Attempt to determine the name of our immediate parent directory,
|
||||
e.g. "net40". This is needed in order to locate the correct set
|
||||
of SQLite interop files. This value will have a trailing slash.
|
||||
-->
|
||||
<SQLiteTargetFramework>$([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..', '$(MSBuildThisFileDirectory)'))</SQLiteTargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<!--
|
||||
NOTE: Grab the list of SQLite interop files to be copied to the build
|
||||
output directory. There should be one file for each supported
|
||||
processor architecture.
|
||||
-->
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)') And
|
||||
'$(SQLiteTargetFramework)' != '' And
|
||||
HasTrailingSlash('$(SQLiteTargetFramework)')"
|
||||
Include="$(MSBuildThisFileDirectory)..\..\build\$(SQLiteTargetFramework)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,166 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Target Framework Version Directory Base Name **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')">
|
||||
<!--
|
||||
NOTE: Attempt to determine the name of our immediate parent directory,
|
||||
e.g. "net40". This is needed in order to locate the correct set
|
||||
of SQLite interop files. This value will have a trailing slash.
|
||||
-->
|
||||
<SQLiteTargetFramework>$([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..', '$(MSBuildThisFileDirectory)'))</SQLiteTargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<!--
|
||||
NOTE: Grab the list of SQLite interop files to be copied to the build
|
||||
output directory. There should be one file for each supported
|
||||
processor architecture.
|
||||
-->
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)') And
|
||||
'$(SQLiteTargetFramework)' != '' And
|
||||
HasTrailingSlash('$(SQLiteTargetFramework)')"
|
||||
Include="$(MSBuildThisFileDirectory)..\..\build\$(SQLiteTargetFramework)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,166 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Target Framework Version Directory Base Name **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')">
|
||||
<!--
|
||||
NOTE: Attempt to determine the name of our immediate parent directory,
|
||||
e.g. "net40". This is needed in order to locate the correct set
|
||||
of SQLite interop files. This value will have a trailing slash.
|
||||
-->
|
||||
<SQLiteTargetFramework>$([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..', '$(MSBuildThisFileDirectory)'))</SQLiteTargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<!--
|
||||
NOTE: Grab the list of SQLite interop files to be copied to the build
|
||||
output directory. There should be one file for each supported
|
||||
processor architecture.
|
||||
-->
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)') And
|
||||
'$(SQLiteTargetFramework)' != '' And
|
||||
HasTrailingSlash('$(SQLiteTargetFramework)')"
|
||||
Include="$(MSBuildThisFileDirectory)..\..\build\$(SQLiteTargetFramework)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,166 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Target Framework Version Directory Base Name **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')">
|
||||
<!--
|
||||
NOTE: Attempt to determine the name of our immediate parent directory,
|
||||
e.g. "net40". This is needed in order to locate the correct set
|
||||
of SQLite interop files. This value will have a trailing slash.
|
||||
-->
|
||||
<SQLiteTargetFramework>$([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..', '$(MSBuildThisFileDirectory)'))</SQLiteTargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<!--
|
||||
NOTE: Grab the list of SQLite interop files to be copied to the build
|
||||
output directory. There should be one file for each supported
|
||||
processor architecture.
|
||||
-->
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)') And
|
||||
'$(SQLiteTargetFramework)' != '' And
|
||||
HasTrailingSlash('$(SQLiteTargetFramework)')"
|
||||
Include="$(MSBuildThisFileDirectory)..\..\build\$(SQLiteTargetFramework)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,166 @@
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.Core.NetFramework.targets -
|
||||
*
|
||||
* WARNING: This MSBuild file requires MSBuild 4.0 features.
|
||||
*
|
||||
* Written by Joe Mistachkin and David Archer.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Load Per-User Settings **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<!--
|
||||
NOTE: If the per-user settings file exists, import it now. The contained
|
||||
settings, if any, will override the default ones provided below.
|
||||
-->
|
||||
<Import Condition="'$(MSBuildThisFileFullPath)' != '' And
|
||||
Exists('$(MSBuildThisFileFullPath).user')"
|
||||
Project="$(MSBuildThisFileFullPath).user" />
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** Target Framework Version Directory Base Name **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)')">
|
||||
<!--
|
||||
NOTE: Attempt to determine the name of our immediate parent directory,
|
||||
e.g. "net40". This is needed in order to locate the correct set
|
||||
of SQLite interop files. This value will have a trailing slash.
|
||||
-->
|
||||
<SQLiteTargetFramework>$([MSBuild]::MakeRelative('$(MSBuildThisFileDirectory)..', '$(MSBuildThisFileDirectory)'))</SQLiteTargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup>
|
||||
<!--
|
||||
NOTE: Grab the list of SQLite interop files to be copied to the build
|
||||
output directory. There should be one file for each supported
|
||||
processor architecture.
|
||||
-->
|
||||
<SQLiteInteropFiles Condition="'$(MSBuildThisFileDirectory)' != '' And
|
||||
HasTrailingSlash('$(MSBuildThisFileDirectory)') And
|
||||
'$(SQLiteTargetFramework)' != '' And
|
||||
HasTrailingSlash('$(SQLiteTargetFramework)')"
|
||||
Include="$(MSBuildThisFileDirectory)..\..\build\$(SQLiteTargetFramework)**\SQLite.Interop.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Content Items **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<ItemGroup Condition="'$(ContentSQLiteInteropFiles)' != '' And
|
||||
'$(ContentSQLiteInteropFiles)' != 'false' And
|
||||
'@(SQLiteInteropFiles)' != ''">
|
||||
<Content Include="@(SQLiteInteropFiles)">
|
||||
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Targets **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CopySQLiteInteropFiles"
|
||||
Condition="'$(CopySQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')"
|
||||
Inputs="@(SQLiteInteropFiles)"
|
||||
Outputs="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<!--
|
||||
NOTE: Copy "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, to the build output directory.
|
||||
-->
|
||||
<Copy SourceFiles="@(SQLiteInteropFiles)"
|
||||
DestinationFiles="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CleanSQLiteInteropFiles"
|
||||
Condition="'$(CleanSQLiteInteropFiles)' != 'false' And
|
||||
'$(OutDir)' != '' And
|
||||
HasTrailingSlash('$(OutDir)') And
|
||||
Exists('$(OutDir)')">
|
||||
<!--
|
||||
NOTE: Delete "SQLite.Interop.dll" and all related files, for every
|
||||
architecture that we support, from the build output directory.
|
||||
-->
|
||||
<Delete Files="@(SQLiteInteropFiles -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<Target Name="CollectSQLiteInteropFiles"
|
||||
Condition="'$(CollectSQLiteInteropFiles)' != 'false'">
|
||||
<ItemGroup>
|
||||
<FilesForPackagingFromProject Include="@(SQLiteInteropFiles)">
|
||||
<DestinationRelativePath>bin\%(RecursiveDir)%(Filename)%(Extension)</DestinationRelativePath>
|
||||
</FilesForPackagingFromProject>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Build Properties **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup>
|
||||
<PostBuildEventDependsOn>
|
||||
$(PostBuildEventDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</PostBuildEventDependsOn>
|
||||
<BuildDependsOn>
|
||||
$(BuildDependsOn);
|
||||
CopySQLiteInteropFiles;
|
||||
</BuildDependsOn>
|
||||
<CleanDependsOn>
|
||||
$(CleanDependsOn);
|
||||
CleanSQLiteInteropFiles;
|
||||
</CleanDependsOn>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
******************************************************************************
|
||||
** SQLite Interop Library Publish Properties for Visual Studio 20xx **
|
||||
******************************************************************************
|
||||
-->
|
||||
|
||||
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' Or
|
||||
'$(VisualStudioVersion)' == '10.0' Or
|
||||
'$(VisualStudioVersion)' == '11.0' Or
|
||||
'$(VisualStudioVersion)' == '12.0' Or
|
||||
'$(VisualStudioVersion)' == '14.0' Or
|
||||
'$(VisualStudioVersion)' == '15.0' Or
|
||||
'$(VisualStudioVersion)' == '16.0' Or
|
||||
'$(VisualStudioVersion)' == '17.0'">
|
||||
<PipelineCollectFilesPhaseDependsOn>
|
||||
CollectSQLiteInteropFiles;
|
||||
$(PipelineCollectFilesPhaseDependsOn);
|
||||
</PipelineCollectFilesPhaseDependsOn>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net20/System.Data.SQLite.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net20/System.Data.SQLite.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.dll.altconfig -
|
||||
*
|
||||
* WARNING: This XML configuration file is intended for use within the NuGet
|
||||
* package directories only. Please do not copy this file to any of
|
||||
* the build output directories because it could interfere with the
|
||||
* native library pre-loading feature.
|
||||
*
|
||||
* Written by Joe Mistachkin.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="PreLoadSQLite_BaseDirectory"
|
||||
value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
|
||||
</appSettings>
|
||||
|
||||
<dllmap dll="SQLite.Interop" target="SQLite.Interop.dll" />
|
||||
</configuration>
|
||||
File diff suppressed because it is too large
Load Diff
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net40/System.Data.SQLite.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net40/System.Data.SQLite.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.dll.altconfig -
|
||||
*
|
||||
* WARNING: This XML configuration file is intended for use within the NuGet
|
||||
* package directories only. Please do not copy this file to any of
|
||||
* the build output directories because it could interfere with the
|
||||
* native library pre-loading feature.
|
||||
*
|
||||
* Written by Joe Mistachkin.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="PreLoadSQLite_BaseDirectory"
|
||||
value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
|
||||
</appSettings>
|
||||
|
||||
<dllmap dll="SQLite.Interop" target="SQLite.Interop.dll" />
|
||||
</configuration>
|
||||
File diff suppressed because it is too large
Load Diff
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net45/System.Data.SQLite.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net45/System.Data.SQLite.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.dll.altconfig -
|
||||
*
|
||||
* WARNING: This XML configuration file is intended for use within the NuGet
|
||||
* package directories only. Please do not copy this file to any of
|
||||
* the build output directories because it could interfere with the
|
||||
* native library pre-loading feature.
|
||||
*
|
||||
* Written by Joe Mistachkin.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="PreLoadSQLite_BaseDirectory"
|
||||
value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
|
||||
</appSettings>
|
||||
|
||||
<dllmap dll="SQLite.Interop" target="SQLite.Interop.dll" />
|
||||
</configuration>
|
||||
File diff suppressed because it is too large
Load Diff
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net451/System.Data.SQLite.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net451/System.Data.SQLite.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.dll.altconfig -
|
||||
*
|
||||
* WARNING: This XML configuration file is intended for use within the NuGet
|
||||
* package directories only. Please do not copy this file to any of
|
||||
* the build output directories because it could interfere with the
|
||||
* native library pre-loading feature.
|
||||
*
|
||||
* Written by Joe Mistachkin.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="PreLoadSQLite_BaseDirectory"
|
||||
value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
|
||||
</appSettings>
|
||||
|
||||
<dllmap dll="SQLite.Interop" target="SQLite.Interop.dll" />
|
||||
</configuration>
|
||||
File diff suppressed because it is too large
Load Diff
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net46/System.Data.SQLite.dll
vendored
Normal file
BIN
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net46/System.Data.SQLite.dll
vendored
Normal file
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
*
|
||||
* System.Data.SQLite.dll.altconfig -
|
||||
*
|
||||
* WARNING: This XML configuration file is intended for use within the NuGet
|
||||
* package directories only. Please do not copy this file to any of
|
||||
* the build output directories because it could interfere with the
|
||||
* native library pre-loading feature.
|
||||
*
|
||||
* Written by Joe Mistachkin.
|
||||
* Released to the public domain, use at your own risk!
|
||||
*
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="PreLoadSQLite_BaseDirectory"
|
||||
value="%PreLoadSQLite_AssemblyDirectory%\..\..\build\%PreLoadSQLite_TargetFramework%" />
|
||||
</appSettings>
|
||||
|
||||
<dllmap dll="SQLite.Interop" target="SQLite.Interop.dll" />
|
||||
</configuration>
|
||||
24166
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net46/System.Data.SQLite.xml
vendored
Normal file
24166
packages/Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0/lib/net46/System.Data.SQLite.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -1,11 +0,0 @@
|
||||
<configuration>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="System.Data.SQLite" />
|
||||
<add name="SQLite Data Provider"
|
||||
invariant="System.Data.SQLite"
|
||||
description=".Net Framework Data Provider for SQLite"
|
||||
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
</configuration>
|
||||
@@ -1,11 +0,0 @@
|
||||
<configuration>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="System.Data.SQLite" />
|
||||
<add name="SQLite Data Provider"
|
||||
invariant="System.Data.SQLite"
|
||||
description=".Net Framework Data Provider for SQLite"
|
||||
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
</configuration>
|
||||
Binary file not shown.
@@ -1,16 +0,0 @@
|
||||
<configuration>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="System.Data.SQLite" />
|
||||
<add name="SQLite Data Provider"
|
||||
invariant="System.Data.SQLite"
|
||||
description=".Net Framework Data Provider for SQLite"
|
||||
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
|
||||
<remove invariant="System.Data.SQLite.EF6" />
|
||||
<add name="SQLite Data Provider (Entity Framework 6)"
|
||||
invariant="System.Data.SQLite.EF6"
|
||||
description=".Net Framework Data Provider for SQLite (Entity Framework 6)"
|
||||
type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
</configuration>
|
||||
@@ -1,16 +0,0 @@
|
||||
<configuration>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="System.Data.SQLite" />
|
||||
<add name="SQLite Data Provider"
|
||||
invariant="System.Data.SQLite"
|
||||
description=".Net Framework Data Provider for SQLite"
|
||||
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
|
||||
<remove invariant="System.Data.SQLite.EF6" />
|
||||
<add name="SQLite Data Provider (Entity Framework 6)"
|
||||
invariant="System.Data.SQLite.EF6"
|
||||
description=".Net Framework Data Provider for SQLite (Entity Framework 6)"
|
||||
type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
</configuration>
|
||||
Binary file not shown.
@@ -1,16 +0,0 @@
|
||||
<configuration>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="System.Data.SQLite" />
|
||||
<add name="SQLite Data Provider"
|
||||
invariant="System.Data.SQLite"
|
||||
description=".Net Framework Data Provider for SQLite"
|
||||
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
|
||||
<remove invariant="System.Data.SQLite.EF6" />
|
||||
<add name="SQLite Data Provider (Entity Framework 6)"
|
||||
invariant="System.Data.SQLite.EF6"
|
||||
description=".Net Framework Data Provider for SQLite (Entity Framework 6)"
|
||||
type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
</configuration>
|
||||
@@ -1,16 +0,0 @@
|
||||
<configuration>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="System.Data.SQLite" />
|
||||
<add name="SQLite Data Provider"
|
||||
invariant="System.Data.SQLite"
|
||||
description=".Net Framework Data Provider for SQLite"
|
||||
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
|
||||
<remove invariant="System.Data.SQLite.EF6" />
|
||||
<add name="SQLite Data Provider (Entity Framework 6)"
|
||||
invariant="System.Data.SQLite.EF6"
|
||||
description=".Net Framework Data Provider for SQLite (Entity Framework 6)"
|
||||
type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
</configuration>
|
||||
Binary file not shown.
@@ -1,16 +0,0 @@
|
||||
<configuration>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="System.Data.SQLite" />
|
||||
<add name="SQLite Data Provider"
|
||||
invariant="System.Data.SQLite"
|
||||
description=".Net Framework Data Provider for SQLite"
|
||||
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
|
||||
<remove invariant="System.Data.SQLite.EF6" />
|
||||
<add name="SQLite Data Provider (Entity Framework 6)"
|
||||
invariant="System.Data.SQLite.EF6"
|
||||
description=".Net Framework Data Provider for SQLite (Entity Framework 6)"
|
||||
type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
</configuration>
|
||||
@@ -1,16 +0,0 @@
|
||||
<configuration>
|
||||
<system.data>
|
||||
<DbProviderFactories>
|
||||
<remove invariant="System.Data.SQLite" />
|
||||
<add name="SQLite Data Provider"
|
||||
invariant="System.Data.SQLite"
|
||||
description=".Net Framework Data Provider for SQLite"
|
||||
type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
|
||||
<remove invariant="System.Data.SQLite.EF6" />
|
||||
<add name="SQLite Data Provider (Entity Framework 6)"
|
||||
invariant="System.Data.SQLite.EF6"
|
||||
description=".Net Framework Data Provider for SQLite (Entity Framework 6)"
|
||||
type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
|
||||
</DbProviderFactories>
|
||||
</system.data>
|
||||
</configuration>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,36 +0,0 @@
|
||||
###############################################################################
|
||||
#
|
||||
# install.ps1 --
|
||||
#
|
||||
# Written by Joe Mistachkin.
|
||||
# Released to the public domain, use at your own risk!
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$platformNames = "x86", "x64"
|
||||
$fileName = "SQLite.Interop.dll"
|
||||
$propertyName = "CopyToOutputDirectory"
|
||||
|
||||
foreach($platformName in $platformNames) {
|
||||
$folder = $project.ProjectItems.Item($platformName)
|
||||
|
||||
if ($folder -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$item = $folder.ProjectItems.Item($fileName)
|
||||
|
||||
if ($item -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$property = $item.Properties.Item($propertyName)
|
||||
|
||||
if ($property -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$property.Value = 1
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
###############################################################################
|
||||
#
|
||||
# install.ps1 --
|
||||
#
|
||||
# Written by Joe Mistachkin.
|
||||
# Released to the public domain, use at your own risk!
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$platformNames = "x86", "x64"
|
||||
$fileName = "SQLite.Interop.dll"
|
||||
$propertyName = "CopyToOutputDirectory"
|
||||
|
||||
foreach($platformName in $platformNames) {
|
||||
$folder = $project.ProjectItems.Item($platformName)
|
||||
|
||||
if ($folder -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$item = $folder.ProjectItems.Item($fileName)
|
||||
|
||||
if ($item -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$property = $item.Properties.Item($propertyName)
|
||||
|
||||
if ($property -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$property.Value = 1
|
||||
}
|
||||
|
||||
Add-EFProvider $project "System.Data.SQLite.EF6" `
|
||||
"System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"
|
||||
@@ -1,39 +0,0 @@
|
||||
###############################################################################
|
||||
#
|
||||
# install.ps1 --
|
||||
#
|
||||
# Written by Joe Mistachkin.
|
||||
# Released to the public domain, use at your own risk!
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$platformNames = "x86", "x64"
|
||||
$fileName = "SQLite.Interop.dll"
|
||||
$propertyName = "CopyToOutputDirectory"
|
||||
|
||||
foreach($platformName in $platformNames) {
|
||||
$folder = $project.ProjectItems.Item($platformName)
|
||||
|
||||
if ($folder -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$item = $folder.ProjectItems.Item($fileName)
|
||||
|
||||
if ($item -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$property = $item.Properties.Item($propertyName)
|
||||
|
||||
if ($property -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$property.Value = 1
|
||||
}
|
||||
|
||||
Add-EFProvider $project "System.Data.SQLite.EF6" `
|
||||
"System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"
|
||||
@@ -1,39 +0,0 @@
|
||||
###############################################################################
|
||||
#
|
||||
# install.ps1 --
|
||||
#
|
||||
# Written by Joe Mistachkin.
|
||||
# Released to the public domain, use at your own risk!
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
$platformNames = "x86", "x64"
|
||||
$fileName = "SQLite.Interop.dll"
|
||||
$propertyName = "CopyToOutputDirectory"
|
||||
|
||||
foreach($platformName in $platformNames) {
|
||||
$folder = $project.ProjectItems.Item($platformName)
|
||||
|
||||
if ($folder -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$item = $folder.ProjectItems.Item($fileName)
|
||||
|
||||
if ($item -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$property = $item.Properties.Item($propertyName)
|
||||
|
||||
if ($property -eq $null) {
|
||||
continue
|
||||
}
|
||||
|
||||
$property.Value = 1
|
||||
}
|
||||
|
||||
Add-EFProvider $project "System.Data.SQLite.EF6" `
|
||||
"System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6"
|
||||
BIN
packages/System.Data.SQLite.Core.1.0.119.0/.signature.p7s
vendored
Normal file
BIN
packages/System.Data.SQLite.Core.1.0.119.0/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/System.Data.SQLite.Core.1.0.119.0/System.Data.SQLite.Core.1.0.119.0.nupkg
vendored
Normal file
BIN
packages/System.Data.SQLite.Core.1.0.119.0/System.Data.SQLite.Core.1.0.119.0.nupkg
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user