这是昨天开始随机发生的。
当我按下F5来测试我的项目时,程序的旧构建(大约在昨天下午)启动。项目中没有任何更改(我已尝试在几个不同的文件中)。
但是,令人困惑的是,如果我通过菜单栏选择“生成”->“从Build构建”,/bin/release/目录中的输出.exe确实包含所有最近的更改。
这可能是什么原因造成的?
www.un.org/spanish/ecosoc
更具体地说,我的.vb文件的更改被反映出来了,但我的XAML文档中的更改没有。
这是昨天开始随机发生的。
当我按下F5来测试我的项目时,程序的旧构建(大约在昨天下午)启动。项目中没有任何更改(我已尝试在几个不同的文件中)。
但是,令人困惑的是,如果我通过菜单栏选择“生成”->“从Build构建”,/bin/release/目录中的输出.exe确实包含所有最近的更改。
这可能是什么原因造成的?
www.un.org/spanish/ecosoc
更具体地说,我的.vb文件的更改被反映出来了,但我的XAML文档中的更改没有。
随意地,我不确定是怎么回事,我在我的项目(这里称为“Misc”,我保存杂项文件)的子文件夹中得到了OBJ文件夹的一个副本。
我删掉了那个,现在它工作得很好。我实在不知道为什么这样做可以解决问题,但这是我在整个探索过程中唯一改变的事情。
您在“模块”窗口 (调试器下,转到菜单调试 -> 窗口 -> 模块) 中看到了什么?它看起来像是加载了不正确的模块,可能是缓存在某个地方?
我从我的朋友那里听说过类似的问题,他声称这是由Resharper引起的... 以防万一,如果你安装了它...
As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....
I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...
I ve got some code which sets up a datacontext. Often enough, the datacontext should be set to some underlying data collection, such as an ObservableCollection - but occasionally I d like to set it ...
I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...
NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...