Weird issue where TC doesn't think a control is in System.Windows.Controls
Here is the error from my build log... the controls are TimePicker and NumericUpDown... they are in System.Windows.Controls but TC doesn't see it that way. I checked the build output and the right version of System.Windows.Controls is in the output directory. It is the same file that is on my machine when I compile in Visual Studio. I also tried using the full control path in the code, instead of just using the control name, just in case. Anyone have this happen before? Any ideas?
The log...
"C:\_MJS\AuditLogger\AuditLogger.csproj" (default target) (35) ->
[21:13:44]: AuditLogger.cs(684,41): error CS0234: The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(684,64): error CS0246: The type or namespace name 'TimePicker' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(791,41): error CS0234: The type or namespace name 'NumericUpDown' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(791,62): error CS0246: The type or namespace name 'NumericUpDown' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(883,41): error CS0234: The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(883,64): error CS0246: The type or namespace name 'TimePicker' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1002,41): error CS0234: The type or namespace name 'NumericUpDown' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1002,62): error CS0246: The type or namespace name 'NumericUpDown' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1075,53): error CS0234: The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1075,72): error CS0246: The type or namespace name 'TimePicker' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1125,53): error CS0234: The type or namespace name 'NumericUpDown' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1125,75): error CS0246: The type or namespace name 'NumericUpDown' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(684,41): error CS0234: The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(684,64): error CS0246: The type or namespace name 'TimePicker' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(791,41): error CS0234: The type or namespace name 'NumericUpDown' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(791,62): error CS0246: The type or namespace name 'NumericUpDown' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(883,41): error CS0234: The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(883,64): error CS0246: The type or namespace name 'TimePicker' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1002,41): error CS0234: The type or namespace name 'NumericUpDown' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1002,62): error CS0246: The type or namespace name 'NumericUpDown' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1075,53): error CS0234: The type or namespace name 'TimePicker' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1075,72): error CS0246: The type or namespace name 'TimePicker' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1125,53): error CS0234: The type or namespace name 'NumericUpDown' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
[21:13:44]: AuditLogger.cs(1125,75): error CS0246: The type or namespace name 'NumericUpDown' could not be found (are you missing a using directive or an assembly reference?) [C:\_MJS\AuditLogger\AuditLogger.csproj]
Please sign in to leave a comment.