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
After installing a template package several times with --force option I get this error:
Could not find the template package containing template 'LowCodeFramework.Factory.Templates.NBWebSeed'
Could not find the template package containing template 'LowCodeFramework.Factory.Templates.NBWebSeed'
Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable1 source, Func2 predicate, Boolean& found)
at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate)
at Microsoft.TemplateEngine.Edge.Settings.TemplatePackageManager.GetTemplatePackageAsync(ITemplateInfo template, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.CliTemplateInfo.GetManagedTemplatePackageAsync(TemplatePackageManager templatePackageManager, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.TemplateInvoker.InvokeTemplateAsync(TemplateCommandArgs templateArgs, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.TemplateCommand.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.InstantiateCommand.HandleTemplateInstantiationAsync(InstantiateCommandArgs args, IEngineEnvironmentSettings environmentSettings, TemplatePackageManager templatePackageManager, TemplateGroup templateGroup, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.InstantiateCommand.ExecuteIntAsync(InstantiateCommandArgs instantiateArgs, IEngineEnvironmentSettings environmentSettings, TemplatePackageManager templatePackageManager, ParseResult parseResult, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.BaseCommand`1.CommandAction.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
Hi :),
After installing a template package several times with --force option I get this error:
Could not find the template package containing template 'LowCodeFramework.Factory.Templates.NBWebSeed'
Could not find the template package containing template 'LowCodeFramework.Factory.Templates.NBWebSeed'
Sequence contains more than one matching element
at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable
1 source, Func
2 predicate, Boolean& found)at System.Linq.Enumerable.Single[TSource](IEnumerable
1 source, Func
2 predicate)at Microsoft.TemplateEngine.Edge.Settings.TemplatePackageManager.GetTemplatePackageAsync(ITemplateInfo template, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.CliTemplateInfo.GetManagedTemplatePackageAsync(TemplatePackageManager templatePackageManager, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.TemplateInvoker.InvokeTemplateAsync(TemplateCommandArgs templateArgs, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.TemplateCommand.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.InstantiateCommand.HandleTemplateInstantiationAsync(InstantiateCommandArgs args, IEngineEnvironmentSettings environmentSettings, TemplatePackageManager templatePackageManager, TemplateGroup templateGroup, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.InstantiateCommand.ExecuteIntAsync(InstantiateCommandArgs instantiateArgs, IEngineEnvironmentSettings environmentSettings, TemplatePackageManager templatePackageManager, ParseResult parseResult, CancellationToken cancellationToken)
at Microsoft.TemplateEngine.Cli.Commands.BaseCommand`1.CommandAction.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
For details on the exit code, refer to https://aka.ms/templating-exit-codes#70
What can I do to prevent this issue? Can I force install of a package safelly or I should always uninstall and install?
Thanks and best regards
POFerro
The text was updated successfully, but these errors were encountered: