@@ -64,6 +64,17 @@ dotnet solution <SLN_FILE> remove [<PROJECT_PATH>...] [options]
6464VisualStudioVersion = 15.0.26006.2
6565MinimumVisualStudioVersion = 10.0.40219.1
6666Global
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
6778EndGlobal
6879" ;
6980
@@ -317,7 +328,7 @@ public void WhenInvalidSolutionIsPassedItPrintsErrorAndUsage(string solutionComm
317328 . WithWorkingDirectory ( projectDirectory )
318329 . Execute ( solutionCommand , "InvalidSolution.sln" , "remove" , projectToRemove ) ;
319330 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" ) , "*" ) ) ;
321332 cmd . StdOut . Should ( ) . BeVisuallyEquivalentToIfNotLocalized ( "" ) ;
322333 }
323334
@@ -474,7 +485,7 @@ public void WhenSolutionItemsExistInFolderParentFoldersAreNotRemoved(string solu
474485 . BeVisuallyEquivalentTo ( ExpectedSlnContentsAfterRemoveProjectInSolutionWithNestedSolutionItems ) ;
475486 }
476487
477- [ Theory ]
488+ [ Theory ( Skip = "vs-solutionpersistence does not allow duplicate references." ) ]
478489 [ InlineData ( "sln" ) ]
479490 [ InlineData ( "solution" ) ]
480491 public void WhenDuplicateReferencesArePresentItRemovesThemAll ( string solutionCommand )
0 commit comments