RazorTagHelper - DOTNET_HOST_PATH is not set
set not is path Host dotnet
2023-09-11 14:21:35 时间
最近升级了visual studio, 然后默认安装了.net 5 , 然后以前.net core 2.2 的项目就悲剧 了。
RazorTagHelper - DOTNET_HOST_PATH is not set
查了很多资料,最后在sdk的官方github上,有人给了解决方案,试下。
-
Open cmd and write this: setx DOTNET_HOST_PATH "%ProgramFiles%\dotnet\dotnet.exe"
-
Open C:\Program Files\dotnet\sdk in here delete the folder: NuGetFallbackFolder
-
Restart your pc!
打开cmd时,请以管理员权限执行,否则可能无法写入。
相关文章
- Leetcode: Set Matrix Zeroes
- Set集合+可变参数(...)
- What is the difference between SET and SELECT when assigning values to variables, in T-SQL?
- Environment Variable CUDA_VISIBLE_DEVICES is not set correctly. If you wanna use gpu, please set CUD
- 百度LBS云搜索时报错 "filter:area is not filteable field, please set property in the cloud-storage
- C/C++ select fd_set解释
- stl 之set图解
- python公共操作(运算符(+、*、in、not in)、公共方法(len()、del、max()、min()、range()、enumerate())、类型转换(tuple、list、set))
- 15Redis - 存储set(使用场景)
- Set-Cookie
- Maven构建时报错,File encoding has not been set, using platform encoding GBK解决方法
- Azure Sphere–“Object reference not set to an instance of an object” 解决办法
- 网络安全——kali中的set工具
- [LeetCode] Set Matrix Zeroes
- Redis操作Set工具类封装,Java Redis Set命令封装
- eclipse下提交job时报错mapred.JobClient: No job jar file set. User classes may not be found.
- zabbix调试脚本报错(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.)
- 判断List、Map、Set是否为空及效率比较
- protobuf 中的嵌套消息的使用 主要对set_allocated_和mutable_的使用
- Java中的set集合如何理解(三)——精简
- [Hibernate]Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
- (3.14) set statistics io/time/profile /SET SHOWPLAN_ALL ON详解统计信息与执行计划
- 数组,List,Set相互转化