diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3849c7ef37b..f6140605ead 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -51,35 +51,6 @@ jobs: # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality - - - name: Install .NET Framework 4.6 - # Install all (latest) SDKs which are used by multi framework projects - run: choco install dotnet4.6 - - - name: Install .NET Framework 4.6.1 Targeting Pack - run: | - # Install all (latest) SDKs which are used by multi framework projects - Set-Location "C:\Program Files (x86)\Microsoft Visual Studio\Installer\" - $InstallPath = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise" - $componentsToAdd = @( - "Microsoft.Net.Component.4.6.1.TargetingPack" - ) - [string]$workloadArgs = $componentsToAdd | ForEach-Object {" --add " + $_} - $Arguments = ('/c', "vs_installer.exe", 'modify', '--installPath', "`"$InstallPath`"",$workloadArgs, '--quiet', '--norestart', '--nocache') - $process = Start-Process -FilePath cmd.exe -ArgumentList $Arguments -Wait -PassThru -WindowStyle Hidden - if ($process.ExitCode -eq 0) - { - Write-Host "components have been successfully added" - } - else - { - Write-Host "components were not installed" - exit 1 - } - - - name: Install .NET Framework 4.6.1 - # Install all (latest) SDKs which are used by multi framework projects - run: choco install dotnet4.6.1 # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) diff --git a/Source/Libraries/Adapters/AdoAdapters/AdoAdapters.csproj b/Source/Libraries/Adapters/AdoAdapters/AdoAdapters.csproj index adec06dd03d..62eefed884d 100755 --- a/Source/Libraries/Adapters/AdoAdapters/AdoAdapters.csproj +++ b/Source/Libraries/Adapters/AdoAdapters/AdoAdapters.csproj @@ -50,6 +50,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -71,6 +74,9 @@ GSF.Core + + + diff --git a/Source/Libraries/Adapters/AdoAdapters/packages.config b/Source/Libraries/Adapters/AdoAdapters/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/AdoAdapters/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/ArchivistAdapters/ArchivistAdapters.csproj b/Source/Libraries/Adapters/ArchivistAdapters/ArchivistAdapters.csproj index 0eb7a4f89c3..6d3c9abc4c1 100755 --- a/Source/Libraries/Adapters/ArchivistAdapters/ArchivistAdapters.csproj +++ b/Source/Libraries/Adapters/ArchivistAdapters/ArchivistAdapters.csproj @@ -55,6 +55,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -78,6 +81,9 @@ + + + diff --git a/Source/Libraries/Adapters/ArchivistAdapters/packages.config b/Source/Libraries/Adapters/ArchivistAdapters/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/ArchivistAdapters/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/AudioAdapters/AudioAdapters.csproj b/Source/Libraries/Adapters/AudioAdapters/AudioAdapters.csproj index 308f65a5697..86ec1806c26 100755 --- a/Source/Libraries/Adapters/AudioAdapters/AudioAdapters.csproj +++ b/Source/Libraries/Adapters/AudioAdapters/AudioAdapters.csproj @@ -49,6 +49,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -69,6 +72,9 @@ GSF.TimeSeries + + + diff --git a/Source/Libraries/Adapters/AudioAdapters/packages.config b/Source/Libraries/Adapters/AudioAdapters/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/AudioAdapters/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/AzureEventHubAdapters/AzureEventHubAdapters.csproj b/Source/Libraries/Adapters/AzureEventHubAdapters/AzureEventHubAdapters.csproj index 4aa2b2dfe0c..219fcf5568d 100644 --- a/Source/Libraries/Adapters/AzureEventHubAdapters/AzureEventHubAdapters.csproj +++ b/Source/Libraries/Adapters/AzureEventHubAdapters/AzureEventHubAdapters.csproj @@ -59,6 +59,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + diff --git a/Source/Libraries/Adapters/AzureEventHubAdapters/packages.config b/Source/Libraries/Adapters/AzureEventHubAdapters/packages.config index 2a4582477fc..5307b8c84f2 100644 --- a/Source/Libraries/Adapters/AzureEventHubAdapters/packages.config +++ b/Source/Libraries/Adapters/AzureEventHubAdapters/packages.config @@ -2,4 +2,5 @@ + \ No newline at end of file diff --git a/Source/Libraries/Adapters/COMTRADEAdapters/COMTRADEAdapters.csproj b/Source/Libraries/Adapters/COMTRADEAdapters/COMTRADEAdapters.csproj index 839f91b757b..2e8b3f1d005 100755 --- a/Source/Libraries/Adapters/COMTRADEAdapters/COMTRADEAdapters.csproj +++ b/Source/Libraries/Adapters/COMTRADEAdapters/COMTRADEAdapters.csproj @@ -52,6 +52,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -75,6 +78,9 @@ PhasorProtocolAdapters + + + diff --git a/Source/Libraries/Adapters/COMTRADEAdapters/packages.config b/Source/Libraries/Adapters/COMTRADEAdapters/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/COMTRADEAdapters/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/CsvAdapters/CsvAdapters.csproj b/Source/Libraries/Adapters/CsvAdapters/CsvAdapters.csproj index 2bb2b9cff6a..e6119a53008 100755 --- a/Source/Libraries/Adapters/CsvAdapters/CsvAdapters.csproj +++ b/Source/Libraries/Adapters/CsvAdapters/CsvAdapters.csproj @@ -49,6 +49,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -73,6 +76,9 @@ GSF.Core + + + diff --git a/Source/Libraries/Adapters/CsvAdapters/packages.config b/Source/Libraries/Adapters/CsvAdapters/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/CsvAdapters/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/DataQualityMonitoring/DataQualityMonitoring.csproj b/Source/Libraries/Adapters/DataQualityMonitoring/DataQualityMonitoring.csproj index b555bb46705..8339a54af3f 100755 --- a/Source/Libraries/Adapters/DataQualityMonitoring/DataQualityMonitoring.csproj +++ b/Source/Libraries/Adapters/DataQualityMonitoring/DataQualityMonitoring.csproj @@ -50,6 +50,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -96,7 +99,9 @@ GSF.ServiceModel - + + + diff --git a/Source/Libraries/Adapters/DataQualityMonitoring/packages.config b/Source/Libraries/Adapters/DataQualityMonitoring/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/DataQualityMonitoring/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/DeviceStatAdapters/DeviceStatAdapters.csproj b/Source/Libraries/Adapters/DeviceStatAdapters/DeviceStatAdapters.csproj index feb725d31d9..b3e29f9ea7b 100644 --- a/Source/Libraries/Adapters/DeviceStatAdapters/DeviceStatAdapters.csproj +++ b/Source/Libraries/Adapters/DeviceStatAdapters/DeviceStatAdapters.csproj @@ -44,6 +44,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -71,6 +74,9 @@ + + + diff --git a/Source/Libraries/Adapters/DeviceStatAdapters/packages.config b/Source/Libraries/Adapters/DeviceStatAdapters/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/DeviceStatAdapters/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/Dnp3Adapters/Dnp3Adapters.csproj b/Source/Libraries/Adapters/Dnp3Adapters/Dnp3Adapters.csproj index 05b65a8cdd8..185bcd338a3 100755 --- a/Source/Libraries/Adapters/Dnp3Adapters/Dnp3Adapters.csproj +++ b/Source/Libraries/Adapters/Dnp3Adapters/Dnp3Adapters.csproj @@ -65,6 +65,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + diff --git a/Source/Libraries/Adapters/Dnp3Adapters/packages.config b/Source/Libraries/Adapters/Dnp3Adapters/packages.config index cbe4e51dd09..62b8a8a2700 100644 --- a/Source/Libraries/Adapters/Dnp3Adapters/packages.config +++ b/Source/Libraries/Adapters/Dnp3Adapters/packages.config @@ -1,4 +1,5 @@  + \ No newline at end of file diff --git a/Source/Libraries/Adapters/DynamicCalculator/DynamicCalculator.csproj b/Source/Libraries/Adapters/DynamicCalculator/DynamicCalculator.csproj index 2a1f3045844..e3e66065ecf 100755 --- a/Source/Libraries/Adapters/DynamicCalculator/DynamicCalculator.csproj +++ b/Source/Libraries/Adapters/DynamicCalculator/DynamicCalculator.csproj @@ -55,6 +55,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -79,6 +82,9 @@ GSF.Core + + + diff --git a/Source/Libraries/Adapters/DynamicCalculator/packages.config b/Source/Libraries/Adapters/DynamicCalculator/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/DynamicCalculator/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/EpriExport/EpriExport.csproj b/Source/Libraries/Adapters/EpriExport/EpriExport.csproj index d155f0c5d49..79f850688f0 100755 --- a/Source/Libraries/Adapters/EpriExport/EpriExport.csproj +++ b/Source/Libraries/Adapters/EpriExport/EpriExport.csproj @@ -50,6 +50,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -80,6 +83,9 @@ PhasorProtocolAdapters + + + diff --git a/Source/Libraries/Adapters/EpriExport/packages.config b/Source/Libraries/Adapters/EpriExport/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/EpriExport/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/FileAdapters/FileAdapters.csproj b/Source/Libraries/Adapters/FileAdapters/FileAdapters.csproj index 42a6c7e17fc..24906b1ce46 100755 --- a/Source/Libraries/Adapters/FileAdapters/FileAdapters.csproj +++ b/Source/Libraries/Adapters/FileAdapters/FileAdapters.csproj @@ -48,6 +48,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -94,6 +97,9 @@ MSBuild:Compile + + + diff --git a/Source/Libraries/Adapters/FileAdapters/packages.config b/Source/Libraries/Adapters/FileAdapters/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/FileAdapters/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/FtpAdapters/FtpAdapters.csproj b/Source/Libraries/Adapters/FtpAdapters/FtpAdapters.csproj index 8ddf5295dbb..e48b2d7a07b 100755 --- a/Source/Libraries/Adapters/FtpAdapters/FtpAdapters.csproj +++ b/Source/Libraries/Adapters/FtpAdapters/FtpAdapters.csproj @@ -46,6 +46,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -65,6 +68,9 @@ GSF.TimeSeries + + + diff --git a/Source/Libraries/Adapters/FtpAdapters/packages.config b/Source/Libraries/Adapters/FtpAdapters/packages.config new file mode 100644 index 00000000000..f87cfaecc97 --- /dev/null +++ b/Source/Libraries/Adapters/FtpAdapters/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Source/Libraries/Adapters/HistorianAdapters/HistorianAdapters.csproj b/Source/Libraries/Adapters/HistorianAdapters/HistorianAdapters.csproj index 3fa6ba615be..584d9ec186f 100755 --- a/Source/Libraries/Adapters/HistorianAdapters/HistorianAdapters.csproj +++ b/Source/Libraries/Adapters/HistorianAdapters/HistorianAdapters.csproj @@ -55,6 +55,9 @@ + + ..\..\..\Dependencies\NuGet\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + @@ -89,6 +92,9 @@ GSF.TimeSeries + + +