@@ -64,6 +64,17 @@ dotnet solution <SLN_FILE> remove [<PROJECT_PATH>...] [options]
64
64
VisualStudioVersion = 15.0.26006.2
65
65
MinimumVisualStudioVersion = 10.0.40219.1
66
66
Global
67
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
68
+ Debug|Any CPU = Debug|Any CPU
69
+ Debug|x64 = Debug|x64
70
+ Debug|x86 = Debug|x86
71
+ Release|Any CPU = Release|Any CPU
72
+ Release|x64 = Release|x64
73
+ Release|x86 = Release|x86
74
+ EndGlobalSection
75
+ GlobalSection(SolutionProperties) = preSolution
76
+ HideSolutionNode = FALSE
77
+ EndGlobalSection
67
78
EndGlobal
68
79
" ;
69
80
@@ -317,7 +328,7 @@ public void WhenInvalidSolutionIsPassedItPrintsErrorAndUsage(string solutionComm
317
328
. WithWorkingDirectory ( projectDirectory )
318
329
. Execute ( solutionCommand , "InvalidSolution.sln" , "remove" , projectToRemove ) ;
319
330
cmd . Should ( ) . Fail ( ) ;
320
- cmd . StdErr . Should ( ) . Match ( string . Format ( CommonLocalizableStrings . InvalidSolutionFormatString , "InvalidSolution.sln" , "*" ) ) ;
331
+ cmd . StdErr . Should ( ) . Match ( string . Format ( CommonLocalizableStrings . InvalidSolutionFormatString , Path . Combine ( projectDirectory , "InvalidSolution.sln" ) , "*" ) ) ;
321
332
cmd . StdOut . Should ( ) . BeVisuallyEquivalentToIfNotLocalized ( "" ) ;
322
333
}
323
334
@@ -474,7 +485,7 @@ public void WhenSolutionItemsExistInFolderParentFoldersAreNotRemoved(string solu
474
485
. BeVisuallyEquivalentTo ( ExpectedSlnContentsAfterRemoveProjectInSolutionWithNestedSolutionItems ) ;
475
486
}
476
487
477
- [ Theory ]
488
+ [ Theory ( Skip = "vs-solutionpersistence does not allow duplicate references." ) ]
478
489
[ InlineData ( "sln" ) ]
479
490
[ InlineData ( "solution" ) ]
480
491
public void WhenDuplicateReferencesArePresentItRemovesThemAll ( string solutionCommand )
0 commit comments