Skip to content

Commit aaa4e3a

Browse files
Copilotakoeplinger
andauthored
Migrate XHarness solution to .slnx format (#1432)
* Initial plan * Migrate XHarness.sln to .slnx format and update documentation Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: akoeplinger <1376924+akoeplinger@users.noreply.github.com>
1 parent 1ca2b4a commit aaa4e3a

4 files changed

Lines changed: 29 additions & 140 deletions

File tree

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ xharness [platform] [command] [options]
6464

6565
### Build System
6666
- Use `./build.sh` (Linux/macOS) or `Build.cmd` (Windows) for proper SDK setup
67-
- Alternative: `dotnet build XHarness.sln` (requires correct .NET version)
67+
- Alternative: `dotnet build XHarness.slnx` (requires correct .NET version)
6868
- Integration with Arcade SDK for .NET Foundation build standards
6969
- Azure DevOps pipelines for CI/CD
7070

@@ -157,7 +157,7 @@ XHarness uses standardized exit codes (see `src/Microsoft.DotNet.XHarness.Common
157157
├── eng/ # Build and engineering files
158158
├── tools/ # Development tools and scripts
159159
├── azure-pipelines*.yml # CI/CD pipeline definitions
160-
├── XHarness.sln # Main solution file
160+
├── XHarness.slnx # Main solution file
161161
├── build.sh / Build.cmd # Build scripts
162162
└── README.md # Main documentation
163163
```

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ Currently we support Xunit and NUnit test assemblies but the `Microsoft.DotNet.X
152152
When working on XHarness, there are couple of neat hacks that can improve the inner loop.
153153
The repository can either be built using regular .NET, assuming you have new enough version:
154154
```
155-
dotnet build XHarness.sln
155+
dotnet build XHarness.slnx
156156
```
157157
or you can use the build scripts `build.sh` or `Build.cmd` in repository root which will install the correct .NET SDK into the `.dotnet` folder.
158158
You can then use
159159
```
160-
./.dotnet/dotnet build XHarness.sln
160+
./.dotnet/dotnet build XHarness.slnx
161161
```
162162

163163
You can also use Visual Studio 2019+ and just F5 the `Microsoft.DotNet.XHarness.CLI` project.

XHarness.sln

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

XHarness.slnx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<Solution>
2+
<Folder Name="/Solution Items/">
3+
<File Path=".editorconfig" />
4+
<File Path="global.json" />
5+
</Folder>
6+
<Folder Name="/src/">
7+
<Project Path="src/Microsoft.DotNet.XHarness.Android/Microsoft.DotNet.XHarness.Android.csproj" />
8+
<Project Path="src/Microsoft.DotNet.XHarness.Apple/Microsoft.DotNet.XHarness.Apple.csproj" />
9+
<Project Path="src/Microsoft.DotNet.XHarness.CLI/Microsoft.DotNet.XHarness.CLI.csproj" />
10+
<Project Path="src/Microsoft.DotNet.XHarness.Common/Microsoft.DotNet.XHarness.Common.csproj" />
11+
<Project Path="src/Microsoft.DotNet.XHarness.InstrumentationBase.Xunit/Microsoft.DotNet.XHarness.DefaultAndroidEntryPoint.Xunit.csproj" />
12+
<Project Path="src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj" />
13+
<Project Path="src/Microsoft.DotNet.XHarness.TestRunners.Common/Microsoft.DotNet.XHarness.TestRunners.Common.csproj" />
14+
<Project Path="src/Microsoft.DotNet.XHarness.TestRunners.NUnit/Microsoft.DotNet.XHarness.TestRunners.NUnit.csproj" />
15+
<Project Path="src/Microsoft.DotNet.XHarness.TestRunners.Xunit/Microsoft.DotNet.XHarness.TestRunners.Xunit.csproj" />
16+
</Folder>
17+
<Folder Name="/tests/">
18+
<Project Path="tests/Microsoft.DotNet.XHarness.Android.Tests/Microsoft.DotNet.XHarness.Android.Tests.csproj" />
19+
<Project Path="tests/Microsoft.DotNet.XHarness.Apple.Tests/Microsoft.DotNet.XHarness.Apple.Tests.csproj" />
20+
<Project Path="tests/Microsoft.DotNet.XHarness.CLI.Tests/Microsoft.DotNet.XHarness.CLI.Tests.csproj" />
21+
<Project Path="tests/Microsoft.DotNet.XHarness.Common.Tests/Microsoft.DotNet.XHarness.Common.Tests.csproj" />
22+
<Project Path="tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests/Microsoft.DotNet.XHarness.iOS.Shared.Tests.csproj" />
23+
<Project Path="tests/Microsoft.DotNet.XHarness.TestRunners.Tests/Microsoft.DotNet.XHarness.TestRunners.Tests.csproj" />
24+
</Folder>
25+
</Solution>

0 commit comments

Comments
 (0)