Skip to content

Commit 35f5c00

Browse files
committed
GenerateDocumentationFile and suppress warnings. LoginPath documentation.
1 parent b804e58 commit 35f5c00

File tree

4 files changed

+41
-20
lines changed

4 files changed

+41
-20
lines changed

src/ITfoxtec.Identity.Saml2.Mvc/ITfoxtec.Identity.Saml2.Mvc.csproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ Support .NET Framework 4.6.2 and 4.7.2</Description>
4747
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net472|AnyCPU'">
4848
<DebugType>pdbonly</DebugType>
4949
<DebugSymbols>true</DebugSymbols>
50-
<DocumentationFile>bin\Release\net472\ITfoxtec.Identity.Saml2.Mvc.xml</DocumentationFile>
50+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
51+
<NoWarn>$(NoWarn);1591</NoWarn>
5152
</PropertyGroup>
5253
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net472|AnyCPU'">
53-
<DocumentationFile>bin\Debug\net472\ITfoxtec.Identity.Saml2.Mvc.xml</DocumentationFile>
54+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
55+
<NoWarn>$(NoWarn);1591</NoWarn>
5456
</PropertyGroup>
5557

5658
<PropertyGroup Condition=" '$(TargetFramework)' == 'net462'">
@@ -59,9 +61,11 @@ Support .NET Framework 4.6.2 and 4.7.2</Description>
5961
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
6062
<DebugType>pdbonly</DebugType>
6163
<DebugSymbols>true</DebugSymbols>
62-
<DocumentationFile>bin\Release\net462\ITfoxtec.Identity.Saml2.Mvc.xml</DocumentationFile>
64+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
65+
<NoWarn>$(NoWarn);1591</NoWarn>
6366
</PropertyGroup>
6467
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net462|AnyCPU'">
65-
<DocumentationFile>bin\Debug\net462\ITfoxtec.Identity.Saml2.Mvc.xml</DocumentationFile>
68+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
69+
<NoWarn>$(NoWarn);1591</NoWarn>
6670
</PropertyGroup>
6771
</Project>

