diff --git "a/build/\320\237\320\276\320\264\320\263\320\276\321\202\320\276\320\262\320\272\320\260\320\232\320\276\320\274\320\277\320\276\320\275\320\265\320\275\321\202\320\276\320\262.os" "b/build/\320\237\320\276\320\264\320\263\320\276\321\202\320\276\320\262\320\272\320\260\320\232\320\276\320\274\320\277\320\276\320\275\320\265\320\275\321\202\320\276\320\262.os" index 70ef347..90c3bbd 100644 --- "a/build/\320\237\320\276\320\264\320\263\320\276\321\202\320\276\320\262\320\272\320\260\320\232\320\276\320\274\320\277\320\276\320\275\320\265\320\275\321\202\320\276\320\262.os" +++ "b/build/\320\237\320\276\320\264\320\263\320\276\321\202\320\276\320\262\320\272\320\260\320\232\320\276\320\274\320\277\320\276\320\275\320\265\320\275\321\202\320\276\320\262.os" @@ -51,7 +51,7 @@ СоответствиеПапок = Новый Соответствие(); СоответствиеПапок.Вставить("net4", "net48"); - СоответствиеПапок.Вставить("dotnet", "net6.0"); + СоответствиеПапок.Вставить("dotnet", "net8.0"); КаталогКомпонентов = ОбъединитьПути(ТекущийКаталог(), "Components"); @@ -95,7 +95,7 @@ Для Каждого ИмяФайла Из ИменаФайлов Цикл ПутьКФайлу = ОбъединитьПути(ТекущийКаталог, "Components", ИмяПапки, ИмяФайла); Если Не ФС.ФайлСуществует(ПутьКФайлу) Тогда - ВызватьИсключение СтрШаблон("Отсутсвует .NET компонента %1 в папке Components/%2", ИмяФайла, ИмяПапки); + ВызватьИсключение СтрШаблон("Отсутствует .NET компонента %1 в папке Components/%2", ИмяФайла, ИмяПапки); КонецЕсли; КонецЦикла; КонецЦикла; diff --git a/src/BenchmarkOneScript.Extensions/BenchmarkOneScript.Extensions.csproj b/src/BenchmarkOneScript.Extensions/BenchmarkOneScript.Extensions.csproj index 0065f52..491ca8c 100644 --- a/src/BenchmarkOneScript.Extensions/BenchmarkOneScript.Extensions.csproj +++ b/src/BenchmarkOneScript.Extensions/BenchmarkOneScript.Extensions.csproj @@ -1,20 +1,20 @@  - net48;net6.0; + net48;net8.0; 10.0 https://github.com/Stivo182/BenchmarkOneScript https://github.com/Stivo182/BenchmarkOneScript BenchmarkOneScriptExtensions Stivo182 Stivo182 - 1.0.0 + 1.1.0 1.0.0 1script_BenchmarkOneScriptExtensions - - + + diff --git a/src/BenchmarkOneScript.Extensions/TypeExtension.cs b/src/BenchmarkOneScript.Extensions/TypeExtension.cs index 4d685e9..fa23709 100644 --- a/src/BenchmarkOneScript.Extensions/TypeExtension.cs +++ b/src/BenchmarkOneScript.Extensions/TypeExtension.cs @@ -1,4 +1,4 @@ -#if NET6_0_OR_GREATER +#if NETCOREAPP using OneScript.Contexts; #endif @@ -12,7 +12,7 @@ public class TypeExtension : AutoContext { [ContextProperty("Источник", "Source")] public string Source => -#if NET6_0_OR_GREATER +#if NETCOREAPP AttachedScriptsFactory.GetModuleOfType(_type.ToString())?.Source?.Location ?? ""; #else AttachedScriptsFactory.GetModuleOfType(_type.ToString())?.ModuleInfo?.Origin ?? ""; diff --git a/src/Chronometer/Chronometer.cs b/src/Chronometer/Chronometer.cs index fc59e70..8a4ff6a 100644 --- a/src/Chronometer/Chronometer.cs +++ b/src/Chronometer/Chronometer.cs @@ -2,7 +2,7 @@ using System.Runtime.CompilerServices; using ScriptEngine.Machine.Contexts; -#if NET6_0_OR_GREATER +#if NETCOREAPP using OneScript.Contexts; #endif diff --git a/src/Chronometer/ChronometerOneScript.csproj b/src/Chronometer/ChronometerOneScript.csproj index cbab3ed..8f2424d 100644 --- a/src/Chronometer/ChronometerOneScript.csproj +++ b/src/Chronometer/ChronometerOneScript.csproj @@ -1,21 +1,21 @@  - net48;net6.0; + net48;net8.0; 10.0 https://github.com/Stivo182/BenchmarkOneScript https://github.com/Stivo182/BenchmarkOneScript Chronometer for OneScript Stivo182 Stivo182 - 1.0.0 + 1.1.0 1.0.0 1script_Chronometer true - - + +