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.

Avalonia Browser dosen't responsed to changes

See original GitHub issue

Describe the bug Avalonia Browser doesn’t responsed to any change, but Desktop does.

To Reproduce Steps to reproduce the behavior:

  1. Create a Avalonia Cross Platform Application project which the NuGet package’s version is 11.0.0-preview8
  2. Change any element ( For example: change the Greeting’s content into "Foo bar"
  3. Build and run the Browser project
  4. The content displayed on the page is still "Welcome to Avalonia!"

Expected behavior Respond to my changes.

Screenshots Screenshot

Desktop (please complete the following information):

  • OS: Windows 11
  • IDE: Rider latest stable version
  • Avalonia 11.0.0-preview8
  • Tested on Firefox and Edge

Issue Analytics

  • State:closed
  • Created 4 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
maxkatz6commented, May 31, 2023

Browser’s process cannot be closed cleanly by the debugger. So the ${browser_project_dir}\bin\Debug\net7.0${project_name}.dll is in use and cannot be deleted

Please report it to Rider YouTrack or .NET runtime. It’s not related either to Avalonia or Avalonia for Rider plugin.

Maybe browser cache is not cleared.

Cache might need to be manually cleared. Improvements on this side also not really related to Avalonia, and tracked here https://github.com/dotnet/runtime/issues/70762. .NET 8 will come with most of them.

0reactions
BiDuangcommented, May 31, 2023

Update: To solve the above issue, simply avoid using Rider as the editor for the Browser project. Having Rider open will cause a .NET Host process to continuously occupy the project files. Is it because of a problem with the Avalonia for Rider plugin?

Read more comments on GitHub >

github_iconTop Results From Across the Web

r/dotnet - Avalonia UI v11 RC1 is now available!
The API wont be changing now, so if you're going to upgrade eventually, now is a great time to start exploring. Upvote 6...
Read more >
Turning it up to 11!
You do not have to make any changes to your application to enable this, it will simply just work. We have properties to...
Read more >
Add offline data sync to your Avalonia app
Offline sync allows end users to interact with a mobile app—viewing, adding, or modifying data—even when there's no network connection. Changes ...
Read more >
Why does binding Text to TextBox not work in Avalonia?
The problem lies with your PropertyChanged notification. internal class ViewModelBase : ReactiveObject { #region PropetryChangedHandler ...
Read more >
001. Avalonia UI - Getting Started Environment Setup - YouTube
Your browser can 't play this video. Learn more.
Read more >

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