From 799cfd31cd254e985fe1eda2a591bad173a87852 Mon Sep 17 00:00:00 2001 From: Permitin Yury Date: Sun, 23 Apr 2023 09:52:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20=D0=BF=D1=83=D1=82=D0=B8=20=D0=BA=20=D0=BA?= =?UTF-8?q?=D0=B0=D1=82=D0=B0=D0=BB=D0=BE=D0=B3=D0=B0=D0=BC=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B5=D1=82=D0=BA=D0=B0=20DevAdmHelpers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Пути не соответствовали именам проектам и пространствам имен --- .../DevAdmHelpers.Tests.csproj | 2 +- .../EntryDiagnosticTest.cs | 0 .../Usings.cs | 0 .../Projects/DevAdmHelpers/DevAdmHelpers.sln | 4 +-- .../DevAdmHelpers.csproj | 0 .../EntryBase.cs | 0 .../EntryDiagnostic.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../Projects/DevAdmHelpers/Readme.md | 28 +++++++++---------- 9 files changed, 17 insertions(+), 17 deletions(-) rename SQL-Server-SQLCLR/Projects/DevAdmHelpers/{DevAdmHelpers.SQLCLR.Tests => DevAdmHelpers.Tests}/DevAdmHelpers.Tests.csproj (92%) rename SQL-Server-SQLCLR/Projects/DevAdmHelpers/{DevAdmHelpers.SQLCLR.Tests => DevAdmHelpers.Tests}/EntryDiagnosticTest.cs (100%) rename SQL-Server-SQLCLR/Projects/DevAdmHelpers/{DevAdmHelpers.SQLCLR.Tests => DevAdmHelpers.Tests}/Usings.cs (100%) rename SQL-Server-SQLCLR/Projects/DevAdmHelpers/{DevAdmHelpers.SQLCLR => DevAdmHelpers}/DevAdmHelpers.csproj (100%) rename SQL-Server-SQLCLR/Projects/DevAdmHelpers/{DevAdmHelpers.SQLCLR => DevAdmHelpers}/EntryBase.cs (100%) rename SQL-Server-SQLCLR/Projects/DevAdmHelpers/{DevAdmHelpers.SQLCLR => DevAdmHelpers}/EntryDiagnostic.cs (100%) rename SQL-Server-SQLCLR/Projects/DevAdmHelpers/{DevAdmHelpers.SQLCLR => DevAdmHelpers}/Properties/AssemblyInfo.cs (100%) diff --git a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR.Tests/DevAdmHelpers.Tests.csproj b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.Tests/DevAdmHelpers.Tests.csproj similarity index 92% rename from SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR.Tests/DevAdmHelpers.Tests.csproj rename to SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.Tests/DevAdmHelpers.Tests.csproj index 3f425df..c61b6fe 100644 --- a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR.Tests/DevAdmHelpers.Tests.csproj +++ b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.Tests/DevAdmHelpers.Tests.csproj @@ -23,7 +23,7 @@ - + diff --git a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR.Tests/EntryDiagnosticTest.cs b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.Tests/EntryDiagnosticTest.cs similarity index 100% rename from SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR.Tests/EntryDiagnosticTest.cs rename to SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.Tests/EntryDiagnosticTest.cs diff --git a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR.Tests/Usings.cs b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.Tests/Usings.cs similarity index 100% rename from SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR.Tests/Usings.cs rename to SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.Tests/Usings.cs diff --git a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.sln b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.sln index 1bbdfcd..c88b9e3 100644 --- a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.sln +++ b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.sln @@ -3,13 +3,13 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.5.33530.505 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevAdmHelpers", "DevAdmHelpers.SQLCLR\DevAdmHelpers.csproj", "{181CDC87-A70E-48B0-AFED-D8B8B782FB71}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevAdmHelpers", "DevAdmHelpers\DevAdmHelpers.csproj", "{181CDC87-A70E-48B0-AFED-D8B8B782FB71}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Libs", "Libs", "{549056E1-02AF-4C2B-91C0-B5E52B1D51AD}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{7C2F57BE-D1B3-4DB5-8545-8FF318BEFBB4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevAdmHelpers.Tests", "DevAdmHelpers.SQLCLR.Tests\DevAdmHelpers.Tests.csproj", "{BEB541D3-6061-4E8B-A8BC-746EA1B88525}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DevAdmHelpers.Tests", "DevAdmHelpers.Tests\DevAdmHelpers.Tests.csproj", "{BEB541D3-6061-4E8B-A8BC-746EA1B88525}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{1A108FF1-54B1-4F2D-9B3C-CF1A8A4854F8}" ProjectSection(SolutionItems) = preProject diff --git a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR/DevAdmHelpers.csproj b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers/DevAdmHelpers.csproj similarity index 100% rename from SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR/DevAdmHelpers.csproj rename to SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers/DevAdmHelpers.csproj diff --git a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR/EntryBase.cs b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers/EntryBase.cs similarity index 100% rename from SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR/EntryBase.cs rename to SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers/EntryBase.cs diff --git a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR/EntryDiagnostic.cs b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers/EntryDiagnostic.cs similarity index 100% rename from SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR/EntryDiagnostic.cs rename to SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers/EntryDiagnostic.cs diff --git a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR/Properties/AssemblyInfo.cs b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers/Properties/AssemblyInfo.cs similarity index 100% rename from SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers.SQLCLR/Properties/AssemblyInfo.cs rename to SQL-Server-SQLCLR/Projects/DevAdmHelpers/DevAdmHelpers/Properties/AssemblyInfo.cs diff --git a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/Readme.md b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/Readme.md index cfe778a..ce51faf 100644 --- a/SQL-Server-SQLCLR/Projects/DevAdmHelpers/Readme.md +++ b/SQL-Server-SQLCLR/Projects/DevAdmHelpers/Readme.md @@ -14,23 +14,23 @@ * **GetSystemInfo** - получение системной информации о текущем контексте процесса SQL Server. Пример вывода: -| Name | Value | Description | | | -|--------------|-----------------|--------------------------------------------------------------------|---|---| -| VersionCLR | 4.0.30319.42000 | Описание версии CLR | | | -| OSUserName | ypermitin | Имя пользователя операционной системы, от которого запущен процесс | | | -| OSDomainName | YY | Имя сетевого домена, связанное с текущим пользователем | | | -| MachineName | SRV-SQL-1 | Имя NetBIOS данного компьютера | | | +| Name | Value | Description | +|--------------|-----------------|--------------------------------------------------------------------| +| VersionCLR | 4.0.30319.42000 | Описание версии CLR | +| OSUserName | ypermitin | Имя пользователя операционной системы, от которого запущен процесс | +| OSDomainName | YY | Имя сетевого домена, связанное с текущим пользователем | +| MachineName | SRV-SQL-1 | Имя NetBIOS данного компьютера | * **GetEnvironmentVariables** - список переменных окружения с их значениями, которые доступны процессу SQL Server. Пример вывода: -| Name | Value | | | | -|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|---|---| -| COMPUTERNAME | SRV-SQL-1 | | | | -| POWERSHELL_DISTRIBUTION_CHANNEL | MSI:Windows Server 2019 Standard | | | | -| PUBLIC | C:\Users\Public | | | | -| LOCALAPPDATA | C:\Users\ypermitin.YY\AppData\Local | | | | -| PSModulePath | %ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\Modules\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\ | | | | -| PROCESSOR_ARCHITECTURE | AMD64 | | | | +| Name | Value | +|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| COMPUTERNAME | SRV-SQL-1 | +| POWERSHELL_DISTRIBUTION_CHANNEL | MSI:Windows Server 2019 Standard | +| PUBLIC | C:\Users\Public | +| LOCALAPPDATA | C:\Users\ypermitin.YY\AppData\Local | +| PSModulePath | %ProgramFiles%\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\PowerShell\Modules\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\ | +| PROCESSOR_ARCHITECTURE | AMD64 | ## Окружение для разработки