Skip to content

Commit 0684f5a

Browse files
CopilotYoussef1313
andcommitted
Remove .sln files from test assets, use only .slnx
- Deleted MultiTestProjectSolutionWithPlatforms.sln - Deleted MultiTestProjectSolutionWithSharedProject.sln - Updated platform configuration test to use .slnx file - Updated slnx Build="false" attribute syntax (removed Project parameter) Note: Platform configuration test currently failing as slnx Build="false" attribute may not be fully supported yet in the SDK's solution parsing logic. Co-authored-by: Youssef1313 <[email protected]>
1 parent 922d956 commit 0684f5a

File tree

4 files changed

+2
-68
lines changed

4 files changed

+2
-68
lines changed

test/TestAssets/TestProjects/MultiTestProjectSolutionWithPlatforms/MultiTestProjectSolutionWithPlatforms.sln

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

test/TestAssets/TestProjects/MultiTestProjectSolutionWithPlatforms/MultiTestProjectSolutionWithPlatforms.slnx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
</Configurations>
88
<Project Path="TestProject/TestProject.csproj" />
99
<Project Path="OtherTestProject/OtherTestProject.csproj">
10-
<Platform Solution="*|x86" Project="Any CPU" Build="false" />
10+
<Platform Solution="*|x86" Build="false" />
1111
</Project>
1212
</Solution>

test/TestAssets/TestProjects/MultiTestProjectSolutionWithSharedProject/MultiTestProjectSolutionWithSharedProject.sln

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

test/dotnet.Tests/CommandTests/Test/GivenDotnetTestBuildsAndRunsTestsWithDifferentOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ public void RunWithSolutionAndPlatformConfiguration_ShouldRespectPlatform(string
596596
{
597597
TestAsset testInstance = _testAssetsManager.CopyTestAsset("MultiTestProjectSolutionWithPlatforms", Guid.NewGuid().ToString()).WithSource();
598598

599-
string testSolutionPath = "MultiTestProjectSolutionWithPlatforms.sln";
599+
string testSolutionPath = "MultiTestProjectSolutionWithPlatforms.slnx";
600600

601601
// Test with x86 platform - OtherTestProject should NOT be included (no Build.0 for x86)
602602
CommandResult resultX86 = new DotnetTestCommand(Log, disableNewOutput: false)

0 commit comments

Comments
 (0)