-
Notifications
You must be signed in to change notification settings - Fork 479
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
[StyleCop] Treat Warnings as Errors #1512
Conversation
40c63c6
to
e4fdb6a
Compare
This PR is ready for Review. However, it's important to notice that the Azure Build process will fail, as this PR attempts to treat the StyleCop Warnings as errors, and there are some remaining warnings to solve. Note: the next PR fix the remaining Stylecop Warnings:
|
e4fdb6a
to
3e76b84
Compare
We're getting close to taking this. Are we ready? :) |
Hi @cleemullins, we created one last PR for fixing the remaining Stylecop Warnings, this is the PR #1668. Once PR #1668 is merged, we will be ready for merging this one. Also, we created PR #1667, which revert the fixes made on the TestBot.WebApi project (with PR #1642) and ignore all the Warnings there. This is not necessary to merge for treating Warnings as Errors. |
3e76b84
to
18ebb95
Compare
Hi @cleemullins, We performed a last build of the whole Solution just for checking if there are some remaining Stylecop Warnings, but there isn't any of them. So, we can Merge this PR. |
18ebb95
to
93d3fa3
Compare
Pull Request Test Coverage Report for Build 67994
💛 - Coveralls |
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll✔️ No Binary Compatibility issues for Microsoft.Bot.Configuration.dll✔️ No Binary Compatibility issues for Microsoft.Bot.Connector.dll✔️ No Binary Compatibility issues for Microsoft.Bot.Schema.dll |
@ceciliaavila Are we ready to take this? Could you "touch" the PR so it triggers a new build? If the build passes, let's merge it in. |
93d3fa3
to
2300af5
Compare
Hi @cleemullins, we just rebased this PR and found that there are new errors. We will be fixing them. Once they are solved, we will let you know. |
Hi @cleemullins, we created the PR #2068 with the fix of the new StyleCop issues. After it gets merged, we can rebase this PR to merge it too. |
2300af5
to
c31dad3
Compare
c31dad3
to
74975f8
Compare
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1 |
Hi @ceciliaavila, it looks like the branch got outdated, can you resolve the conflicts and ping me when is done and I will review again. Thanks |
Updated Directory.Build.Props to use the lates stable StyleCope (1.1.118) Removed documentation target from Directory.Build.Props (not used anymore). Removed <code>false</code>. tags that were upsetting StyleCop. Fixed a bunch of StyleCope issues that were generating compile errors. Fixed authentication namespaces
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1 |
✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.3.1 |
Solves ISSUE #1423
Description
Update the ruleset file to treat StyleCop warnings as errors
NOTE: To merge this PR is necessary that the PR #1473 is merged and that all the stylecop issues are solved.