Visual Studio 2012와 함께 wp7 용 앱을 만들고 있는데 이미 코딩했는데 디버깅하고 싶을 때 main.g.cs 및 app.g.cs 페이지에 문제가 있습니다. 자동으로 만들어진다.main.g.cs 및 app.g.cs가 우회합니까?
main.xaml.cs에 연결된 main.xaml과 app.gam.cs와 app.xaml이 연결되어 있지만 디버깅하려고하면 "main.g.cs 다음과 같은 오류와 main.xaml.cs ","대신의 "나는 main.xaml.cs 페이지에 connectionList의 deffinition을 추가하는 듯했으나
The type 'X.main' already contains a definition for 'connectionList' C:\Users\...\obj\Debug\controller\main.g.cs$
main.g.cs에 I 가
내가이 (삭제 해결하기 위해 다른 방법을 시도해야하고 main.xaml을 다시 s가 이 deffinition
public partial class main : Microsoft.Phone.Controls.PhoneApplicationPage {
...
internal System.Windows.Controls.ListBox connectionList;
...
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Windows.Application.LoadComponent(this, new System.Uri(".../main.xaml", System.UriKind.Relative));
this.connectionList = ((System.Windows.Controls.ListBox) (this.FindName("connectionList")));
이 등 구축 조치) 사람이 정말 apreciated됩니다
PD 나를 도울 수 있도록
내가 그것을 파악하지 못할 : 이미 정의처럼 내 영어 불쌍한 내 코딩