을 (Windows Forms Host
을 통해) WPF에서 사용하려고합니다. 그러나 잘못된 XAML 태그가 나타납니다. 내 XAML 코드는 다음과 같습니다WPF XAML 문제의 ScintillaNET
The name Scintilla does not exist in the namespace "clr-namespace:ScintillaNET".
The tag 'Scintilla' does not exist in XML namespace 'clr-namespace:ScintillaNET. Line 8 position 14.'
The name 'scintilla:Scintilla' was not found. Verify you are not missing an assembly reference and that all referenced assemblies have been built
그러나
<Window x:Class="ObjectiveWin.Editor"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:scintilla="clr-namespace:ScintillaNET"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ObjectiveWin 2013 Express" Height="392.537" Width="628.358" WindowState="Maximized" Loaded="editor_Loaded">
<Grid>
<WindowsFormsHost HorizontalAlignment="Left" Height="340" Margin="0,22,0,0" VerticalAlignment="Top" Width="620">
<scintilla:Scintilla></scintilla:Scintilla>
</WindowsFormsHost>
</Grid>
, 비주얼 스튜디오 2012는 나에게 이러한 오류를 제공합니다
내가 뭘 잘못하고 있니? 중요한 경우 .NET Framework 4.5
과 VS2012
감사합니다. 이제 컴파일은되지만'VS2012'는 여전히'scintilla'라는 이름이'clr-namespace : ScintillaNET; assembly = ScintillaNET'에 존재하지 않는다고 불평합니다. 아직도 잘못되고있는 것이 무엇입니까? – inixsoftware
이것은 'VS2012' 버그입니까? 그것은 컴파일하지만 여전히 XAML 오류가 있습니다!? – inixsoftware
아마도 버그 일 겁니다. 그러나 당신이 모든 것을 달린다면 괜찮습니다. – kmatyaszek