-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Automatic triggering of custom analyzer #505
Comments
Yes, add this NuGet package to the project. It adds a build step that runs the analysis. Note that the currently available version also suffers from the issue identified in #503 and so a new version of the |
I see, thank you very much for the explanation |
Version 0.13.0 of this NuGet package is now available and fixes the issue noted in #503 PLEASE NOTE. This currently only works with projects that use the old internal structure. It does not yet work with SDK-style projects (As you'll get if you create a project targeting .NET5 or 6. |
If you have any problems, comments, or suggestions please raise another issue. |
After having added the RapidXaml.BuildAnalysis nuget package to the project which contains the xaml files, it does not produce any warnings when the project is built in VisualStudio 19 Expected Behaviour To reproduce
|
What type of project are you using? Also, please note, from above:
|
Unfortunately, WPF with .Net Core 3.1 also uses an SDK style project format and so the BuildAnalysis doesn't know which files to check. This is why it is not reporting anything. I'll look to prioritize supporting this. (Very few people have been using RXT with WPF projects and so this is a good opportunity to improve this experience.) |
X-Ref #518 |
Question
Is there a way to automatically trigger the custom analyzer when a project containing a xaml is built?
Not only when the file is saved.
Desired Behaviour
So any project referencing a custom analyzer should automatically analyze its existing Xaml files.
The text was updated successfully, but these errors were encountered: