This is a migrated thread and some comments may be shown as answers.

x:Name="XXX" error 'Windows' does not exist in the namespace

1 Answer 684 Views
Installer and Visual Studio Extensions
This is a migrated thread and some comments may be shown as answers.
cloud
Top achievements
Rank 1
cloud asked on 11 Dec 2020, 08:12 AM

windows 10 WPF .Net Core 3.1 Telerik 2020 R3 Sp1:

<Window x:Class="DemoAll.Modules.Telerik.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
        <Grid>
                <telerik:RadButton x:Name="btTest" Content="test" Height="60" Width="120"></telerik:RadButton>
        </Grid>
</Window>

error:

SeverityCodeDescriptionProjectFileLineSuppression State
ErrorCS0234The type or namespace name 'Windows' does not exist in the namespace 'XXXXX' (are you missing an assembly reference?)

 

==========================================================================

no  x:Name="btTest"

        <Grid>
                <telerik:RadButton  Content="test" Height="60" Width="120"></telerik:RadButton>
        </Grid>

is ok!!!

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 15 Dec 2020, 11:15 PM

Hello,

I already answered this in the other forum.

Regards,
Martin Ivanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Installer and Visual Studio Extensions
Asked by
cloud
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or