运行所选代码生成器时出错:“值-1超出了可接受的[0,2147483647]范围。参数名称:value”...

本文解决在Visual Studio 2019中添加MVC控制器时遇到的“值-1超出了可接受的[0,2147483647]范围”错误。通过关闭web.config文件再重新创建控制器的方法,成功解决了该问题。

0、事故现场:

在使用vs2019添加mvc控制器的时候,报如下错误:
运行所选代码生成器时出错:“值-1超出了可接受的[0,2147483647]范围。参数名称:value”
在这里插入图片描述

1、解决方案:

关闭打开中的web.config,然后再新建控制器;

2、参考:

https://developercommunity.visualstudio.com/content/problem/626755/error-running-the-selected-code-generator-value-1.html


转载于:https://www.cnblogs.com/willingtolove/p/11437600.html

11425: 11-04 16:25:29.920827 10511 27418 D cutils-dev: properties changed in otrace_seq_number_changed! 行 11428: 11-04 16:25:29.926083 10511 27418 E SE::Thread: threadLoop: peak value invalid! 行 13258: 11-04 16:25:30.928975 10511 27418 E SE::Thread: threadLoop: peak value invalid! 行 13288: 11-04 16:25:30.934666 10511 14306 D AudioManagerExtImpl: getStreamVolume packageName=com.oplus.atlas, index=8, streamType=3 行 13294: 11-04 16:25:30.934920 10511 14306 D SE::Jni : sound_exposure_changeDevice: newDev(0x80, bluetooth), index(8) 行 13295: 11-04 16:25:30.934950 10511 14306 D SE::Thread: changeDevice: +++ newDevice(0x80, bluetooth) 行 13296: 11-04 16:25:30.935002 10511 14306 D SE::Thread: getEarphoneAttr: +++ device(0x80, bluetooth) 行 13354: 11-04 16:25:30.942132 10511 14306 D SE::Thread: getEarphoneAttr: ---13355: 11-04 16:25:30.942153 10511 14306 D SE::XmlParser: getEarphoneAttrByName: got the bluetooth attr 行 13356: 11-04 16:25:30.942163 10511 14306 D SE::Thread: changeDevice: ---13447: 11-04 16:25:30.952060 10511 14306 D SE::Jni : sound_exposure_changeDevice: newDev(0x80, bluetooth), index(8) 行 13448: 11-04 16:25:30.952080 10511 14306 D SE::Thread: changeDevice: +++ newDevice(0x80, bluetooth) 行 13449: 11-04 16:25:30.952087 10511 14306 D SE::Thread: getEarphoneAttr: +++ device(0x80, bluetooth) 行 13561: 11-04 16:25:30.962798 10511 14306 D SE::Thread: getEarphoneAttr: ---13562: 11-04 16:25:30.962818 10511 14306 D SE::XmlParser: getEarphoneAttrByName: got the bluetooth attr 行 13563: 11-04 16:25:30.962828 10511 14306 D SE::Thread: changeDevice: ---14759: 11-04 16:25:31.087234 10511 13672 D OplusAtlasAudioDetectionManager: callback success event:atlas_event_audio_device_route_changed eventInfo:DeviceId:128 行 14760: 11-04 16:25:31.087313 10511 14637 W OplusAtlasAudioDetectionManager: unexpected message !
最新发布
11-07
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值