积极答复者
怎么解决VS2017编译成功仍然提示有错误的问题?

问题
答案
-
你好 jesse,
在我们这边的VS 2017能够重现你所描述的场景,请看如下截图,SecondWindow是复制MainWindow 的页面,SecondWindow刷新后也不能智能提示空间成员。造成这个原因是obj->Debug/Release-><PageName>.g.i.cs 里面的类名没有实时更新。
暂时除了重启VS, 有一个解决方法你可以尝试下:手动去obj->Debug/Release-><PageName>.g.i.cs文件下面改动类名。当修改好后,复制页面的智能感知能够重新识别的。
此外,针对这个问题,我帮助您提了一个英文的feedback,你可以参考一下:
微软产品组的成员会对这个问题进行跟进和修复,请耐心等待。
谢谢您的理解
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- 已编辑 宝宝徐Moderator 2017年3月21日 9:32
- 已建议为答案 宝宝徐Moderator 2017年3月22日 6:22
- 已标记为答案 jesse hao 2017年4月6日 16:16
全部回复
-
你好 jesse,
在我们这边的VS 2017能够重现你所描述的场景,请看如下截图,SecondWindow是复制MainWindow 的页面,SecondWindow刷新后也不能智能提示空间成员。造成这个原因是obj->Debug/Release-><PageName>.g.i.cs 里面的类名没有实时更新。
暂时除了重启VS, 有一个解决方法你可以尝试下:手动去obj->Debug/Release-><PageName>.g.i.cs文件下面改动类名。当修改好后,复制页面的智能感知能够重新识别的。
此外,针对这个问题,我帮助您提了一个英文的feedback,你可以参考一下:
微软产品组的成员会对这个问题进行跟进和修复,请耐心等待。
谢谢您的理解
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- 已编辑 宝宝徐Moderator 2017年3月21日 9:32
- 已建议为答案 宝宝徐Moderator 2017年3月22日 6:22
- 已标记为答案 jesse hao 2017年4月6日 16:16