首页 > 其他分享 >在上一操作期间遇到问题:Debug|AnyCPU 配置中 TargetFrameworkMoniker和NugetTargetMoniker 属性的值均为空

在上一操作期间遇到问题:Debug|AnyCPU 配置中 TargetFrameworkMoniker和NugetTargetMoniker 属性的值均为空

时间:2023-06-14 09:57:20浏览次数:68  
标签:AnyCPU NugetTargetMoniker VS 报错 Debug TargetFrameworkMoniker

在上一操作期间遇到问题:Debug|AnyCPU 配置中 TargetFrameworkMoniker和NugetTargetMoniker 属性的值均为空

  • 场景

使用VS打开之前的项目,报错:

在上一操作期间遇到问题:Debug|AnyCPU 配置中 TargetFrameworkMoniker和NugetTargetMoniker 属性的值均为空

新建项目后,选择该项目未项目启动项,运行不了,就一直报该错误。需要还原Nuget包,才能正常使用。但是,因为该两个属性为空,导致还原不了Nuget包。所以需要将Nuget包还原问题解决。

 

  • 解决

    1. 关闭VS,重新打开:没有作用,依然是报该错误

    2. 重启计算机,再次打开VS:依然没有作用

    3. 关闭项目,关闭VS,-->将解决方案中的.vs文件删除,打开VS,打开该项目。成功,并且新项目也可以运行,没有报错(如有报错,再次重新生成解决方案或者再删除一遍.vs文件)。

标签:AnyCPU,NugetTargetMoniker,VS,报错,Debug,TargetFrameworkMoniker
From: https://www.cnblogs.com/OctopusKing/p/17479295.html

相关文章

  • mac 下利用 xdebug生成性能报告
    1、安装xdebug[xdebug]zend_extension=xdebug.soxdebug.remote_enable=1xdebug.remote_handler=dbgpxdebug.remote_mode=reqxdebug.remote_connect_back=0xdebug.remote_host=0.0.0.0xdebug.remote_port=9001xdebug.idekey=PHPSTORMxdebug.remote_autostart=0xdebug.p......
  • mac M2 装PHP xdebug
    目前xdebug你不支持arm只能自编译pecel安装是arm64arch-arm64sudopeclinstallxdebug编译下载https://xdebug.org/download编译gitclonehttps://github.com/xdebug/xdebug.gitcdxdebugphpize./configure--enable-xdebug--host=arm-linux-gnueabimak......
  • nginx-clojure debug构建简单说明
    实际上参考了官方的构建参数,提供一个debug模式的文件原始配置configurearguments:--prefix=--sbin-path=nginx--conf-path=conf/nginx.conf--error-log-path=logs/error.log--http-log-path=logs/access.log--pid-path=logs/nginx.pid--lock-path=logs/nginx.......
  • debug.exe的使用
    debug.exe的使用debug.exe是Windows操作系统自带的一个命令行调试工具,用于在DOS环境下进行汇编语言级别的调试操作。它可以让程序员以来自底层的方式逐步执行代码并检查每个寄存器中的值和内存地址。a用法:a用途:输入汇编命令,输完后不输入任何指令,直接回车即可退出编辑......
  • Debugging VBA zz
    Onceyou'rewrittenyourVBAproceduresandachievedcleancompileswithouterrors,youarereadytoundertakethemostimportantstepinprogramming:testinganddebugging. Toomanyprogrammersbecomecomplacentoncethecodeiswrittenandtheyge......
  • 遇到chrome_options.add_experimental_option ("debuggerAddress", port_number)调起
    1、查看谷歌版本和chromedriver版本是否一致:手动查找ChromeDriver路径。在终端中输入以下命令:whichchromedriver这将输出ChromeDriver的路径,例如:/usr/local/bin/chromedriver可以在Chrome浏览器中输入以下网址来查看版本信息: chrome://version/在命令行中,你可以......
  • NVIDIA Debug Manager for Android NDK
    http://developer.nvidia.com/tegra/downloads NVIDIADebugManagerforAndroidNDKOverviewNVIDIADebugManagerforAndroidNDKisanEclipseplug-inthatsimplifiesdebuggingnativeC/C++AndroidapplicationsonNVIDIA’sTegraplatformandistheperfe......
  • 检测到包降级: System.Diagnostics.Debug 从 4.3.0 降级到 4.0.11。直接从项目引用包
    .net 项目在发版的时候报包的版本不一致严重性代码说明项目文件行禁止显示状态错误错误形式的警告:检测到包降级:System.Diagnostics.Debug从4.3.0降级到4.0.11。直接从项目引用包以选择不同版本。ProjectName->Microsoft.AspNetCore.Mvc.Core2.2.5->Micros......
  • 在intelj idea中Debug启动tomcat时Address already in use:JVM_Bind
    在debug重启web应用时,偶尔会报如下错误:Addressalreadyinuse:JVM_Bind,一看端口占用 打开任务管理器,发现并没有java相关的进程。所以无法通过杀死进程来解除接口占用,可以通过如下方式解决1.编辑服务器配置,EditConfiguration 2.点击Startup/Connection 3.选中debug,......
  • PHP Xdebug 3 和 Visual Studio Code
    Xdebug3相对于Xdebug2改动挺大的。在php.ini里下面的设置就够了,不需要多余的。默认调试端口9003 [XDebug]zend_extension="php_xdebug.dll"xdebug.mode=debugxdebug.start_with_request=yesxdebug.idekey=VSCODEhttps://community.localwp.com/t/local-xdebu......