Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

axaml code completion not available when UseArtifactsOutput is used; incomplete otherwise #119

Open
just-ero opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@just-ero
Copy link

just-ero commented Mar 7, 2024

Describe the bug

It appears that when using UseArtifactsOutput (new addition in .NET 8), Avalonia is incapable of finding the build artifacts, such that the Build the project pop-up appears even after building the project.

When not using UseArtifactsOutput, completion is still incomplete, only suggesting the closing tag for the root element (e.g. </Application>). This may be caused due to being on an Avalonia version above the suggested 11.0.2, but I'm not sure (the README only mentions that the previewer will not work).

To Reproduce

  1. Create or open any Avalonia project in Visual Studio Code.
  2. Clear (dotnet clean) or remove the bin/ and obj/ directories for the test project.
  3. Create (dotnet new buildprops) or open a Directory.build.props file in the root of the workspace.
  4. Add a <UseArtifactsOutput>true</UseArtifactsOutput> element.
  5. Attempt to receive code completions in any axaml files.

Avalonia for VS Code

v0.0.31

Avalonia version

11.0.6

VS Code version

1.87.0

Relevant log output

None.

Additional context

No response

@just-ero just-ero added the bug Something isn't working label Mar 7, 2024
@just-ero just-ero changed the title axaml code completion not available or incomplete axaml code completion not available when UseArtifactsOutput is used; incomplete otherwise Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant