diff --git a/Pilz.Collections/My Project/Settings.Designer.vb b/Pilz.Collections/My Project/Settings.Designer.vb
deleted file mode 100644
index 69fe663..0000000
--- a/Pilz.Collections/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.Pilz.Collections.My.MySettings
- Get
- Return Global.Pilz.Collections.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Pilz.Collections/My Project/Settings.settings b/Pilz.Collections/My Project/Settings.settings
deleted file mode 100644
index 85b890b..0000000
--- a/Pilz.Collections/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Pilz.Collections/Pilz.Collections.vbproj b/Pilz.Collections/Pilz.Collections.vbproj
index 01de451..2d25955 100644
--- a/Pilz.Collections/Pilz.Collections.vbproj
+++ b/Pilz.Collections/Pilz.Collections.vbproj
@@ -2,7 +2,7 @@
Windows
- net48
+ netstandard2.0
Pilz.Collections.xml
true
@@ -44,10 +44,6 @@
-
-
-
-
@@ -55,8 +51,6 @@
-
-
@@ -71,11 +65,6 @@
True
Resources.resx
-
- True
- Settings.settings
- True
-
@@ -90,11 +79,6 @@
MyApplicationCodeGenerator
Application.Designer.vb
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
diff --git a/Pilz.Configuration/AutoSaveConfigurationManager.vb b/Pilz.Configuration/AutoSaveConfigurationManager.vb
index bb32d11..7f8ec9a 100644
--- a/Pilz.Configuration/AutoSaveConfigurationManager.vb
+++ b/Pilz.Configuration/AutoSaveConfigurationManager.vb
@@ -45,13 +45,13 @@
Private Sub AddAutoSaveHandler()
If Not addedHandler Then
- AddHandler Windows.Forms.Application.ApplicationExit, AddressOf AutoSaveSettingsOnExit
+ AddHandler AppDomain.CurrentDomain.ProcessExit, AddressOf AutoSaveSettingsOnExit
addedHandler = True
End If
End Sub
Private Sub RemoveAutoSaveHandler()
- RemoveHandler Windows.Forms.Application.ApplicationExit, AddressOf AutoSaveSettingsOnExit
+ RemoveHandler AppDomain.CurrentDomain.ProcessExit, AddressOf AutoSaveSettingsOnExit
addedHandler = False
End Sub
diff --git a/Pilz.Configuration/My Project/Settings.Designer.vb b/Pilz.Configuration/My Project/Settings.Designer.vb
deleted file mode 100644
index 190e071..0000000
--- a/Pilz.Configuration/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.Pilz.Configuration.My.MySettings
- Get
- Return Global.Pilz.Configuration.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Pilz.Configuration/My Project/Settings.settings b/Pilz.Configuration/My Project/Settings.settings
deleted file mode 100644
index 85b890b..0000000
--- a/Pilz.Configuration/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Pilz.Configuration/Pilz.Configuration.vbproj b/Pilz.Configuration/Pilz.Configuration.vbproj
index da1fadc..c0b8974 100644
--- a/Pilz.Configuration/Pilz.Configuration.vbproj
+++ b/Pilz.Configuration/Pilz.Configuration.vbproj
@@ -1,7 +1,7 @@
Windows
- net48
+ netstandard2.0
42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
Pilz.Configuration.xml
true
@@ -31,9 +31,6 @@
-
-
-
@@ -55,11 +52,6 @@
True
Resources.resx
-
- True
- Settings.settings
- True
-
@@ -74,11 +66,6 @@
MyApplicationCodeGenerator
Application.Designer.vb
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
diff --git a/Pilz.Configuration/SettingsManager.vb b/Pilz.Configuration/SettingsManager.vb
index 7639ab7..b32ea99 100644
--- a/Pilz.Configuration/SettingsManager.vb
+++ b/Pilz.Configuration/SettingsManager.vb
@@ -37,11 +37,11 @@ Public NotInheritable Class SettingsManager(Of T As SettingsBase)
End Property
Private Sub AddAutoSaveHandler()
- AddHandler Windows.Forms.Application.ApplicationExit, AddressOf AutoSaveSettingsOnExit
+ AddHandler AppDomain.CurrentDomain.ProcessExit, AddressOf AutoSaveSettingsOnExit
addedHandler = True
End Sub
Private Sub RemoveAutoSaveHandler()
- RemoveHandler Windows.Forms.Application.ApplicationExit, AddressOf AutoSaveSettingsOnExit
+ RemoveHandler AppDomain.CurrentDomain.ProcessExit, AddressOf AutoSaveSettingsOnExit
addedHandler = False
End Sub
diff --git a/Pilz.Cryptography/Pilz.Cryptography.csproj b/Pilz.Cryptography/Pilz.Cryptography.csproj
index 002788b..6d5344e 100644
--- a/Pilz.Cryptography/Pilz.Cryptography.csproj
+++ b/Pilz.Cryptography/Pilz.Cryptography.csproj
@@ -1,6 +1,6 @@
- net48
+ netstandard2.0
Pilz.Cryptography
Pilz.Cryptography
Copyright © 2020
@@ -14,7 +14,4 @@
-
-
-
\ No newline at end of file
diff --git a/Pilz.Cryptography/SimpleStringCrypter.cs b/Pilz.Cryptography/SimpleStringCrypter.cs
index d652e0d..90df652 100644
--- a/Pilz.Cryptography/SimpleStringCrypter.cs
+++ b/Pilz.Cryptography/SimpleStringCrypter.cs
@@ -5,7 +5,6 @@ using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
using System.IO;
-using Microsoft.VisualBasic.CompilerServices;
namespace Pilz.Cryptography
{
@@ -35,7 +34,11 @@ namespace Pilz.Cryptography
SHA1CryptoServiceProvider sha1CryptoServiceProvider = new SHA1CryptoServiceProvider();
byte[] bytes = TextEncoding.GetBytes(key);
byte[] array = sha1CryptoServiceProvider.ComputeHash(bytes);
- return (byte[])Utils.CopyArray(array, new byte[checked(length - 1 + 1)]);
+
+ var output = new byte[checked(length - 1 + 1)];
+ array.CopyTo(output, 0);
+
+ return array;
}
private string EncryptData(string plaintext)
diff --git a/Pilz.Drawing/My Project/Settings.Designer.vb b/Pilz.Drawing/My Project/Settings.Designer.vb
deleted file mode 100644
index 3a2242f..0000000
--- a/Pilz.Drawing/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.Pilz.Drawing.My.MySettings
- Get
- Return Global.Pilz.Drawing.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Pilz.Drawing/My Project/Settings.settings b/Pilz.Drawing/My Project/Settings.settings
deleted file mode 100644
index 85b890b..0000000
--- a/Pilz.Drawing/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Pilz.Drawing/Pilz.Drawing.vbproj b/Pilz.Drawing/Pilz.Drawing.vbproj
index 14e7e2b..0e80179 100644
--- a/Pilz.Drawing/Pilz.Drawing.vbproj
+++ b/Pilz.Drawing/Pilz.Drawing.vbproj
@@ -49,11 +49,6 @@
True
Resources.resx
-
- True
- Settings.settings
- True
-
@@ -68,10 +63,5 @@
MyApplicationCodeGenerator
Application.Designer.vb
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
\ No newline at end of file
diff --git a/Pilz.IO/ManagedPipes/ManagedPipeClient.cs b/Pilz.IO/ManagedPipes/ManagedPipeClient.cs
index 4264079..cbac124 100644
--- a/Pilz.IO/ManagedPipes/ManagedPipeClient.cs
+++ b/Pilz.IO/ManagedPipes/ManagedPipeClient.cs
@@ -2,7 +2,6 @@
using System.Collections.Generic;
using global::System.IO.Pipes;
using System.Threading.Tasks;
-using global::Pilz.Threading;
namespace Pilz.IO
{
@@ -11,8 +10,6 @@ namespace Pilz.IO
private PipeStream pipeStream;
private byte[] _Buf = new byte[1024];
- public bool RaiseEventsGui { get; set; } = true;
-
public ManagedPipeClient(string pipeName) : this(pipeName, ".")
{
}
@@ -55,15 +52,7 @@ namespace Pilz.IO
int bytesCount = pipeStream.EndRead(ar);
if (bytesCount == 0) // leere Datenübermittlung signalisiert Verbindungsabbruch
{
- if (RaiseEventsGui)
- {
- CrossThreadsInvokeing.RunGui(Dispose);
- }
- else
- {
- Dispose();
- }
-
+ Dispose();
return;
}
@@ -78,14 +67,7 @@ namespace Pilz.IO
}
var deargs = new DataEventArgs(list.ToArray());
- if (RaiseEventsGui)
- {
- CrossThreadsInvokeing.RunGui(OnRetriveData, deargs);
- }
- else
- {
- OnRetriveData(deargs);
- }
+ OnRetriveData(deargs);
pipeStream.BeginRead(_Buf, 0, _Buf.Length, EndRead, null);
}
diff --git a/Pilz.IO/My Project/MyNamespace.Static.1.Designer.cs b/Pilz.IO/My Project/MyNamespace.Static.1.Designer.cs
deleted file mode 100644
index f592364..0000000
--- a/Pilz.IO/My Project/MyNamespace.Static.1.Designer.cs
+++ /dev/null
@@ -1,192 +0,0 @@
-// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-
-using System;
-using System.Diagnostics;
-using Microsoft.VisualBasic;
-
-/* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
-/* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia */
-/* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia *//* TODO ERROR: Skipped DefineDirectiveTrivia */
-/* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
-/* TODO ERROR: Skipped IfDirectiveTrivia */
-namespace Pilz.IO.My
-{
-
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.CodeDom.Compiler.GeneratedCode("MyTemplate", "11.0.0.0")]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
-
- /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped ElifDirectiveTrivia */
- internal partial class MyApplication : Microsoft.VisualBasic.ApplicationServices.ApplicationBase
- {
- /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- }
-
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.CodeDom.Compiler.GeneratedCode("MyTemplate", "11.0.0.0")]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
-
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- internal partial class MyComputer : Microsoft.VisualBasic.Devices.Computer
- {
- /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- [DebuggerHidden()]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public MyComputer() : base()
- {
- }
- }
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- [HideModuleName()]
- [System.CodeDom.Compiler.GeneratedCode("MyTemplate", "11.0.0.0")]
- internal static class MyProject
- {
-
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.ComponentModel.Design.HelpKeyword("My.Computer")]
- internal static MyComputer Computer
- {
- [DebuggerHidden()]
- get
- {
- return m_ComputerObjectProvider.GetInstance;
- }
- }
-
- private readonly static ThreadSafeObjectProvider m_ComputerObjectProvider = new ThreadSafeObjectProvider();
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.ComponentModel.Design.HelpKeyword("My.Application")]
- internal static MyApplication Application
- {
- [DebuggerHidden()]
- get
- {
- return m_AppObjectProvider.GetInstance;
- }
- }
-
- private readonly static ThreadSafeObjectProvider m_AppObjectProvider = new ThreadSafeObjectProvider();
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.ComponentModel.Design.HelpKeyword("My.User")]
- internal static Microsoft.VisualBasic.ApplicationServices.User User
- {
- [DebuggerHidden()]
- get
- {
- return m_UserObjectProvider.GetInstance;
- }
- }
-
- private readonly static ThreadSafeObjectProvider m_UserObjectProvider = new ThreadSafeObjectProvider();
- /* TODO ERROR: Skipped ElifDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [System.ComponentModel.Design.HelpKeyword("My.WebServices")]
- internal static MyWebServices WebServices
- {
- [DebuggerHidden()]
- get
- {
- return m_MyWebServicesObjectProvider.GetInstance;
- }
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [MyGroupCollection("System.Web.Services.Protocols.SoapHttpClientProtocol", "Create__Instance__", "Dispose__Instance__", "")]
- internal sealed class MyWebServices
- {
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [DebuggerHidden()]
- public override bool Equals(object o)
- {
- return base.Equals(o);
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [DebuggerHidden()]
- public override int GetHashCode()
- {
- return base.GetHashCode();
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [DebuggerHidden()]
- internal new Type GetType()
- {
- return typeof(MyWebServices);
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [DebuggerHidden()]
- public override string ToString()
- {
- return base.ToString();
- }
-
- [DebuggerHidden()]
- private static T Create__Instance__(T instance) where T : new()
- {
- if (instance == null)
- {
- return new T();
- }
- else
- {
- return instance;
- }
- }
-
- [DebuggerHidden()]
- private void Dispose__Instance__(ref T instance)
- {
- instance = default;
- }
-
- [DebuggerHidden()]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public MyWebServices() : base()
- {
- }
- }
-
- private readonly static ThreadSafeObjectProvider m_MyWebServicesObjectProvider = new ThreadSafeObjectProvider();
- /* TODO ERROR: Skipped EndIfDirectiveTrivia */
- /* TODO ERROR: Skipped IfDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- [System.Runtime.InteropServices.ComVisible(false)]
- internal sealed class ThreadSafeObjectProvider where T : new()
- {
- internal T GetInstance
- {
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- [DebuggerHidden()]
- get
- {
- var Value = m_Context.Value;
- if (Value == null)
- {
- Value = new T();
- m_Context.Value = Value;
- }
-
- return Value;
- }
- /* TODO ERROR: Skipped ElseDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- }
-
- [DebuggerHidden()]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public ThreadSafeObjectProvider() : base()
- {
- }
-
- /* TODO ERROR: Skipped IfDirectiveTrivia */
- private readonly Microsoft.VisualBasic.MyServices.Internal.ContextValue m_Context = new Microsoft.VisualBasic.MyServices.Internal.ContextValue();
- /* TODO ERROR: Skipped ElseDirectiveTrivia *//* TODO ERROR: Skipped DisabledTextTrivia *//* TODO ERROR: Skipped EndIfDirectiveTrivia */
- }
- }
-}
-/* TODO ERROR: Skipped EndIfDirectiveTrivia */
diff --git a/Pilz.IO/My Project/MyNamespace.Static.2.Designer.cs b/Pilz.IO/My Project/MyNamespace.Static.2.Designer.cs
deleted file mode 100644
index dc1cdcf..0000000
--- a/Pilz.IO/My Project/MyNamespace.Static.2.Designer.cs
+++ /dev/null
@@ -1,253 +0,0 @@
-// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-
-// See Compiler::LoadXmlSolutionExtension
-using System.Collections;
-using System.Collections.Generic;
-using System.Data;
-using System.Diagnostics;
-using System.Linq;
-using System.Xml.Linq;
-using Microsoft.VisualBasic;
-using Microsoft.VisualBasic.CompilerServices;
-
-namespace Pilz.IO.My
-{
- [Embedded()]
- [DebuggerNonUserCode()]
- [System.Runtime.CompilerServices.CompilerGenerated()]
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- internal sealed class InternalXmlHelper
- {
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- private InternalXmlHelper()
- {
- }
-
- public static string get_Value(IEnumerable source)
- {
- foreach (XElement item in source)
- return item.Value;
- return null;
- }
-
- public static void set_Value(IEnumerable source, string value)
- {
- foreach (XElement item in source)
- {
- item.Value = value;
- break;
- }
- }
-
- public static string get_AttributeValue(IEnumerable source, XName name)
- {
- foreach (XElement item in source)
- return Conversions.ToString(item.Attribute(name));
- return null;
- }
-
- public static void set_AttributeValue(IEnumerable source, XName name, string value)
- {
- foreach (XElement item in source)
- {
- item.SetAttributeValue(name, value);
- break;
- }
- }
-
- public static string get_AttributeValue(XElement source, XName name)
- {
- return Conversions.ToString(source.Attribute(name));
- }
-
- public static void set_AttributeValue(XElement source, XName name, string value)
- {
- source.SetAttributeValue(name, value);
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public static XAttribute CreateAttribute(XName name, object value)
- {
- if (value is null)
- {
- return null;
- }
-
- return new XAttribute(name, value);
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public static XAttribute CreateNamespaceAttribute(XName name, XNamespace ns)
- {
- var a = new XAttribute(name, ns.NamespaceName);
- a.AddAnnotation(ns);
- return a;
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public static object RemoveNamespaceAttributes(string[] inScopePrefixes, XNamespace[] inScopeNs, List attributes, object obj)
- {
- if (obj is object)
- {
- XElement elem = obj as XElement;
- if (elem is object)
- {
- return RemoveNamespaceAttributes(inScopePrefixes, inScopeNs, attributes, elem);
- }
- else
- {
- IEnumerable elems = obj as IEnumerable;
- if (elems is object)
- {
- return RemoveNamespaceAttributes(inScopePrefixes, inScopeNs, attributes, elems);
- }
- }
- }
-
- return obj;
- }
-
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
- public static IEnumerable RemoveNamespaceAttributes(string[] inScopePrefixes, XNamespace[] inScopeNs, List attributes, IEnumerable obj)
- {
- if (obj is object)
- {
- IEnumerable elems = obj as IEnumerable;
- if (elems is object)
- {
- return elems.Select(new RemoveNamespaceAttributesClosure(inScopePrefixes, inScopeNs, attributes).ProcessXElement);
- }
- else
- {
- return obj.Cast
@@ -71,10 +66,5 @@
MyApplicationCodeGenerator
Application.Designer.vb
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
\ No newline at end of file
diff --git a/Pilz.Reflection.PluginSystem/My Project/Settings.Designer.vb b/Pilz.Reflection.PluginSystem/My Project/Settings.Designer.vb
deleted file mode 100644
index b9afff4..0000000
--- a/Pilz.Reflection.PluginSystem/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.Pilz.Reflection.PluginSystem.My.MySettings
- Get
- Return Global.Pilz.Reflection.PluginSystem.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Pilz.Reflection.PluginSystem/My Project/Settings.settings b/Pilz.Reflection.PluginSystem/My Project/Settings.settings
deleted file mode 100644
index 85b890b..0000000
--- a/Pilz.Reflection.PluginSystem/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Pilz.Reflection.PluginSystem/Pilz.Reflection.PluginSystem.vbproj b/Pilz.Reflection.PluginSystem/Pilz.Reflection.PluginSystem.vbproj
index 5cbc162..43d8bca 100644
--- a/Pilz.Reflection.PluginSystem/Pilz.Reflection.PluginSystem.vbproj
+++ b/Pilz.Reflection.PluginSystem/Pilz.Reflection.PluginSystem.vbproj
@@ -1,7 +1,7 @@
Windows
- net48
+ netstandard2.0
42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
Pilz.Reflection.PluginSystem.xml
true
@@ -49,11 +49,6 @@
True
Resources.resx
-
- True
- Settings.settings
- True
-
@@ -68,10 +63,5 @@
MyApplicationCodeGenerator
Application.Designer.vb
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
\ No newline at end of file
diff --git a/Pilz.Simple3DFileParser/My Project/Settings.Designer.vb b/Pilz.Simple3DFileParser/My Project/Settings.Designer.vb
deleted file mode 100644
index 60c5980..0000000
--- a/Pilz.Simple3DFileParser/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.Pilz.S3DFileParser.My.MySettings
- Get
- Return Global.Pilz.S3DFileParser.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Pilz.Simple3DFileParser/My Project/Settings.settings b/Pilz.Simple3DFileParser/My Project/Settings.settings
deleted file mode 100644
index 85b890b..0000000
--- a/Pilz.Simple3DFileParser/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Pilz.Simple3DFileParser/Pilz.Simple3DFileParser.vbproj b/Pilz.Simple3DFileParser/Pilz.Simple3DFileParser.vbproj
index 3e15a3f..4ed138b 100644
--- a/Pilz.Simple3DFileParser/Pilz.Simple3DFileParser.vbproj
+++ b/Pilz.Simple3DFileParser/Pilz.Simple3DFileParser.vbproj
@@ -3,7 +3,7 @@
Pilz.S3DFileParser
Windows
- net48
+ netstandard2.0
42016,41999,42017,42018,42019,42032,42036,42020,42021,42022
Pilz.Simple3DFileParser.xml
true
@@ -28,10 +28,11 @@
+
-
+
@@ -41,8 +42,6 @@
..\Shared Libs\ColladaSchema.dll
-
-
@@ -52,7 +51,6 @@
-
@@ -67,11 +65,6 @@
True
Resources.resx
-
- True
- Settings.settings
- True
-
@@ -86,11 +79,6 @@
MyApplicationCodeGenerator
Application.Designer.vb
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
diff --git a/Pilz.Threading/CrossThreadsInvokeing.vb b/Pilz.Threading/CrossThreadsInvokeing.vb
index a43f643..9e0e273 100644
--- a/Pilz.Threading/CrossThreadsInvokeing.vb
+++ b/Pilz.Threading/CrossThreadsInvokeing.vb
@@ -8,7 +8,6 @@
'Imports System
Imports System.Windows.Forms
-
'''
''' Stellt Methoden bereit, mit denen ein beliebiger Methoden-Aufruf mit bis zu 3 Argumenten
''' in einen Nebenthread verlegt werden kann, bzw. aus einem Nebenthread in den Hauptthread
diff --git a/Pilz.Threading/My Project/Settings.Designer.vb b/Pilz.Threading/My Project/Settings.Designer.vb
deleted file mode 100644
index 6a2281a..0000000
--- a/Pilz.Threading/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.Pilz.Threading.My.MySettings
- Get
- Return Global.Pilz.Threading.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Pilz.Threading/My Project/Settings.settings b/Pilz.Threading/My Project/Settings.settings
deleted file mode 100644
index 85b890b..0000000
--- a/Pilz.Threading/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Pilz.Threading/Pilz.Threading.vbproj b/Pilz.Threading/Pilz.Threading.vbproj
index 959c66c..16c2449 100644
--- a/Pilz.Threading/Pilz.Threading.vbproj
+++ b/Pilz.Threading/Pilz.Threading.vbproj
@@ -81,10 +81,5 @@
MyApplicationCodeGenerator
Application.Designer.vb
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
\ No newline at end of file
diff --git a/Pilz/My Project/Settings.Designer.vb b/Pilz/My Project/Settings.Designer.vb
deleted file mode 100644
index 4ea8662..0000000
--- a/Pilz/My Project/Settings.Designer.vb
+++ /dev/null
@@ -1,73 +0,0 @@
-'------------------------------------------------------------------------------
-'
-' Dieser Code wurde von einem Tool generiert.
-' Laufzeitversion:4.0.30319.42000
-'
-' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-' der Code erneut generiert wird.
-'
-'------------------------------------------------------------------------------
-
-Option Strict On
-Option Explicit On
-
-
-Namespace My
-
- _
- Partial Friend NotInheritable Class MySettings
- Inherits Global.System.Configuration.ApplicationSettingsBase
-
- Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
-
-#Region "Automatische My.Settings-Speicherfunktion"
-#If _MyType = "WindowsForms" Then
- Private Shared addedHandler As Boolean
-
- Private Shared addedHandlerLockObject As New Object
-
- _
- Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
- If My.Application.SaveMySettingsOnExit Then
- My.Settings.Save()
- End If
- End Sub
-#End If
-#End Region
-
- Public Shared ReadOnly Property [Default]() As MySettings
- Get
-
-#If _MyType = "WindowsForms" Then
- If Not addedHandler Then
- SyncLock addedHandlerLockObject
- If Not addedHandler Then
- AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
- addedHandler = True
- End If
- End SyncLock
- End If
-#End If
- Return defaultInstance
- End Get
- End Property
- End Class
-End Namespace
-
-Namespace My
-
- _
- Friend Module MySettingsProperty
-
- _
- Friend ReadOnly Property Settings() As Global.Pilz.My.MySettings
- Get
- Return Global.Pilz.My.MySettings.Default
- End Get
- End Property
- End Module
-End Namespace
diff --git a/Pilz/My Project/Settings.settings b/Pilz/My Project/Settings.settings
deleted file mode 100644
index 85b890b..0000000
--- a/Pilz/My Project/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/Pilz/Pilz.vbproj b/Pilz/Pilz.vbproj
index 82153db..c0a2614 100644
--- a/Pilz/Pilz.vbproj
+++ b/Pilz/Pilz.vbproj
@@ -1,7 +1,7 @@
Windows
- net48
+ netstandard2.0
Pilz.xml
true
latest
@@ -59,11 +59,6 @@
True
Resources.resx
-
- True
- Settings.settings
- True
-
@@ -78,10 +73,5 @@
MyApplicationCodeGenerator
Application.Designer.vb
-
- SettingsSingleFileGenerator
- My
- Settings.Designer.vb
-
\ No newline at end of file