Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pcap-Net
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Pcap-Net
Commits
21b4cd37
Commit
21b4cd37
authored
Mar 28, 2015
by
Boaz Brickner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore CA2151 in C++ projects.
parent
6a366538
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
40 deletions
+30
-40
PcapDotNet.Core.vcxproj
PcapDotNet/src/PcapDotNet.Core/PcapDotNet.Core.vcxproj
+2
-2
PcapDotNet.sln
PcapDotNet/src/PcapDotNet.sln
+8
-38
PcapDotNetCPP.ruleset
PcapDotNet/src/PcapDotNetCPP.ruleset
+20
-0
No files found.
PcapDotNet/src/PcapDotNet.Core/PcapDotNet.Core.vcxproj
View file @
21b4cd37
...
...
@@ -199,7 +199,7 @@
<CodeAnalysisRules
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
</CodeAnalysisRules>
<RunCodeAnalysis
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
true
</RunCodeAnalysis>
<CodeAnalysisRuleSet
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
..\PcapDotNet.ruleset
</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
..\PcapDotNet
CPP
.ruleset
</CodeAnalysisRuleSet>
<CodeAnalysisRuleAssemblies
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
/>
<CodeAnalysisRuleSet
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
..\PcapDotNet.ruleset
</CodeAnalysisRuleSet>
<CodeAnalysisRuleAssemblies
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
/>
...
...
@@ -240,7 +240,7 @@
<WarningLevel>
Level4
</WarningLevel>
<DebugInformationFormat>
ProgramDatabase
</DebugInformationFormat>
<ForcedIncludeFiles>
CodeAnalysis\SourceAnnotations.h;%(ForcedIncludeFiles)
</ForcedIncludeFiles>
<EnablePREfast>
fals
e
</EnablePREfast>
<EnablePREfast>
tru
e
</EnablePREfast>
</ClCompile>
<Link>
<AdditionalDependencies>
wpcap.lib
</AdditionalDependencies>
...
...
PcapDotNet/src/PcapDotNet.sln
View file @
21b4cd37
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0D5DCCC5-A509-4B4E-90B0-92390C6EA06F}"
ProjectSection(SolutionItems) = preProject
LocalTestRun.testrunconfig = LocalTestRun.testrunconfig
...
...
@@ -8,6 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
PcapDotNet.ruleset = PcapDotNet.ruleset
PcapDotNet.sln.DotSettings = PcapDotNet.sln.DotSettings
PcapDotNet.vsmdi = PcapDotNet.vsmdi
PcapDotNetCPP.ruleset = PcapDotNetCPP.ruleset
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PcapDotNet.Core.Test", "PcapDotNet.Core.Test\PcapDotNet.Core.Test.csproj", "{045A6460-C260-4CDA-8030-FD19A0086C95}"
...
...
@@ -29,42 +32,6 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PcapDotNet.Core.Extensions", "PcapDotNet.Core.Extensions\PcapDotNet.Core.Extensions.csproj", "{322040C2-3DC1-4D0C-8E0F-F05290AFE023}"
EndProject
Global
GlobalSection(TeamFoundationVersionControl) = preSolution
SccNumberOfProjects = 10
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
SccTeamFoundationServer = https://tfs.codeplex.com/tfs/tfs06
SccLocalPath0 = .
SccProjectUniqueName1 = PcapDotNet.Core.Test\\PcapDotNet.Core.Test.csproj
SccProjectName1 = PcapDotNet.Core.Test
SccLocalPath1 = PcapDotNet.Core.Test
SccProjectUniqueName2 = PcapDotNet.TestUtils\\PcapDotNet.TestUtils.csproj
SccProjectName2 = PcapDotNet.TestUtils
SccLocalPath2 = PcapDotNet.TestUtils
SccProjectUniqueName3 = PcapDotNet.Packets.TestUtils\\PcapDotNet.Packets.TestUtils.csproj
SccProjectName3 = PcapDotNet.Packets.TestUtils
SccLocalPath3 = PcapDotNet.Packets.TestUtils
SccProjectUniqueName4 = PcapDotNet.Base\\PcapDotNet.Base.csproj
SccProjectName4 = PcapDotNet.Base
SccLocalPath4 = PcapDotNet.Base
SccProjectUniqueName5 = PcapDotNet.Packets.Test\\PcapDotNet.Packets.Test.csproj
SccProjectName5 = PcapDotNet.Packets.Test
SccLocalPath5 = PcapDotNet.Packets.Test
SccProjectUniqueName6 = PcapDotNet.Packets\\PcapDotNet.Packets.csproj
SccProjectName6 = PcapDotNet.Packets
SccLocalPath6 = PcapDotNet.Packets
SccProjectUniqueName7 = PcapDotNet.Base.Test\\PcapDotNet.Base.Test.csproj
SccProjectName7 = PcapDotNet.Base.Test
SccLocalPath7 = PcapDotNet.Base.Test
SccProjectUniqueName8 = PcapDotNet.Core.Extensions\\PcapDotNet.Core.Extensions.csproj
SccProjectName8 = PcapDotNet.Core.Extensions
SccLocalPath8 = PcapDotNet.Core.Extensions
SccProjectUniqueName9 = PcapDotNet.Core\\PcapDotNet.Core.vcxproj
SccProjectName9 = PcapDotNet.Core
SccLocalPath9 = PcapDotNet.Core
EndGlobalSection
GlobalSection(TestCaseManagementSettings) = postSolution
CategoryFile = PcapDotNet.vsmdi
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
...
...
@@ -224,4 +191,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(TestCaseManagementSettings) = postSolution
CategoryFile = PcapDotNet.vsmdi
EndGlobalSection
EndGlobal
PcapDotNet/src/PcapDotNetCPP.ruleset
0 → 100644
View file @
21b4cd37
<?xml version="1.0" encoding="utf-8"?>
<RuleSet
Name=
"Pcap.Net C++ Rules"
Description=
"This rule set contains the rules according to Pcap.Net conventions. See http://pcapdotnet.codeplex.com"
ToolsVersion=
"12.0"
>
<Localization
ResourceAssembly=
"Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.dll"
ResourceBaseName=
"Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.Localized"
>
<Name
Resource=
"Pcap.Net_Name"
/>
<Description
Resource=
"Pcap.Net_Description"
/>
</Localization>
<IncludeAll
Action=
"Warning"
/>
<Rules
AnalyzerId=
"Microsoft.Analyzers.ManagedCodeAnalysis"
RuleNamespace=
"Microsoft.Rules.Managed"
>
<Rule
Id=
"CA1021"
Action=
"None"
/>
<Rule
Id=
"CA1027"
Action=
"None"
/>
<Rule
Id=
"CA1028"
Action=
"None"
/>
<Rule
Id=
"CA1045"
Action=
"None"
/>
<Rule
Id=
"CA1056"
Action=
"None"
/>
<Rule
Id=
"CA1501"
Action=
"None"
/>
<Rule
Id=
"CA1710"
Action=
"None"
/>
<Rule
Id=
"CA2000"
Action=
"None"
/>
<Rule
Id=
"CA2004"
Action=
"None"
/>
<Rule
Id=
"CA2151"
Action=
"None"
/>
</Rules>
</RuleSet>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment