[英]How to reset cache in project Visual Studio(winform)?
Very weird things happens in my project Visual Studio. 我的项目Visual Studio中发生了非常奇怪的事情。
On the main Form I have three radiobuttons. 在主窗体上,我有三个单选按钮。 One of them is selected. 选择其中之一。 It is first radiobutton with property: checked:true
. 这是第一个单选按钮,其属性为: checked:true
。 It has name radioButton8
. 它的名称是radioButton8
。
When I start project I see that selected the second radio button with name radioButton1
. 当我启动项目时,我看到选择了第二个单选按钮,其名称为radioButton1
。
I tried to find this element in project by its namw radioButton1
in main Form. 我试图通过主窗体中的namw radioButton1
在项目中找到此元素。 But there is not nothing, that can set this in checked state. 但是没有什么可以将其设置为检查状态。
What does happend with VS? VS发生了什么? How to clear project fully and reset cache? 如何完全清除项目并重置缓存?
Also sometimes toolbox becomes to empty. 有时工具箱也会变空。
I did searhing in current project and have found only this in Main.Designer
: 我在当前项目中进行过搜索,仅在Main.Designer
发现了此Main.Designer
:
// radioButton1
//
this.radioButton1.AutoSize = true;
this.radioButton1.Location = new System.Drawing.Point(23, 58);
this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(90, 17);
this.radioButton1.TabIndex = 4;
this.radioButton1.TabStop = true;
this.radioButton1.Text = "Прошли тест";
this.radioButton1.UseVisualStyleBackColor = true;
this.radioButton1.Click += new System.EventHandler(this.radioButton1_Click);
//
I also face this issue many times. 我也多次面对这个问题。 When i clean the project/solution and Build the solution again, also before this i have to delete the obj folder in your project folder. 当我清理项目/解决方案并再次构建解决方案时,同样在此之前,我必须删除项目文件夹中的obj文件夹。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.