src/ITfoxtec.Identity.Saml2.MvcCore/Configuration/Saml2ServiceCollectionExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ public static class Saml2ServiceCollectionExtensions
99
/// <summary>
1010
/// Add SAML 2.0 configuration.
1111
/// </summary>
12+
/// <param name="loginPath">Redirection target used by the handler.</param>
1213
public static IServiceCollection AddSaml2(this IServiceCollection services, string loginPath = "/Auth/Login")
1314
{
1415
services.AddAuthentication(Saml2Constants.AuthenticationScheme)

src/ITfoxtec.Identity.Saml2.MvcCore/ITfoxtec.Identity.Saml2.MvcCore.csproj

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,12 @@
4949
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp2.1|AnyCPU'">
5050
<DebugType>pdbonly</DebugType>
5151
<DebugSymbols>true</DebugSymbols>
52-
<DocumentationFile>bin\Release\netcoreapp2.1\ITfoxtec.Identity.Saml2.MvcCore.xml</DocumentationFile>
52+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
53+
<NoWarn>$(NoWarn);1591</NoWarn>
5354
</PropertyGroup>
5455
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp2.1|AnyCPU'">
55-
<DocumentationFile>bin\Debug\netcoreapp2.1\ITfoxtec.Identity.Saml2.MvcCore.xml</DocumentationFile>
56+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
57+
<NoWarn>$(NoWarn);1591</NoWarn>
5658
</PropertyGroup>
5759

5860
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.2'">
@@ -73,10 +75,12 @@
7375
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp2.2|AnyCPU'">
7476
<DebugType>pdbonly</DebugType>
7577
<DebugSymbols>true</DebugSymbols>
76-
<DocumentationFile>bin\Release\netcoreapp2.2\ITfoxtec.Identity.Saml2.MvcCore.xml</DocumentationFile>
78+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
79+
<NoWarn>$(NoWarn);1591</NoWarn>
7780
</PropertyGroup>
7881
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp2.2|AnyCPU'">
79-
<DocumentationFile>bin\Debug\netcoreapp2.2\ITfoxtec.Identity.Saml2.MvcCore.xml</DocumentationFile>
82+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
83+
<NoWarn>$(NoWarn);1591</NoWarn>
8084
</PropertyGroup>
8185

8286
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
@@ -104,10 +108,12 @@
104108
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net472|AnyCPU'">
105109
<DebugType>pdbonly</DebugType>
106110
<DebugSymbols>true</DebugSymbols>
107-
<DocumentationFile>bin\Release\net472\ITfoxtec.Identity.Saml2.MvcCore.xml</DocumentationFile>
111+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
112+
<NoWarn>$(NoWarn);1591</NoWarn>
108113
</PropertyGroup>
109114
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net472|AnyCPU'">
110-
<DocumentationFile>bin\Debug\net472\ITfoxtec.Identity.Saml2.MvcCore.xml</DocumentationFile>
115+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
116+
<NoWarn>$(NoWarn);1591</NoWarn>
111117
</PropertyGroup>
112118

113119
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
@@ -135,9 +141,11 @@
135141
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
136142
<DebugType>pdbonly</DebugType>
137143
<DebugSymbols>true</DebugSymbols>
138-
<DocumentationFile>bin\Release\net462\ITfoxtec.Identity.Saml2.MvcCore.xml</DocumentationFile>
144+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
145+
<NoWarn>$(NoWarn);1591</NoWarn>
139146
</PropertyGroup>
140147
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net462|AnyCPU'">
141-
<DocumentationFile>bin\Debug\net462\ITfoxtec.Identity.Saml2.MvcCore.xml</DocumentationFile>
148+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
149+
<NoWarn>$(NoWarn);1591</NoWarn>
142150
</PropertyGroup>
143151
</Project>

src/ITfoxtec.Identity.Saml2/ITfoxtec.Identity.Saml2.csproj

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ Tested for compliance with AD FS, Azure AD and Azure AD B2C. Furthermore, the Da
4545
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp2.1|AnyCPU'">
4646
<DebugType>pdbonly</DebugType>
4747
<DebugSymbols>true</DebugSymbols>
48-
<DocumentationFile>bin\Release\netcoreapp2.1\ITfoxtec.Identity.Saml2.xml</DocumentationFile>
48+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
49+
<NoWarn>$(NoWarn);1591</NoWarn>
4950
</PropertyGroup>
5051
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp2.1|AnyCPU'">
51-
<DocumentationFile>bin\Debug\netcoreapp2.1\ITfoxtec.Identity.Saml2.xml</DocumentationFile>
52+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
53+
<NoWarn>$(NoWarn);1591</NoWarn>
5254
</PropertyGroup>
5355

5456
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.2'">
@@ -64,10 +66,12 @@ Tested for compliance with AD FS, Azure AD and Azure AD B2C. Furthermore, the Da
6466
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp2.2|AnyCPU'">
6567
<DebugType>pdbonly</DebugType>
6668
<DebugSymbols>true</DebugSymbols>
67-
<DocumentationFile>bin\Release\netcoreapp2.2\ITfoxtec.Identity.Saml2.xml</DocumentationFile>
69+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
70+
<NoWarn>$(NoWarn);1591</NoWarn>
6871
</PropertyGroup>
6972
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp2.2|AnyCPU'">
70-
<DocumentationFile>bin\Debug\netcoreapp2.2\ITfoxtec.Identity.Saml2.xml</DocumentationFile>
73+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
74+
<NoWarn>$(NoWarn);1591</NoWarn>
7175
</PropertyGroup>
7276

7377
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' ">
@@ -90,10 +94,12 @@ Tested for compliance with AD FS, Azure AD and Azure AD B2C. Furthermore, the Da
9094
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net472|AnyCPU'">
9195
<DebugType>pdbonly</DebugType>
9296
<DebugSymbols>true</DebugSymbols>
93-
<DocumentationFile>bin\Release\net472\ITfoxtec.Identity.Saml2.xml</DocumentationFile>
97+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
98+
<NoWarn>$(NoWarn);1591</NoWarn>
9499
</PropertyGroup>
95100
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net472|AnyCPU'">
96-
<DocumentationFile>bin\Debug\net472\ITfoxtec.Identity.Saml2.xml</DocumentationFile>
101+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
102+
<NoWarn>$(NoWarn);1591</NoWarn>
97103
</PropertyGroup>
98104

99105
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
@@ -117,9 +123,11 @@ Tested for compliance with AD FS, Azure AD and Azure AD B2C. Furthermore, the Da
117123
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
118124
<DebugType>pdbonly</DebugType>
119125
<DebugSymbols>true</DebugSymbols>
120-
<DocumentationFile>bin\Release\net462\ITfoxtec.Identity.Saml2.xml</DocumentationFile>
126+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
127+
<NoWarn>$(NoWarn);1591</NoWarn>
121128
</PropertyGroup>
122129
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net462|AnyCPU'">
123-
<DocumentationFile>bin\Debug\net462\ITfoxtec.Identity.Saml2.xml</DocumentationFile>
130+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
131+
<NoWarn>$(NoWarn);1591</NoWarn>
124132
</PropertyGroup>
125133
</Project>

0 commit comments

Comments
 (0)