You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CanInstantiateTemplate_WithAlias test method is currently skipped because the alias feature is not yet implemented. This ensures the stability of the test suite and prevents failures due to unimplemented features.
Details
The CanInstantiateTemplate_WithAlias test method aims to verify the functionality of template instantiation using an alias. The specific steps are as follows:
Create a temporary folder for the home directory and working directory.
Use the DotnetNewCommand to create a new console project with the alias csharpconsole.
Verify that the alias csharpconsole is successfully created with the value console.
Create a new console project without using the alias and verify its successful creation.
Create a new console project using the alias and verify its successful creation.
Compare the contents of the directories created with and without the alias to ensure they are identical.
Error Message
In the current implementation, the following error occurs when executing the command:
File Name: C:\Users\AzureTest\Desktop\aa\sdk\artifacts\bin\redist\Debug\dotnet\dotnet.exe Arguments: new console --alias csharpconsole --debug:custom-hive C:\Users\AzureTest\Desktop\aa\sdk\artifacts\tmp\Debug\dotnet-new.IntegrationTests\CanInstantiateTemplate_WithAlias\Home\20240806054533116 Exit Code: 127 StdOut:
StdErr: Unrecognized command or argument ‘csharpconsole’.
This indicates that the current version of the dotnet CLI does not support the csharpconsole alias.
Expected
Implement the alias feature and reenable the test.
The text was updated successfully, but these errors were encountered:
Summary
The CanInstantiateTemplate_WithAlias test method is currently skipped because the alias feature is not yet implemented. This ensures the stability of the test suite and prevents failures due to unimplemented features.
Details
The
CanInstantiateTemplate_WithAlias
test method aims to verify the functionality of template instantiation using an alias. The specific steps are as follows:DotnetNewCommand
to create a new console project with the aliascsharpconsole
.csharpconsole
is successfully created with the valueconsole
.Error Message
This indicates that the current version of the
dotnet
CLI does not support thecsharpconsole
alias.Expected
Implement the alias feature and reenable the test.
The text was updated successfully, but these errors were encountered: