一般更新

master
bicijinlian 4 years ago
parent 0c8ae28efa
commit f89c452983

@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "5.0.0",
"commands": [
"dotnet-ef"
]
}
}
}

@ -75,11 +75,11 @@ namespace SwaggerStudy
});
//包含xml注释
//var xmlCommentFiles = System.IO.Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory, $"SwaggerStudy.*.xml", System.IO.SearchOption.TopDirectoryOnly);
//foreach (var xmlFile in xmlCommentFiles)
//{
// setup.IncludeXmlComments(xmlFile, true);
//}
var xmlCommentFiles = System.IO.Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory, $"SwaggerStudy.*.xml", System.IO.SearchOption.TopDirectoryOnly);
foreach (var xmlFile in xmlCommentFiles)
{
setup.IncludeXmlComments(xmlFile, true);
}
});

@ -4,6 +4,7 @@
<TargetFramework>net5.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);1591</NoWarn>
<UserSecretsId>2f9ec575-5227-4ce1-b564-47ea6459c71b</UserSecretsId>
</PropertyGroup>
<ItemGroup>

Loading…
Cancel
Save