2017-08-19 6 views
1

私のプロジェクトのVisual Studioでは非常に奇妙なことが起こります。プロジェクトVisual Studio(winform)でキャッシュをリセットする方法は?

メインフォームには3つのラジオボタンがあります。そのうちの1つが選択されます。これはプロパティの最初のラジオボタンです:checked:true。それは名前がradioButton8です。

プロジェクトを開始すると、名前がradioButton1の2番目のラジオボタンが選択されていることがわかります。

私はプロジェクトでこの要素を見つけようとしましたが、メインフォームにはradioButton1という名前があります。しかし、チェックされた状態でこれを設定できるものは何もありません。

VSには何が起こりますか?プロジェクトを完全にクリアしてキャッシュをリセットするには?

ツールボックスが空になることもあります。私は現在のプロジェクトでsearhingなかったと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); 
      // 

答えて

-2

私もこの問題を何度も直面しています。私は、プロジェクト/ソリューションをクリーンアップし、ソリューションフォルダをもう一度ビルドする前に、私はあなたのプロジェクトフォルダ内のobjフォルダを削除する必要があります。