Skip to content

Migrate solution files to slnx format #4497

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

Merged
merged 1 commit into from
Apr 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Custom for Visual Studio
*.cs diff=csharp
*.sln
*.slnx
*.csproj
*.vbproj
*.fsproj
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
-
name: '[Build]'
if: steps.cache-cake.outputs.cache-hit != 'true'
run: dotnet build build/CI.sln --configuration=Release
run: dotnet build build/ --configuration=Release
-
name: '[Prepare]'
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
-
name: '[Prepare]'
if: steps.cache-cake.outputs.cache-hit != 'true'
run: dotnet build build/CI.sln --configuration=Release
run: dotnet build build/ --configuration=Release

-
name: '[Build]'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
-
name: '[Build]'
if: steps.cache-cake.outputs.cache-hit != 'true'
run: dotnet build build/CI.sln --configuration=Release
run: dotnet build build/ --configuration=Release
-
name: '[Prepare]'
shell: pwsh
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,15 @@ Thumbs.db
Desktop.ini

_NCrunch_GitVersion
GitVersion.sln.ide/
.vs/
Packages/
site/
/TestResult.xml

################
# Project Rider
################

.idea
*.sln.iml


####################
# Visual Studio Code
Expand Down
143 changes: 0 additions & 143 deletions build/CI.sln

This file was deleted.

66 changes: 66 additions & 0 deletions build/CI.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<Solution>
<Folder Name="/actions/" />
<Folder Name="/actions/artifacts-attest/">
<File Path="../.github/actions/artifacts-attest/action.yml" />
</Folder>
<Folder Name="/actions/artifacts-restore/">
<File Path="../.github/actions/artifacts-restore/action.yml" />
</Folder>
<Folder Name="/actions/cache-restore/">
<File Path="../.github/actions/cache-restore/action.yml" />
</Folder>
<Folder Name="/actions/docker-manifests/">
<File Path="../.github/actions/docker-manifests/action.yml" />
</Folder>
<Folder Name="/actions/docker-publish/">
<File Path="../.github/actions/docker-publish/action.yml" />
</Folder>
<Folder Name="/actions/docker-test/">
<File Path="../.github/actions/docker-test/action.yml" />
</Folder>
<Folder Name="/scripts/">
<File Path="../tests/scripts/test-global-tool.sh" />
<File Path="../tests/scripts/test-msbuild-task.sh" />
<File Path="../tests/scripts/test-native-tool.sh" />
</Folder>
<Folder Name="/sln/">
<File Path="../.config/dotnet-tools.json" />
<File Path="../.gitignore" />
<File Path="../.remarkrc.yaml" />
<File Path="../global.json" />
<File Path="../package.json" />
<File Path="../src/mark-shipped.ps1" />
<File Path="Directory.Build.props" />
<File Path="Directory.Packages.props" />
</Folder>
<Folder Name="/workflows/">
<File Path="../.github/dependabot.yml" />
<File Path="../.github/workflows/ci.yml" />
<File Path="../.github/workflows/codeql-analysis.yml" />
<File Path="../.github/workflows/docs.yml" />
<File Path="../.github/workflows/format.yml" />
<File Path="../.github/workflows/homebrew.yml" />
<File Path="../.github/workflows/mkdocs.yml" />
<File Path="../.github/workflows/release.yml" />
<File Path="../.github/workflows/stale.yml" />
<File Path="../.github/workflows/winget.yml" />
</Folder>
<Folder Name="/workflows/_/">
<File Path="../.github/workflows/_artifacts_linux.yml" />
<File Path="../.github/workflows/_artifacts_windows.yml" />
<File Path="../.github/workflows/_build.yml" />
<File Path="../.github/workflows/_docker.yml" />
<File Path="../.github/workflows/_docker_manifests.yml" />
<File Path="../.github/workflows/_prepare.yml" />
<File Path="../.github/workflows/_publish.yml" />
<File Path="../.github/workflows/_unit_tests.yml" />
</Folder>
<Project Path="artifacts/artifacts.csproj" />
<Project Path="build/build.csproj" />
<Project Path="common/common.csproj" />
<Project Path="config/config.csproj" />
<Project Path="docker/docker.csproj" />
<Project Path="docs/docs.csproj" />
<Project Path="publish/publish.csproj" />
<Project Path="release/release.csproj" />
</Solution>
2 changes: 1 addition & 1 deletion build/build/Tasks/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public sealed class Build : FrostingTask<BuildContext>
public override void Run(BuildContext context)
{
context.Information("Builds solution...");
const string sln = "./src/GitVersion.sln";
const string sln = "./src/GitVersion.slnx";

context.DotNetRestore(sln, new DotNetRestoreSettings
{
Expand Down
2 changes: 1 addition & 1 deletion build/build/Tasks/BuildPrepare.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public override void Run(BuildContext context)
{
context.Information("Builds solution...");

const string sln = "./src/GitVersion.sln";
const string sln = "./src/GitVersion.slnx";
context.DotNetRestore(sln,
new()
{
Expand Down
Loading