如何强制Visual Studio 2017社区调试最新文件 [英] How to force Visual Studio 2017 Community to debug the latest files

查看:95
本文介绍了如何强制Visual Studio 2017社区调试最新文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮忙!


我正在使用XAML和C#开发UWP。经过一段时间扩展和纠正XAML和/或代码后,调试器会报告不再存在的代码错误。显然,Visual Studio使用旧版本的文件进行调试。在UWP的情况下,我不知道
我可以找到要删除的文件以强制Visual Studio使用最新的文件版本。


感谢您的帮助提前




Herbert Stejdir

解决方案

Hi Herbert Stejdir,


我的理解是,如果在重新构建应用程序后更改了代码,输出文件将会更新,因此一个问题是它是否有任何编译错误或警告消息如果你只是构建您的应用程序或使用"start without debugging(Ctrl + F5)"运行它。
或输出文件是否已更新。


请检查Bin \XX \Debug之类的输出路径,并检查输出文件的数据是否在本地更新请更改平台目标,如X86 / X64 / ARM,更改代码后重新构建应用程序,然后再次运行或调试项目。

。机器。


最好的问候,


杰克


Please help!

I'm developing a UWP using XAML and C#. After some time extending and correcting XAML and/or code the debugger reports errors of code that does not exist anymore. Obviously Visual Studio uses older versions of files to debug. In case of a UWP I don't know where I can find such files to delete in order to force Visual Studio to use the latest file versions.

Thanks for help in advance


Herbert Stejdir

解决方案

Hi Herbert Stejdir,

My understanding is that the output files would be updated if you changed the code after you re-build your app, so one issue is that whether it has any compiled error or warning messages if you just build your app or run it using "start without debugging(Ctrl+F5)" or whether the output files was updated.

Please check the output path like Bin\XX\Debug, and check that whether the output file's data was updated in your local machine.

Please also change the Platform target like X86/X64/ARM, re-build your app after you change the code, and then run or debug the project again.

Best Regards,

Jack


这篇关于如何强制Visual Studio 2017社区调试最新文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