question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to resolve type TextEditor from namespace clr-namespace:AvaloniaEdit

See original GitHub issue

I new a AvaloniaMVVM project. Then installed Avalonia.AvaloniaEdit, directly used TextEditor in MainWindow.axaml, Visual Studio just showed an error, ‘Unable to resolve type TextEditor from namespace clr-namespace:AvaloniaEdit’. code

...
xmlns:avaloniaEdit="using:AvaloniaEdit"
...
<avaloniaEdit:TextEditor />

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
maxkatz6commented, Feb 5, 2021

@hopeko have you included AvaloniaEdit styles? This line from example https://github.com/AvaloniaUI/AvaloniaEdit/blob/master/src/AvaloniaEdit.Demo/App.xaml#L7

1reaction
hopekocommented, Feb 5, 2021

No error after I recreated a new project. Just one problem, nothing shows up.

  <Grid RowDefinitions="*" ColumnDefinitions="*">
    <avaloniaEdit:TextEditor Grid.Row="0" Grid.Column="0" Background="LightBlue" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" />
  </Grid>

I give up. It’s so difficult to use.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found