質問編集履歴
2
質問内容の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,8 +2,10 @@
|
|
2
2
|
|
3
3
|
[Tobii SDK 入門](https://developer.tobii.com/consumer-eye-trackers/core-sdk/getting-started/)の手順に従ってC# WPFアプリケーションを作成しようとしています。
|
4
4
|
ソリューションのビルドには成功するのですが、プロジェクトの実行を行うと以下のエラーメッセージが発生します。
|
5
|
-
|
5
|
+
例外発生個所は「MainWindow.xaml.cs」のInitializeComponent();です。
|
6
6
|
サンプルが実行できると白いウィンドウが表示されるかと思います。
|
7
|
+
「MainWindow.xaml」のコメント部分を切り取ると例外が発生せず実行できるので
|
8
|
+
この部分か関係しているのではないかと考えています。
|
7
9
|
|
8
10
|
いろいろ調べておりますが、解決策が見つからず困っております。
|
9
11
|
もしおわかりの方がおられましたら、ご教授いただけると幸いです。
|
@@ -63,6 +65,7 @@
|
|
63
65
|
xmlns:tobii="clr-namespace:Tobii.Interaction.Wpf;assembly=Tobii.Interaction.Net"
|
64
66
|
mc:Ignorable="d"
|
65
67
|
Title="MainWindow" Height="350" Width="525">
|
68
|
+
////////////////////////////////////////////////////////////////////////////////
|
66
69
|
<Grid x:Name="LayoutRoot"
|
67
70
|
tobii:Behaviors.IsGazeAware="True">
|
68
71
|
<Grid.Style>
|
@@ -77,6 +80,7 @@
|
|
77
80
|
</Style>
|
78
81
|
</Grid.Style>
|
79
82
|
</Grid>
|
83
|
+
////////////////////////////////////////////////////////////////////////////////
|
80
84
|
</Window>
|
81
85
|
```
|
82
86
|
|
1
スタックトレース(呼び出し履歴)の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
前提・実現したいこと
|
2
2
|
|
3
3
|
[Tobii SDK 入門](https://developer.tobii.com/consumer-eye-trackers/core-sdk/getting-started/)の手順に従ってC# WPFアプリケーションを作成しようとしています。
|
4
4
|
ソリューションのビルドには成功するのですが、プロジェクトの実行を行うと以下のエラーメッセージが発生します。
|
@@ -78,4 +78,39 @@
|
|
78
78
|
</Grid.Style>
|
79
79
|
</Grid>
|
80
80
|
</Window>
|
81
|
-
```
|
81
|
+
```
|
82
|
+
|
83
|
+
MainWindow.xaml.cs
|
84
|
+
```C#
|
85
|
+
using System;
|
86
|
+
using System.Collections.Generic;
|
87
|
+
using System.Linq;
|
88
|
+
using System.Text;
|
89
|
+
using System.Threading.Tasks;
|
90
|
+
using System.Windows;
|
91
|
+
using System.Windows.Controls;
|
92
|
+
using System.Windows.Data;
|
93
|
+
using System.Windows.Documents;
|
94
|
+
using System.Windows.Input;
|
95
|
+
using System.Windows.Media;
|
96
|
+
using System.Windows.Media.Imaging;
|
97
|
+
using System.Windows.Navigation;
|
98
|
+
using System.Windows.Shapes;
|
99
|
+
|
100
|
+
namespace Wpf_Tobii_APP
|
101
|
+
{
|
102
|
+
/// <summary>
|
103
|
+
/// MainWindow.xaml の相互作用ロジック
|
104
|
+
/// </summary>
|
105
|
+
public partial class MainWindow : Window
|
106
|
+
{
|
107
|
+
public MainWindow()
|
108
|
+
{
|
109
|
+
InitializeComponent();//例外発生個所
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
```
|
115
|
+
呼び出し履歴(スタックトレース)
|
116
|
+
- > Wpf_Tobii_APP.exe!Wpf_Tobii_APP.MainWindow.MainWindow() 行 25 C#
|