-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Ref-assembly related warning from CompileXaml task #11032
Comments
I have also noticed this issue. Is there any chance that this bug would increase the build time of a project? |
@HobbesKo this issue existed since early preview4 at least. So unlikely to be new in preview7. |
Ah, OK. Many thanks for the reply. |
I've reverted to Preview 6, which has cured my slow build issue. I understand that Preview 7 has a ListBox problem. So maybe that's caused trouble for me. |
This is hitting me as well. Could not extract the MVID from "obj/Release/refint/AvaloniaSyncer.dll". Are you sure it is a reference assembly? AvaloniaSyncer uses Avalonia 11 (11.0.5) |
I've also encountered this issue. I created a new project via Avalonia for Visual Studio, upgraded the NuGet packages to the latest version (11.0.6), and then removed the It seems that everything is still successfully building, so I'm not too worried at the moment... but I don't understand what the message means, so I'm worried it will come back to bite me later. |
I've started learning Avalonia this week and ran into this problem trying to use code completion and previewer on Vs code as the extension requires the build to be completed but due to this error I can't use either features in Vs code. Doesn't seem to be a problem with Visual Studio's extension (at least for me) |
It's not an error, it shouldn't block the build. I don't think you can even make this warning to be an error. |
Apologies, wrong word, it is indeed a warning. Upon further investigation of the vs code features not working, it is related to the extension and not the app not building. |
@TcPirate1 then open a discussion there with a minimal sample to reproduce. Make sure the ext. is up to date. |
Describe the bug
Every project with xaml-compile task produces an warning:
Possibly, related to Cecil patching of ref assemblies with xaml generated members.
Also, possibly can be fixed by updating Cecil version (as there were somewhat related fixes on the github).
But there were no public releases since mid-2021, so we would end up using a submodule possibly.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: