Skip to content

Commit e34a9fb

Browse files
Migrate to slnx (#3411)
Now that Visual Studio 2022 17.4 has been released, all major IDEs should now support `.slnx` files.
1 parent eea4876 commit e34a9fb

File tree

6 files changed

+85
-341
lines changed

6 files changed

+85
-341
lines changed

Swashbuckle.AspNetCore.sln

Lines changed: 0 additions & 337 deletions
This file was deleted.

Swashbuckle.AspNetCore.slnx

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<Solution>
2+
<Folder Name="/perf/">
3+
<Project Path="perf/Swashbuckle.AspNetCore.Benchmarks/Swashbuckle.AspNetCore.Benchmarks.csproj" />
4+
</Folder>
5+
<Folder Name="/Solution Items/">
6+
<File Path=".editorconfig" />
7+
<File Path=".gitattributes" />
8+
<File Path=".gitignore" />
9+
<File Path="benchmark.ps1" />
10+
<File Path="CONTRIBUTING.md" />
11+
<File Path="Directory.Build.props" />
12+
<File Path="Directory.Build.targets" />
13+
<File Path="Directory.Packages.props" />
14+
<File Path="global.json" />
15+
<File Path="ISSUE_TEMPLATE.md" />
16+
<File Path="LICENSE" />
17+
<File Path="README.md" />
18+
<Properties Name="FolderGlobals">
19+
<Property Name="global_1json__JSONSchema" Value="http://json.schemastore.org/global" />
20+
</Properties>
21+
</Folder>
22+
<Folder Name="/Solution Items/.github/">
23+
<File Path=".github/actionlint-matcher.json" />
24+
<File Path=".github/bump-version.ps1" />
25+
<File Path=".github/dependabot.yml" />
26+
<File Path=".github/update-baselines.ps1" />
27+
</Folder>
28+
<Folder Name="/Solution Items/.github/workflows/">
29+
<File Path=".github/workflows/actions-lint.yml" />
30+
<File Path=".github/workflows/build.yml" />
31+
<File Path=".github/workflows/bump-version.yml" />
32+
<File Path=".github/workflows/codeql-analysis.yml" />
33+
<File Path=".github/workflows/ossf-scorecard.yml" />
34+
<File Path=".github/workflows/release.yml" />
35+
<File Path=".github/workflows/stale.yml" />
36+
<File Path=".github/workflows/update-dotnet-sdk.yml" />
37+
</Folder>
38+
<Folder Name="/src/">
39+
<Project Path="src/Swashbuckle.AspNetCore.Annotations/Swashbuckle.AspNetCore.Annotations.csproj" />
40+
<Project Path="src/Swashbuckle.AspNetCore.ApiTesting.Xunit/Swashbuckle.AspNetCore.ApiTesting.Xunit.csproj" />
41+
<Project Path="src/Swashbuckle.AspNetCore.ApiTesting/Swashbuckle.AspNetCore.ApiTesting.csproj" />
42+
<Project Path="src/Swashbuckle.AspNetCore.Cli/Swashbuckle.AspNetCore.Cli.csproj" />
43+
<Project Path="src/Swashbuckle.AspNetCore.Newtonsoft/Swashbuckle.AspNetCore.Newtonsoft.csproj" />
44+
<Project Path="src/Swashbuckle.AspNetCore.ReDoc/Swashbuckle.AspNetCore.ReDoc.csproj" />
45+
<Project Path="src/Swashbuckle.AspNetCore.Swagger/Swashbuckle.AspNetCore.Swagger.csproj" />
46+
<Project Path="src/Swashbuckle.AspNetCore.SwaggerGen/Swashbuckle.AspNetCore.SwaggerGen.csproj" />
47+
<Project Path="src/Swashbuckle.AspNetCore.SwaggerUI/Swashbuckle.AspNetCore.SwaggerUI.csproj" />
48+
<Project Path="src/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore.csproj" />
49+
</Folder>
50+
<Folder Name="/test/">
51+
<Project Path="test/Swashbuckle.AspNetCore.Annotations.Test/Swashbuckle.AspNetCore.Annotations.Test.csproj" />
52+
<Project Path="test/Swashbuckle.AspNetCore.ApiTesting.Test/Swashbuckle.AspNetCore.ApiTesting.Test.csproj" />
53+
<Project Path="test/Swashbuckle.AspNetCore.Cli.Test/Swashbuckle.AspNetCore.Cli.Test.csproj" />
54+
<Project Path="test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj" />
55+
<Project Path="test/Swashbuckle.AspNetCore.Newtonsoft.Test/Swashbuckle.AspNetCore.Newtonsoft.Test.csproj" />
56+
<Project Path="test/Swashbuckle.AspNetCore.SwaggerGen.Test/Swashbuckle.AspNetCore.SwaggerGen.Test.csproj" />
57+
<Project Path="test/Swashbuckle.AspNetCore.TestSupport/Swashbuckle.AspNetCore.TestSupport.csproj" />
58+
</Folder>
59+
<Folder Name="/test/WebSites/">
60+
<Project Path="test/WebSites/Basic/Basic.csproj" />
61+
<Project Path="test/WebSites/CliExample/CliExample.csproj" />
62+
<Project Path="test/WebSites/CliExampleWithFactory/CliExampleWithFactory.csproj" />
63+
<Project Path="test/WebSites/ConfigFromFile/ConfigFromFile.csproj" />
64+
<Project Path="test/WebSites/CustomDocumentSerializer/CustomDocumentSerializer.csproj" />
65+
<Project Path="test/WebSites/CustomUIConfig/CustomUIConfig.csproj" />
66+
<Project Path="test/WebSites/CustomUIIndex/CustomUIIndex.csproj" />
67+
<Project Path="test/WebSites/GenericControllers/GenericControllers.csproj" />
68+
<Project Path="test/WebSites/MinimalApp/MinimalApp.csproj" />
69+
<Project Path="test/WebSites/MinimalAppWithHostedServices/MinimalAppWithHostedServices.csproj" />
70+
<Project Path="test/WebSites/MultipleVersions/MultipleVersions.csproj" />
71+
<Project Path="test/WebSites/MvcWithNullable/MvcWithNullable.csproj" />
72+
<Project Path="test/WebSites/NswagClientExample/NswagClientExample.csproj" />
73+
<Project Path="test/WebSites/OAuth2Integration/OAuth2Integration.csproj" />
74+
<Project Path="test/WebSites/ReDoc/ReDoc.csproj" />
75+
<Project Path="test/WebSites/TestFirst.IntegrationTests/TestFirst.IntegrationTests.csproj" />
76+
<Project Path="test/WebSites/TestFirst/TestFirst.csproj" />
77+
<Project Path="test/WebSites/TopLevelSwaggerDoc/TopLevelSwaggerDoc.csproj" />
78+
<Project Path="test/WebSites/WebApi.Aot/WebApi.Aot.csproj" />
79+
<Project Path="test/WebSites/WebApi/WebApi.csproj" />
80+
</Folder>
81+
</Solution>

test/Swashbuckle.AspNetCore.IntegrationTests/TestApplication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ protected override void ConfigureWebHost(IWebHostBuilder builder)
1313
var applicationName = startupAssembly.GetName().Name;
1414

1515
builder.UseEnvironment("Development")
16-
.UseSolutionRelativeContentRoot(Path.Combine("test", "WebSites", applicationName));
16+
.UseSolutionRelativeContentRoot(Path.Combine("test", "WebSites", applicationName), "*.slnx");
1717
}
1818
}

test/Swashbuckle.AspNetCore.IntegrationTests/TestSite.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public TestServer BuildServer()
1919

2020
var builder = new WebHostBuilder()
2121
.UseEnvironment("Development")
22-
.UseSolutionRelativeContentRoot(Path.Combine("test", "WebSites", applicationName))
22+
.UseSolutionRelativeContentRoot(Path.Combine("test", "WebSites", applicationName), "*.slnx")
2323
.UseStartup(_startupType);
2424

2525
return new TestServer(builder);

test/Swashbuckle.AspNetCore.IntegrationTests/TestSiteAutofaq.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public TestServer BuildServer()
2222
var hostBuilder = new WebHostBuilder()
2323
.UseEnvironment("Development")
2424
.ConfigureServices(services => services.AddAutofac())
25-
.UseSolutionRelativeContentRoot(Path.Combine("test", "WebSites", applicationName))
25+
.UseSolutionRelativeContentRoot(Path.Combine("test", "WebSites", applicationName), "*.slnx")
2626
.UseStartup(_startupType);
2727

2828
return new TestServer(hostBuilder);

test/WebSites/TestFirst.IntegrationTests/ApiTestsSetup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public ApiTestRunner()
3434

3535
private static string GetSolutionRelativeContentRoot(
3636
string solutionRelativePath,
37-
string solutionName = "*.sln")
37+
string solutionName = "*.slnx")
3838
{
3939
ArgumentNullException.ThrowIfNull(solutionRelativePath);
4040

0 commit comments

Comments
 (0)