Skip to content

Migrate solution files from .sln to .slnx#1262

Merged
claudiamurialdo merged 5 commits into
masterfrom
upd/migrate-to-slnx
Apr 7, 2026
Merged

Migrate solution files from .sln to .slnx#1262
claudiamurialdo merged 5 commits into
masterfrom
upd/migrate-to-slnx

Conversation

@claudiamurialdo
Copy link
Copy Markdown
Collaborator

@claudiamurialdo claudiamurialdo commented Mar 26, 2026

Migrate to .slnx solution format and update all references
Issue:208221

@claudiamurialdo claudiamurialdo had a problem deploying to external-storage-tests March 26, 2026 19:35 — with GitHub Actions Failure
@claudiamurialdo claudiamurialdo temporarily deployed to kafka-integration-tests March 26, 2026 19:35 — with GitHub Actions Inactive
@genexusbot
Copy link
Copy Markdown
Collaborator

Cherry pick to beta failed, 1 conflicted file in commit f28ec9e
  • dotnet/DotNetStandardClasses.sln

@genexusbot genexusbot added the conflict Conflict merging to beta branch label Mar 26, 2026
@claudiamurialdo claudiamurialdo requested a review from a team as a code owner March 26, 2026 19:46
@claudiamurialdo claudiamurialdo had a problem deploying to external-storage-tests March 26, 2026 19:46 — with GitHub Actions Failure
@claudiamurialdo claudiamurialdo temporarily deployed to kafka-integration-tests March 26, 2026 19:46 — with GitHub Actions Inactive
@claudiamurialdo claudiamurialdo temporarily deployed to kafka-integration-tests March 26, 2026 19:52 — with GitHub Actions Inactive
@claudiamurialdo claudiamurialdo had a problem deploying to external-storage-tests March 26, 2026 19:52 — with GitHub Actions Failure
@genexusbot
Copy link
Copy Markdown
Collaborator

Manual cherry pick to beta success

@genexusbot
Copy link
Copy Markdown
Collaborator

Cherry pick to beta success

@genexusbot genexusbot removed the conflict Conflict merging to beta branch label Mar 26, 2026
…der in output path

With TargetFrameworks (plural), MSBuild outputs to bin/Release/net10.0/ even for a
single TFM, causing getBLOB_PATH() base path mismatch in GXDBFilePathTest.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@claudiamurialdo claudiamurialdo temporarily deployed to kafka-integration-tests March 26, 2026 20:33 — with GitHub Actions Inactive
@claudiamurialdo claudiamurialdo had a problem deploying to external-storage-tests March 26, 2026 20:33 — with GitHub Actions Failure
@genexusbot
Copy link
Copy Markdown
Collaborator

Cherry pick to beta success

fedeazzato
fedeazzato previously approved these changes Mar 27, 2026
Copy link
Copy Markdown
Member

@fedeazzato fedeazzato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! 💯


- name: Build temporary solution
run: dotnet build dotnet\CodeqlSolution.sln --framework net8.0
run: dotnet build dotnet\CodeqlSolution.slnx --framework net8.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the --framework argument be updated to net10.0?

dotnet new sln --format sln --name $TempSolution --output dotnet --force
dotnet msbuild dotnet\DotNetStandardClasses.sln /t:DumpProjects -p:DumpSolutionName=$TempSolution /m:1 -p:DumpSolutionTargetFrameworkDefault=net8
dotnet new sln --name $TempSolution --output dotnet --force
dotnet msbuild dotnet\DotNetStandardClasses.slnx /t:DumpProjects -p:DumpSolutionName=$TempSolution /m:1 -p:DumpSolutionTargetFrameworkDefault=net8
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the -p:DumpSolutionTargetFrameworkDefault be updated to net10?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All your suggestions have been applied. Thanks for the feedback

run: |
dotnet new sln --name $SolutionFileName --output dotnet --force
dotnet msbuild dotnet/DotNetStandardClasses.sln /t:DumpProjectsAndCoreTests -p:DumpSolutionName=$SolutionFileName -p:DumpSolutionExtension=slnx /m:1 -p:DumpSolutionTargetFrameworkDefault=net8
dotnet msbuild dotnet/DotNetStandardClasses.slnx /t:DumpProjectsAndCoreTests -p:DumpSolutionName=$SolutionFileName -p:DumpSolutionExtension=slnx /m:1 -p:DumpSolutionTargetFrameworkDefault=net8
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the -p:DumpSolutionTargetFrameworkDefault be updated to net10?

@@ -65,7 +65,7 @@ jobs:
- name: Create temporary solution with .NET 8 projects
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a message here referring to .NET 8

Comment thread dotnet/Directory.Build.targets Outdated
<DumpSolutionName>TempSolution</DumpSolutionName>
<DumpSolutionExtension>sln</DumpSolutionExtension>
<DumpSolutionExtension>slnx</DumpSolutionExtension>
<DumpSolutionTargetFrameworkDefault>net8</DumpSolutionTargetFrameworkDefault>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this prop be updated to net10?

Comment thread README.md Outdated
# How to build

## Requirements
- Visual Studio 2022 (17.8 or higher).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VS versions compatible with slnx are 2025 (17.14 or higher), but recommended 2026.

Comment thread README.md Outdated
- ```dotnet msbuild /p:TF=net8.0 /p:DeployDirectory=C:\KB\NetModel\web\bin DotNetStandardClasses.sln```
- ```dotnet msbuild /p:TF=net10.0 /p:DeployDirectory=C:\KB\NetModel\web\bin DotNetStandardClasses.slnx```

It compiles the solution and copies all the .NET 8 assemblies to the folder C:\KB\NetModel\web\bin.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a message with a reference to .NET 8

@genexusbot
Copy link
Copy Markdown
Collaborator

Cherry pick to beta success

@claudiamurialdo claudiamurialdo merged commit 986d214 into master Apr 7, 2026
9 of 10 checks passed
@claudiamurialdo claudiamurialdo deleted the upd/migrate-to-slnx branch April 7, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants