-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add url to warning/error tasks and objects #4029
Comments
This might be a better question to dotnet/project-system. I am not sure how VS leverages warnings coming from msbuild. @davkean any idea? |
In #3858 I was asked to open a separate issue. |
HelpKeyword has a different meaning; it means the keyword that we use to look up a help topic in help. If MSBuild added a concept of |
This would be a really useful feature to have in order to document your own set of context specific warnings. Any plans to add this? |
I don't believe this is scheduled, but I'm sure that MSBuild will welcome the contribution. After that I can schedule some time on the VS side to make sure this all plumbed through. |
As discussed in #4029 (see this comment) I've added the ability to set a help link for both the Error and Warning tasks. This would allow authors of MSBuild targets to issue warnings and/or errors and point users to some page describing more details about the error/warning.
This has been merged in: #5488. |
I'm making a .props file that reads some properties in a .csproj and then sets other properties and loads some nugetpackages.
I want to add errors or warnings when the properties are empty. So I added a warning tag that looks for a empty property.
Also I would like to add a link to a support page in visual studio. Can an url be added to this attribute.
The 1 code becomes an url in visualstudio but now points to a MDN page.
If I add a HelpKeyword attribute with an url the link in visual studio changes but not to the value of the help keyword.
How does this tag work? Can I set this tag to a specific url in visual studio?
Here is my code:
The text was updated successfully, but these errors were encountered: