Почему Visual Studio не может найти местоположение .NET, хотя команда dotnet является исполняемой?C#

Место общения программистов C#
Ответить Пред. темаСлед. тема
Гость
 Почему Visual Studio не может найти местоположение .NET, хотя команда dotnet является исполняемой?

Сообщение Гость »


Я отлаживаю проект C# в Visual Studio, но при запуске выдается сообщение об ошибке.
Меня попросили установить .NET, и я это сделал. Команды dotnet можно корректно выполнять в консоли. Вот результат

Код: Выделить всё

dotnet --info
[/b] command:

dotnet --info output1

dotnet --info output2
I've searched all over google and tried every possible answer, like configuring environment variables(now I know if dotnet commands can be executed environment variables won't be wrong), running visual studio as administrator, modifying .NET parameters in the registry... but nothing helped.
Additionally this pop-up window often appears on my computer. This is a software built into Dell computers to check the equipment and it also can't seem to find .NET. Now I feel that the program (.exe file) on my computer cannot access .NET because of some problems.
I know this question may not be appropriate to ask here, but I really need some help. I'm willing to try any possible solution, thanks in advance to anyone willing to help!


Источник: https://stackoverflow.com/questions/781 ... et-command
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «C#»