码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • [问题记录.VisualStudio]VS2022调试运行报错 “projectFilePath”不能为空字符串(““)或以 null 字符开头。


    【问题描述】

    1) 用VS2022调试运行,弹出错误对话框,显示:

    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    “projectFilePath”不能为空字符串("")或以 null 字符开头。

    参数名: projectFilePath
    ---------------------------
    确定   
    ---------------------------

    2) 点“确定”后,调试进程其实已经启动成功,能正常运行。

    3) 重启VS未能解决

    【问题原因】

    未知。

    在网上搜到类似问题,说是和VS的“lightweight loading”特性有关(但没弄明白是个什么...)。

    【解决办法】

    关闭VS -> 删除程序目录下的 .vs 目录 -> 启动VS,再运行调试,正常。

    1. The problem seems to be with the new lightweight solution loading feature of VS2017.
    2. To fix it, first clean up:
    3. Close Visual Studio 2017
    4. Delete or rename the .vs folder
    5. Reopen the solution
    6. Afterwards, don't re-enable lightweight solution loading for that solution.
    7. You can completely disable lightweight solution loading for all solutions in the options, but if the problem only applies to some solutions then that might be a bit heavy handed.

    摘抄自:.net - Build Failure. Error: 'path' cannot be an empty string ("") or start with the null character - Stack Overflow

  • 相关阅读:
    高德地图2.0使用SvgMarker.Shape.IconFont方法将iconfont矢量图作为图标
    界面组件Telerik UI for WPF 2024 Q1新版亮点 - 全新DateRangePicker组件
    大语言模型基础-Transformer模型详解和训练
    前端HTML笔记整理
    信用卡 3D 认证是怎么回事
    【文末附gpt升级方案】数据虚拟化技术:起源、发展及市场趋势
    Anaconda和PyCharm比较
    大模型解决方案:具体业务场景下的智能表单填充(附代码)
    家用电脑做服务器,本地服务器搭建,公网IP申请,路由器改桥接模式,拨号上网
    jmeter性能测试,各个指标的预估/测试出来/计算出来,各种关系
  • 原文地址:https://blog.csdn.net/debug_fan/article/details/126287077
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号