File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
src/ProjectTemplates/Shared Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"sdk" : {
3
- "version" : " 5.0.207 "
3
+ "version" : " 5.0.401 "
4
4
},
5
5
"tools" : {
6
- "dotnet" : " 5.0.207 " ,
6
+ "dotnet" : " 5.0.401 " ,
7
7
"runtimes" : {
8
8
"dotnet/x64" : [
9
9
" 2.1.30" ,
Original file line number Diff line number Diff line change @@ -173,9 +173,12 @@ private static async Task VerifyCannotFindTemplateAsync(ITestOutputHelper output
173
173
{
174
174
var proc = await RunDotNetNew ( output , $ "\" { templateName } \" ") ;
175
175
176
- if ( ! proc . Output . Contains ( "Couldn't find an installed template that matches the input, searching online for one that does.. .") )
176
+ if ( ! proc . Error . Contains ( $ "No templates found matching: ' { templateName } ' .") )
177
177
{
178
- throw new InvalidOperationException ( $ "Failed to uninstall previous templates. The template '{ templateName } ' could still be found.") ;
178
+ throw new InvalidOperationException ( $ "Failed to uninstall previous templates. The template '{ templateName } ' could still be found. " +
179
+ $ "Process exit code:{ proc . ExitCode } " +
180
+ $ "StdOut:{ proc . Output } ." +
181
+ $ "StdErr:{ proc . Error } ") ;
179
182
}
180
183
}
181
184
finally
You can’t perform that action at this time.
0 commit comments