LINUX.ORG.RU

История изменений

Исправление LightDiver, (текущая версия) :

diver ~/Скрипты/NSQCu % mcs Program.cs                       [130] 4:37:42
Program.cs(1,6): error CS1525: Unexpected symbol `(', expecting `identifier' or `static'
Program.cs(1,21): error CS1530: Keyword `new' is not allowed on namespace elements
Program.cs(1,24): error CS1525: Unexpected symbol `HttpClient', expecting `identifier' or `static'
Compilation failed: 3 error(s), 0 warnings
diver ~/Скрипты/NSQCu %          

Рабочий же вариант генерирует вот это:

file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.deps.json
file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.dll
file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.exe
file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.pdb
file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.runtimeconfig.json

А стоп. Каталог еще один есть. В нем это:

file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/publish/NSQCu.exe
file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/publish/NSQCu.pdb

Второй файл это кто?

Исправление LightDiver, :

diver ~/Скрипты/NSQCu % mcs Program.cs                       [130] 4:37:42
Program.cs(1,6): error CS1525: Unexpected symbol `(', expecting `identifier' or `static'
Program.cs(1,21): error CS1530: Keyword `new' is not allowed on namespace elements
Program.cs(1,24): error CS1525: Unexpected symbol `HttpClient', expecting `identifier' or `static'
Compilation failed: 3 error(s), 0 warnings
diver ~/Скрипты/NSQCu %          

Рабочий же вариант генерирует вот это:

file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.deps.json
file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.dll
file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.exe
file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.pdb
file:///home/diver/Скрипты/NSQCu/bin/Debug/net7.0/win-x64/NSQCu.runtimeconfig.json

Исходная версия LightDiver, :

diver ~/Скрипты/NSQCu % mcs Program.cs                       [130] 4:37:42
Program.cs(1,6): error CS1525: Unexpected symbol `(', expecting `identifier' or `static'
Program.cs(1,21): error CS1530: Keyword `new' is not allowed on namespace elements
Program.cs(1,24): error CS1525: Unexpected symbol `HttpClient', expecting `identifier' or `static'
Compilation failed: 3 error(s), 0 warnings
diver ~/Скрипты/NSQCu %