Показаны сообщения с ярлыком VisualStudio. Показать все сообщения
Показаны сообщения с ярлыком VisualStudio. Показать все сообщения

воскресенье, 23 февраля 2025 г.

Utf8, Unicode, VisualStudio

Utf8, Unicode, VisualStudio

Шаг 1: Установка кодировки UTF-8 для нового проекта

  1. Создайте новый проект или откройте существующий.
  2. Перейдите в меню FileSave As....
  3. В диалоговом окне сохранения файла выберите пункт Save with Encoding....
  4. Выберите кодировку UTF-8, чтобы сохранить файл с поддержкой Unicode.

Шаг 2: Настройка глобальных настроек для новых проектов

  1. Откройте меню ToolsOptions.
  2. Найдите категорию EnvironmentDocuments.
  3. Установите флажок Save documents as Unicode when data cannot be saved in codepage.
  4. Убедитесь, что выбрана кодировка UTF-8 without signature.
  5. Нажмите OK для сохранения изменений.

Шаг 3: Изменение кодировки существующих файлов

Для уже созданных файлов можно изменить кодировку вручную:

  1. Откройте файл в редакторе Visual Studio.
  2. Перейдите в меню FileAdvanced Save Options....
  3. Выберите нужную кодировку (UTF-8) и сохраните изменения.


суббота, 7 октября 2023 г.

VisualStudio, Support, OS, Requirements

Requirements for Visual Studio 2022

https://learn.microsoft.com/ru-ru/troubleshoot/developer/visualstudio/general/visual-studio-2022-unsupported-operating-systems

Windows 7 and Windows Server 2008 R2

Visual Studio 2022 version 17.7 and higher doesn't install on Windows 7 and Windows Server 2008 R2. To continue using 17.6 LTSC in this unsupported configuration, see Long-Term Servicing Channel Support.

When installing or using Visual Studio 2022 version 17.6 or earlier on Windows 7 or Windows Server 2008 R2, you may experience the following issues.

  • SQL development against a LocalDB, web development tools, and code maps aren't available. To work around this issue, install SQL Server Express 2016. For more information on installation, see SQL Server Express LocalDB.
  • The Diagnostic Hub requires Microsoft Edge and the Chromium browser engine. Chromium and Microsoft Edge support on Windows 7 ends January 15, 2022. After this date, the browser components will no longer receive security updates. Microsoft recommends upgrading to a supported operating system.
  • Visual Studio Terminal doesn't work and isn't supported on Windows 7 and Windows Server 2008 R2.
  • .NET 4.8.1 isn't supported and doesn't install.

понедельник, 2 октября 2023 г.

VisualStudio, Process, Processes

https://learn.microsoft.com/ru-ru/troubleshoot/developer/visualstudio/ide/visual-studio-unrecoverable-process-error

  • Microsoft.Alm.Shared.Remoting.RemoteContainer.dll
  • Microsoft.CodeAnalysis.LiveUnitTesting.EntryPoint
  • MSBuild.exe
  • PerfWatson2.exe
  • ScriptedSandbox64.exe
  • ServiceHub.Host.CLR.x86.exe
  • ServiceHub.Host.Node.x86.exe
  • ServiceHub.IdentityHost.exe
  • ServiceHub.RoslynCodeAnalysisService.exe
  • ServiceHub.RoslynCodeAnalysisService32.exe
  • ServiceHub.SettingsHost.exe
  • ServiceHub.VSDetouredHost.exe
  • VBCSCompiler.exe
  • VsHub.exe
  • vstest.discoveryengine.x86.exe
  • WaAppAgent.exe
  • WindowsAzureGuestAgent.exe
  • WindowsAzureTelemetryService.exe