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

Add support for FxCop /ignoregeneratedcode parameter #467

Merged
merged 1 commit into from
Jun 15, 2014

Conversation

yeurch
Copy link
Contributor

@yeurch yeurch commented Jun 13, 2014

To ignore generated code when running FxCop, we can now specify the
parameter

IgnoreGeneratedCode = true

in the parameters for the FxCop task. The default for this parameter is
false, in order to provide backwards compatibility with previous versions of
FAKE.

"Generated code" is code which has been decorated with the
System.CodeDom.Compiler.GeneratedCode attribute, for example, code
generated when using the Add Service Reference wizard in Visual Studio.

To ignore generated code when running FxCop, we can now specify the
parameter

IgnoreGeneratedCode = true

in the parameters for the FxCop task.  The default for this parameter is
false,
in order to provide backwards compatibility with previous versions of
FAKE.

`Generated code` is code which has been decorated with the
`System.CodeDom.Compiler.GeneratedCode` attribute, for example, code
generated
when using the Add Service Reference wizard in Visual Studio.
@forki
Copy link
Member

forki commented Jun 15, 2014

Sounds good. Thanks

forki added a commit that referenced this pull request Jun 15, 2014
Add support for FxCop /ignoregeneratedcode parameter
@forki forki merged commit 10f0ca6 into fsprojects:master Jun 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants