├── .config
└── tsaoptions.json
├── .editorconfig
├── .gitattributes
├── .github
├── ISSUE_TEMPLATE
│ ├── bug_report.yml
│ ├── config.yml
│ └── feature_request.yml
├── dependabot.yml
├── policies
│ └── breaking-change.yml
├── pull_request_template.md
└── workflows
│ ├── backport.yml
│ └── inter-branch-merge-flow.yml
├── .gitignore
├── .vscode
└── launch.json
├── CODE-OF-CONDUCT.md
├── CODEOWNERS
├── CONTRIBUTING.md
├── Directory.Build.props
├── Directory.Build.targets
├── Directory.Packages.props
├── LICENSE.txt
├── Microsoft.TemplateEngine.sln
├── NuGet.config
├── README.md
├── SECURITY.md
├── THIRD-PARTY-NOTICES.txt
├── azure-pipelines-pr.yml
├── azure-pipelines.yml
├── build.cmd
├── build.sh
├── docs
├── Available-Symbols-Generators.md
├── Available-templates-for-dotnet-new.md
├── Binding-and-project-context-evaluation.md
├── Blog-posts.md
├── Conditional-processing-and-comment-syntax.md
├── Conditions.md
├── Constraints.md
├── Exit-Codes.md
├── Home.md
├── Naming-and-default-value-forms.md
├── Post-Action-Registry.md
├── Reference-for-template.json.md
├── Reserved-Aliases.md
├── TestExplorerEnvironments.png
├── Using-Group-Identity.md
├── Using-Primary-Outputs-for-Post-Actions.md
├── Value-Forms.md
├── api
│ ├── Inside-the-Template-Engine.md
│ └── api-migration-from-net-5-to-net-6.md
├── authoring-tools
│ ├── Authoring-Tools.md
│ ├── Localization.md
│ └── Templates-Testing-Tooling.md
├── contributing
│ ├── how-to-create-new-generated-symbol.md
│ └── how-to-create-new-value-form.md
├── design
│ ├── done
│ │ └── constraints.md
│ └── proposed
│ │ ├── interactive-mode.md
│ │ └── sample-interactive-mode.png
└── template-resolution-for-dotnet-cli.md
├── dotnet-template-samples
├── Microsoft.TemplateEngine.Samples.csproj
├── README.md
└── content
│ ├── 01-basic-template
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ ├── 02-add-parameters
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ ├── 03-optional-page
│ ├── MyProject.StarterWeb
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── Controllers
│ │ │ └── HomeController.cs
│ │ ├── MyProject.StarterWeb.csproj
│ │ ├── Program.cs
│ │ ├── Startup.cs
│ │ ├── Views
│ │ │ ├── Home
│ │ │ │ ├── About.cshtml
│ │ │ │ ├── Contact.cshtml
│ │ │ │ └── Index.cshtml
│ │ │ ├── Shared
│ │ │ │ ├── Error.cshtml
│ │ │ │ └── _Layout.cshtml
│ │ │ ├── _ViewImports.cshtml
│ │ │ └── _ViewStart.cshtml
│ │ ├── appsettings.Development.json
│ │ └── appsettings.json
│ └── README.md
│ ├── 04-parameter-from-list
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ ├── Program.cs
│ │ └── contact.txt
│ └── README.md
│ ├── 05-multi-project
│ ├── .template.config
│ │ └── template.json
│ ├── MyProject.Console.Test
│ │ ├── MyProject.Console.Test.csproj
│ │ └── MyTest.cs
│ ├── MyProject.Console
│ │ ├── MyProject.Console.csproj
│ │ └── Sample.cs
│ └── README.md
│ ├── 06-console-csharp-fsharp
│ ├── MyProject.Con.CSharp
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ ├── MyProject.Con.FSharp
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.fsproj
│ │ └── Program.fs
│ └── README.md
│ ├── 07-param-with-custom-short-name
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ ├── dotnetcli.host.json
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ ├── Program.cs
│ │ └── contact.txt
│ └── README.md
│ ├── 08-restore-on-create
│ ├── MyProject.Con.CSharp
│ │ ├── .template.config
│ │ │ ├── dotnetcli.host.json
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ ├── 09-replace-onlyif-after
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ ├── Program.cs
│ │ ├── contact.txt
│ │ └── site.css
│ └── README.md
│ ├── 10-symbol-from-date
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ ├── 11-change-string-casing
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ ├── 12-random-number
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ ├── 13-constant-value
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ ├── 14-guid
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ ├── 15-computed-symbol
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ ├── 16-string-value-transform
│ ├── MyProject.Con
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Con.csproj
│ │ └── Program.cs
│ └── README.md
│ └── 17-rename-file
│ ├── MyProject.Con
│ ├── .template.config
│ │ └── template.json
│ ├── FileToRename.cs
│ ├── MyProject.Con.csproj
│ └── Program.cs
│ └── README.md
├── eng
├── Publishing.props
├── Signing.props
├── Version.Details.xml
├── Versions.props
└── common
│ ├── BuildConfiguration
│ └── build-configuration.json
│ ├── CIBuild.cmd
│ ├── PSScriptAnalyzerSettings.psd1
│ ├── README.md
│ ├── SetupNugetSources.ps1
│ ├── SetupNugetSources.sh
│ ├── build.cmd
│ ├── build.ps1
│ ├── build.sh
│ ├── cibuild.sh
│ ├── core-templates
│ ├── job
│ │ ├── job.yml
│ │ ├── onelocbuild.yml
│ │ ├── publish-build-assets.yml
│ │ ├── source-build.yml
│ │ └── source-index-stage1.yml
│ ├── jobs
│ │ ├── codeql-build.yml
│ │ ├── jobs.yml
│ │ └── source-build.yml
│ ├── post-build
│ │ ├── common-variables.yml
│ │ ├── post-build.yml
│ │ └── setup-maestro-vars.yml
│ ├── steps
│ │ ├── cleanup-microbuild.yml
│ │ ├── component-governance.yml
│ │ ├── enable-internal-runtimes.yml
│ │ ├── enable-internal-sources.yml
│ │ ├── generate-sbom.yml
│ │ ├── get-delegation-sas.yml
│ │ ├── get-federated-access-token.yml
│ │ ├── install-microbuild.yml
│ │ ├── publish-build-artifacts.yml
│ │ ├── publish-logs.yml
│ │ ├── publish-pipeline-artifacts.yml
│ │ ├── retain-build.yml
│ │ ├── send-to-helix.yml
│ │ ├── source-build.yml
│ │ └── source-index-stage1-publish.yml
│ └── variables
│ │ └── pool-providers.yml
│ ├── cross
│ ├── arm
│ │ └── tizen
│ │ │ └── tizen.patch
│ ├── arm64
│ │ └── tizen
│ │ │ └── tizen.patch
│ ├── armel
│ │ └── tizen
│ │ │ └── tizen.patch
│ ├── build-android-rootfs.sh
│ ├── build-rootfs.sh
│ ├── install-debs.py
│ ├── riscv64
│ │ └── tizen
│ │ │ └── tizen.patch
│ ├── tizen-build-rootfs.sh
│ ├── tizen-fetch.sh
│ └── toolchain.cmake
│ ├── darc-init.ps1
│ ├── darc-init.sh
│ ├── dotnet-install.cmd
│ ├── dotnet-install.ps1
│ ├── dotnet-install.sh
│ ├── enable-cross-org-publishing.ps1
│ ├── generate-locproject.ps1
│ ├── generate-sbom-prep.ps1
│ ├── generate-sbom-prep.sh
│ ├── helixpublish.proj
│ ├── init-tools-native.cmd
│ ├── init-tools-native.ps1
│ ├── init-tools-native.sh
│ ├── internal-feed-operations.ps1
│ ├── internal-feed-operations.sh
│ ├── internal
│ ├── Directory.Build.props
│ ├── NuGet.config
│ └── Tools.csproj
│ ├── loc
│ └── P22DotNetHtmlLocalization.lss
│ ├── msbuild.ps1
│ ├── msbuild.sh
│ ├── native
│ ├── CommonLibrary.psm1
│ ├── common-library.sh
│ ├── init-compiler.sh
│ ├── init-distro-rid.sh
│ ├── init-os-and-arch.sh
│ ├── install-cmake-test.sh
│ ├── install-cmake.sh
│ ├── install-dependencies.sh
│ └── install-tool.ps1
│ ├── pipeline-logging-functions.ps1
│ ├── pipeline-logging-functions.sh
│ ├── post-build
│ ├── check-channel-consistency.ps1
│ ├── nuget-validation.ps1
│ ├── nuget-verification.ps1
│ ├── publish-using-darc.ps1
│ ├── redact-logs.ps1
│ ├── sourcelink-validation.ps1
│ └── symbols-validation.ps1
│ ├── retain-build.ps1
│ ├── sdk-task.ps1
│ ├── sdk-task.sh
│ ├── sdl
│ ├── NuGet.config
│ ├── configure-sdl-tool.ps1
│ ├── execute-all-sdl-tools.ps1
│ ├── extract-artifact-archives.ps1
│ ├── extract-artifact-packages.ps1
│ ├── init-sdl.ps1
│ ├── packages.config
│ ├── run-sdl.ps1
│ ├── sdl.ps1
│ └── trim-assets-version.ps1
│ ├── template-guidance.md
│ ├── templates-official
│ ├── job
│ │ ├── job.yml
│ │ ├── onelocbuild.yml
│ │ ├── publish-build-assets.yml
│ │ ├── source-build.yml
│ │ └── source-index-stage1.yml
│ ├── jobs
│ │ ├── codeql-build.yml
│ │ ├── jobs.yml
│ │ └── source-build.yml
│ ├── post-build
│ │ ├── common-variables.yml
│ │ ├── post-build.yml
│ │ └── setup-maestro-vars.yml
│ ├── steps
│ │ ├── component-governance.yml
│ │ ├── enable-internal-runtimes.yml
│ │ ├── enable-internal-sources.yml
│ │ ├── generate-sbom.yml
│ │ ├── get-delegation-sas.yml
│ │ ├── get-federated-access-token.yml
│ │ ├── publish-build-artifacts.yml
│ │ ├── publish-logs.yml
│ │ ├── publish-pipeline-artifacts.yml
│ │ ├── retain-build.yml
│ │ ├── send-to-helix.yml
│ │ ├── source-build.yml
│ │ └── source-index-stage1-publish.yml
│ └── variables
│ │ ├── pool-providers.yml
│ │ └── sdl-variables.yml
│ ├── templates
│ ├── job
│ │ ├── job.yml
│ │ ├── onelocbuild.yml
│ │ ├── publish-build-assets.yml
│ │ ├── source-build.yml
│ │ └── source-index-stage1.yml
│ ├── jobs
│ │ ├── codeql-build.yml
│ │ ├── jobs.yml
│ │ └── source-build.yml
│ ├── post-build
│ │ ├── common-variables.yml
│ │ ├── post-build.yml
│ │ └── setup-maestro-vars.yml
│ ├── steps
│ │ ├── component-governance.yml
│ │ ├── enable-internal-runtimes.yml
│ │ ├── enable-internal-sources.yml
│ │ ├── generate-sbom.yml
│ │ ├── get-delegation-sas.yml
│ │ ├── get-federated-access-token.yml
│ │ ├── publish-build-artifacts.yml
│ │ ├── publish-logs.yml
│ │ ├── publish-pipeline-artifacts.yml
│ │ ├── retain-build.yml
│ │ ├── send-to-helix.yml
│ │ ├── source-build.yml
│ │ ├── source-index-stage1-publish.yml
│ │ └── vmr-sync.yml
│ ├── variables
│ │ └── pool-providers.yml
│ └── vmr-build-pr.yml
│ ├── tools.ps1
│ ├── tools.sh
│ ├── vmr-sync.ps1
│ └── vmr-sync.sh
├── exclusion.dic
├── github-merge-flow.jsonc
├── global.json
├── search-cache-pipeline.yml
├── src
├── Microsoft.TemplateEngine.Abstractions
│ ├── ChangeKind.cs
│ ├── Components
│ │ ├── IBindSymbolSource.cs
│ │ ├── ISdkInfoProvider.cs
│ │ ├── IWorkloadsInfoProvider.cs
│ │ └── WorkloadInfo.cs
│ ├── Constraints
│ │ ├── ITemplateConstraint.cs
│ │ ├── ITemplateConstraintFactory.cs
│ │ ├── TemplateConstraintInfo.cs
│ │ └── TemplateConstraintResult.cs
│ ├── EvaluatedPrecedence.cs
│ ├── IAllowDefaultIfOptionWithoutValue.cs
│ ├── IBaselineInfo.cs
│ ├── ICacheParameter.cs
│ ├── ICacheTag.cs
│ ├── IComponentManager.cs
│ ├── ICreationEffects.cs
│ ├── ICreationPath.cs
│ ├── ICreationResult.cs
│ ├── IEngineEnvironmentSettings.cs
│ ├── IEnvironment.cs
│ ├── IFileChange.cs
│ ├── IGenerator.cs
│ ├── IIdentifiedComponent.cs
│ ├── ILocalizationLocator.cs
│ ├── IParameterSet.cs
│ ├── IParameterSymbolLocalizationModel.cs
│ ├── IPathInfo.cs
│ ├── IPostAction.cs
│ ├── IPrioritizedComponent.cs
│ ├── IScanTemplateInfo.cs
│ ├── ISearchPackFilter.cs
│ ├── ISettingsLoader.cs
│ ├── IShortNameList.cs
│ ├── ISimpleConfigModifiers.cs
│ ├── ITemplate.cs
│ ├── ITemplateEngineHost.cs
│ ├── ITemplateInfo.cs
│ ├── ITemplateLocator.cs
│ ├── ITemplateMetadata.cs
│ ├── ITemplateParameter.cs
│ ├── IValidationEntry.cs
│ ├── IValidationInfo.cs
│ ├── IVariableCollection.cs
│ ├── Installer
│ │ ├── CheckUpdateResult.cs
│ │ ├── IInstaller.cs
│ │ ├── IInstallerFactory.cs
│ │ ├── ISerializableInstaller.cs
│ │ ├── InstallRequest.cs
│ │ ├── InstallResult.cs
│ │ ├── InstallerConstants.cs
│ │ ├── InstallerErrorCode.cs
│ │ ├── InstallerOperationResult.cs
│ │ ├── TemplatePackageData.cs
│ │ ├── UninstallResult.cs
│ │ ├── UpdateRequest.cs
│ │ ├── UpdateResult.cs
│ │ └── VulnerabilityInfo.cs
│ ├── Microsoft.TemplateEngine.Abstractions.csproj
│ ├── Mount
│ │ ├── FileSystemInfoKind.cs
│ │ ├── IDirectory.cs
│ │ ├── IFile.cs
│ │ ├── IFileSystemInfo.cs
│ │ ├── IMountPoint.cs
│ │ ├── IMountPointFactory.cs
│ │ └── IMountPointManager.cs
│ ├── ParameterChoice.cs
│ ├── ParameterChoiceLocalizationModel.cs
│ ├── Parameters
│ │ ├── DataSource.cs
│ │ ├── IParameterDefinitionSet.cs
│ │ ├── IParameterSetData.cs
│ │ ├── ParameterData.cs
│ │ ├── ParameterDefinitionSet.cs
│ │ ├── ParameterSetData.cs
│ │ └── ParameterSetDataExtensions.cs
│ ├── PhysicalFileSystem
│ │ ├── IFileLastWriteTimeSource.cs
│ │ └── IPhysicalFileSystem.cs
│ ├── PrecedenceDefinition.cs
│ ├── PublicAPI.Shipped.txt
│ ├── PublicAPI.Unshipped.txt
│ ├── TemplateFiltering
│ │ ├── ITemplateMatchInfo.cs
│ │ ├── MatchInfo.cs
│ │ └── MatchKind.cs
│ ├── TemplatePackage
│ │ ├── IManagedTemplatePackage.cs
│ │ ├── IManagedTemplatePackageProvider.cs
│ │ ├── ITemplatePackage.cs
│ │ ├── ITemplatePackageProvider.cs
│ │ ├── ITemplatePackageProviderFactory.cs
│ │ └── TemplatePackage.cs
│ ├── TemplateParameterPrecedence.cs
│ ├── TemplateParameterPrecedenceExtensions.cs
│ └── TemplateParameterPriority.cs
├── Microsoft.TemplateEngine.Core.Contracts
│ ├── IEncodingConfig.cs
│ ├── IEngineConfig.cs
│ ├── IGlobalRunSpec.cs
│ ├── IKeysChangedEventArgs.cs
│ ├── IOperation.cs
│ ├── IOperationProvider.cs
│ ├── IOrchestrator.cs
│ ├── IPathMatcher.cs
│ ├── IProcessor.cs
│ ├── IProcessorState.cs
│ ├── IReplacementTokens.cs
│ ├── IRunSpec.cs
│ ├── IToken.cs
│ ├── ITokenConfig.cs
│ ├── ITokenTrie.cs
│ ├── ITokenTrieEvaluator.cs
│ ├── IValueReadEventArgs.cs
│ ├── IVariableCollection.cs
│ ├── IVariableConfig.cs
│ ├── KeysChangedEventHander.cs
│ ├── Microsoft.TemplateEngine.Core.Contracts.csproj
│ ├── PublicAPI.Shipped.txt
│ ├── PublicAPI.Unshipped.txt
│ └── ValueReadEventHander.cs
├── Microsoft.TemplateEngine.Core
│ ├── CommonOperations.cs
│ ├── Expressions
│ │ ├── BinaryScope.cs
│ │ ├── Converter.cs
│ │ ├── Cpp
│ │ │ ├── CppStyleEvaluatorDefinition.cs
│ │ │ ├── Operator.cs
│ │ │ ├── QuotedRegionKind.cs
│ │ │ ├── Scope.cs
│ │ │ ├── TokenFamily.cs
│ │ │ └── TokenRef.cs
│ │ ├── Cpp2
│ │ │ └── Cpp2StyleEvaluatorDefinition.cs
│ │ ├── IEvaluable.cs
│ │ ├── IOperatorMap.cs
│ │ ├── ITypeConverter.cs
│ │ ├── MSBuild
│ │ │ └── MSBuildStyleEvaluatorDefinition.cs
│ │ ├── OperatorSetBuilder.cs
│ │ ├── Operators.cs
│ │ ├── ScopeBuilder.cs
│ │ ├── ScopeBuilderHelper.cs
│ │ ├── Shared
│ │ │ ├── CoreConverters.cs
│ │ │ ├── CppStyleConverters.cs
│ │ │ ├── SharedEvaluatorDefinition.cs
│ │ │ ├── VisualBasicStyleConverters.cs
│ │ │ └── XmlStyleConverters.cs
│ │ ├── Token.cs
│ │ ├── TokenScope.cs
│ │ ├── TypeConverterDelegate.cs
│ │ ├── UnaryScope.cs
│ │ └── VisualBasic
│ │ │ └── VisualBasicStyleEvaluatorDefintion.cs
│ ├── FileChange.cs
│ ├── KeysChangedEventArgs.cs
│ ├── LocalizableStrings.resx
│ ├── Matching
│ │ ├── OperationTerminal.cs
│ │ ├── TerminalBase.cs
│ │ ├── TerminalLocation.cs
│ │ ├── Trie.cs
│ │ ├── TrieEvaluationDriver.cs
│ │ ├── TrieEvaluator.cs
│ │ ├── TrieNode.cs
│ │ └── TriePath.cs
│ ├── Microsoft.TemplateEngine.Core.csproj
│ ├── Operations
│ │ ├── BalancedNesting.cs
│ │ ├── ConditionEvaluator.cs
│ │ ├── Conditional.cs
│ │ ├── ConditionalTokens.cs
│ │ ├── ExpandVariables.cs
│ │ ├── Include.cs
│ │ ├── InlineMarkupConditional.cs
│ │ ├── MarkupTokenMapping.cs
│ │ ├── MarkupTokens.cs
│ │ ├── Phase.cs
│ │ ├── PhasedOperation.cs
│ │ ├── Region.cs
│ │ ├── Replacement.cs
│ │ ├── ReplacementTokens.cs
│ │ └── SetFlag.cs
│ ├── PublicAPI.Shipped.txt
│ ├── PublicAPI.Unshipped.txt
│ ├── TokenConfig.cs
│ ├── TokenConfigExtensions.cs
│ ├── Util
│ │ ├── CombinedStream.cs
│ │ ├── EncodingConfig.cs
│ │ ├── EncodingUtil.cs
│ │ ├── EngineConfig.cs
│ │ ├── Orchestrator.cs
│ │ ├── Processor.cs
│ │ ├── ProcessorState.cs
│ │ ├── StreamProxy.cs
│ │ ├── Token.cs
│ │ ├── TokenTrie.cs
│ │ └── TokenTrieEvaluator.cs
│ ├── ValueReadEventArgs.cs
│ ├── VariableCollection.cs
│ └── xlf
│ │ ├── LocalizableStrings.cs.xlf
│ │ ├── LocalizableStrings.de.xlf
│ │ ├── LocalizableStrings.es.xlf
│ │ ├── LocalizableStrings.fr.xlf
│ │ ├── LocalizableStrings.it.xlf
│ │ ├── LocalizableStrings.ja.xlf
│ │ ├── LocalizableStrings.ko.xlf
│ │ ├── LocalizableStrings.pl.xlf
│ │ ├── LocalizableStrings.pt-BR.xlf
│ │ ├── LocalizableStrings.ru.xlf
│ │ ├── LocalizableStrings.tr.xlf
│ │ ├── LocalizableStrings.zh-Hans.xlf
│ │ └── LocalizableStrings.zh-Hant.xlf
├── Microsoft.TemplateEngine.Edge
│ ├── BuiltInManagedProvider
│ │ ├── GlobalSettings.cs
│ │ ├── GlobalSettingsData.cs
│ │ ├── GlobalSettingsTemplatePackageProvider.cs
│ │ ├── GlobalSettingsTemplatePackageProviderFactory.cs
│ │ └── IGlobalSettings.cs
│ ├── Components.cs
│ ├── Components
│ │ ├── EnvironmentVariablesBindSource.cs
│ │ └── HostParametersBindSource.cs
│ ├── Constraints
│ │ ├── ConfigurationException.cs
│ │ ├── ConstraintBase.cs
│ │ ├── ConstraintsExtensions.cs
│ │ ├── HostConstraint.cs
│ │ ├── NuGetFloatRangeSpecification.cs
│ │ ├── NuGetVersionRangeSpecification.cs
│ │ ├── NuGetVersionSpecification.cs
│ │ ├── OSConstraint.cs
│ │ ├── SdkVersionConstraintFactory.cs
│ │ └── WorkloadConstraintFactory.cs
│ ├── DefaultEnvironment.cs
│ ├── DefaultPathInfo.cs
│ ├── DefaultTemplateEngineHost.cs
│ ├── EngineEnvironmentSettings.cs
│ ├── FilterableTemplateInfo.cs
│ ├── Installers
│ │ ├── Folder
│ │ │ ├── FolderInstaller.cs
│ │ │ ├── FolderInstallerFactory.cs
│ │ │ └── FolderManagedTemplatePackage.cs
│ │ └── NuGet
│ │ │ ├── Exceptions
│ │ │ ├── DownloadException.cs
│ │ │ ├── InvalidNuGetPackageException.cs
│ │ │ ├── InvalidNuGetSourceException.cs
│ │ │ ├── PackageNotFoundException.cs
│ │ │ └── VulnerablePackageException.cs
│ │ │ ├── IDownloader.cs
│ │ │ ├── IUpdateChecker.cs
│ │ │ ├── NuGetInstaller.cs
│ │ │ ├── NuGetInstallerFactory.cs
│ │ │ ├── NuGetLogger.cs
│ │ │ ├── NuGetManagedTemplatePackage.cs
│ │ │ ├── NuGetVersionHelper.cs
│ │ │ └── NugetApiPackageManager.cs
│ ├── LocalizableStrings.resx
│ ├── Microsoft.TemplateEngine.Edge.csproj
│ ├── Mount
│ │ ├── Archive
│ │ │ ├── ZipFileDirectory.cs
│ │ │ ├── ZipFileFile.cs
│ │ │ ├── ZipFileMountPoint.cs
│ │ │ └── ZipFileMountPointFactory.cs
│ │ ├── DirectoryBase.cs
│ │ ├── FileBase.cs
│ │ ├── FileSystem
│ │ │ ├── FileSystemDirectory.cs
│ │ │ ├── FileSystemFile.cs
│ │ │ ├── FileSystemMountPoint.cs
│ │ │ └── FileSystemMountPointFactory.cs
│ │ └── FileSystemInfoBase.cs
│ ├── PublicAPI.Shipped.txt
│ ├── PublicAPI.Unshipped.txt
│ ├── ReflectionLoadProbingPath.cs
│ ├── Settings
│ │ ├── AsyncMutex.cs
│ │ ├── ComponentManager.cs
│ │ ├── FilteredTemplateInfo.cs
│ │ ├── ITemplateInfoHostJsonCache.cs
│ │ ├── InstallationScope.cs
│ │ ├── LocalizationCacheKeyComparer.cs
│ │ ├── ScanResult.cs
│ │ ├── Scanner.cs
│ │ ├── SettingsFilePaths.cs
│ │ ├── SettingsStore.cs
│ │ ├── SourceRepositoryDependencyProvider.cs
│ │ ├── TemplateCache.cs
│ │ ├── TemplateInfo.cs
│ │ ├── TemplateInfoReader.cs
│ │ ├── TemplateMatchInfo.cs
│ │ └── TemplatePackageManager.cs
│ ├── Template
│ │ ├── CreationResultStatus.cs
│ │ ├── EvaluatedInputParameterData.cs
│ │ ├── FilteredTemplateEqualityComparer.cs
│ │ ├── IFilteredTemplateInfo.cs
│ │ ├── IParameterSetBuilder.cs
│ │ ├── ITemplateCreationResult.cs
│ │ ├── ITemplateMatchInfo.cs
│ │ ├── InputDataSet.cs
│ │ ├── InputDataSetExtensions.cs
│ │ ├── InputDataState.cs
│ │ ├── InputParameterData.cs
│ │ ├── MatchInfo.cs
│ │ ├── MatchKind.cs
│ │ ├── MatchLocation.cs
│ │ ├── OrdinalIgnoreCaseMatchInfoComparer.cs
│ │ ├── ParameterSetBuilder.cs
│ │ ├── TemplateCreationResult.cs
│ │ ├── TemplateCreator.cs
│ │ ├── TemplateEqualityComparer.cs
│ │ ├── TemplateMatchInfoEqualityComparer.cs
│ │ └── WellKnownSearchFilters.cs
│ ├── TemplateConstraintManager.cs
│ ├── TemplateListFilter.cs
│ ├── ValidationUtils.cs
│ ├── VirtualEnvironment.cs
│ └── xlf
│ │ ├── LocalizableStrings.cs.xlf
│ │ ├── LocalizableStrings.de.xlf
│ │ ├── LocalizableStrings.es.xlf
│ │ ├── LocalizableStrings.fr.xlf
│ │ ├── LocalizableStrings.it.xlf
│ │ ├── LocalizableStrings.ja.xlf
│ │ ├── LocalizableStrings.ko.xlf
│ │ ├── LocalizableStrings.pl.xlf
│ │ ├── LocalizableStrings.pt-BR.xlf
│ │ ├── LocalizableStrings.ru.xlf
│ │ ├── LocalizableStrings.tr.xlf
│ │ ├── LocalizableStrings.zh-Hans.xlf
│ │ └── LocalizableStrings.zh-Hant.xlf
├── Microsoft.TemplateEngine.IDE
│ ├── Bootstrapper.cs
│ ├── Microsoft.TemplateEngine.IDE.csproj
│ ├── PublicAPI.Shipped.txt
│ └── PublicAPI.Unshipped.txt
├── Microsoft.TemplateEngine.Orchestrator.RunnableProjects
│ ├── Abstractions
│ │ ├── IDeferredMacro.cs
│ │ ├── IDeterministicModeMacro.cs
│ │ ├── IGeneratedSymbolConfig.cs
│ │ ├── IGeneratedSymbolMacro.cs
│ │ ├── IMacro.cs
│ │ ├── IMacroConfig.cs
│ │ └── IMacroDependency.cs
│ ├── BindSymbolEvaluator.cs
│ ├── Components.cs
│ ├── ConfigModel
│ │ ├── BaseReplaceSymbol.cs
│ │ ├── BaseSymbol.cs
│ │ ├── BaseValueSymbol.cs
│ │ ├── BindSymbol.cs
│ │ ├── ComputedSymbol.cs
│ │ ├── ConditionedConfigurationElement.cs
│ │ ├── CustomFileGlobModel.cs
│ │ ├── CustomOperationModel.cs
│ │ ├── DerivedSymbol.cs
│ │ ├── ExtendedFileSource.cs
│ │ ├── GeneratedSymbol.cs
│ │ ├── ManualInstructionModel.cs
│ │ ├── ParameterSymbol.cs
│ │ ├── PostActionModel.cs
│ │ ├── PrimaryOutputModel.cs
│ │ ├── ReplacementContext.cs
│ │ ├── SourceModifier.cs
│ │ ├── SymbolModelConverter.cs
│ │ ├── SymbolValueFormsModel.cs
│ │ └── TemplateConfigModel.cs
│ ├── CreationEffects.cs
│ ├── CreationResult.cs
│ ├── CryptoRandom.cs
│ ├── DirectoryBasedTemplate.Interfaces.cs
│ ├── DirectoryBasedTemplate.cs
│ ├── EvaluatorSelector.cs
│ ├── FileRenameGenerator.cs
│ ├── FileSourceHierarchicalPathMatcher.cs
│ ├── FileSourceMatchInfo.cs
│ ├── FileSourceStateMatcher.cs
│ ├── GlobalRunConfig.cs
│ ├── GlobalRunSpec.cs
│ ├── GlobbingPatternMatcher.cs
│ ├── IOperationConfig.cs
│ ├── IParameterBasedVariableCollection.cs
│ ├── IRunnableProjectConfig.cs
│ ├── ListGlobbingPatternMatcher.cs
│ ├── LocalizableStrings.resx
│ ├── Localization
│ │ ├── LocalizationModel.cs
│ │ ├── ParameterSymbolLocalizationModel.cs
│ │ ├── PostActionLocalizationModel.cs
│ │ └── TemplateLocalizationInfo.cs
│ ├── LocalizationModelDeserializer.cs
│ ├── MacroProcessingException.cs
│ ├── MacroProcessor.cs
│ ├── Macros
│ │ ├── BaseGeneratedSymbolMacro.cs
│ │ ├── BaseMacro.cs
│ │ ├── BaseMacroConfig.cs
│ │ ├── CaseChangeMacro.cs
│ │ ├── CaseChangeMacroConfig.cs
│ │ ├── CoalesceMacro.cs
│ │ ├── CoalesceMacroConfig.cs
│ │ ├── ConstantMacro.cs
│ │ ├── ConstantMacroConfig.cs
│ │ ├── EvaluateMacro.cs
│ │ ├── EvaluateMacroConfig.cs
│ │ ├── GeneratePortNumberConfig.cs
│ │ ├── GeneratePortNumberMacro.cs
│ │ ├── GuidMacro.cs
│ │ ├── GuidMacroConfig.cs
│ │ ├── JoinMacro.cs
│ │ ├── JoinMacroConfig.cs
│ │ ├── NowMacro.cs
│ │ ├── NowMacroConfig.cs
│ │ ├── ProcessValueFormMacro.cs
│ │ ├── ProcessValueFormMacroConfig.cs
│ │ ├── RandomMacro.cs
│ │ ├── RandomMacroConfig.cs
│ │ ├── RegexMacro.cs
│ │ ├── RegexMacroConfig.cs
│ │ ├── RegexMatchMacro.cs
│ │ ├── RegexMatchMacroConfig.cs
│ │ ├── SwitchMacro.cs
│ │ └── SwitchMacroConfig.cs
│ ├── Microsoft.TemplateEngine.Orchestrator.RunnableProjects.csproj
│ ├── OperationConfig
│ │ ├── BalancedNestingConfig.cs
│ │ ├── ConditionalBlockCommentConfig.cs
│ │ ├── ConditionalConfig.cs
│ │ ├── ConditionalCustomConfig.cs
│ │ ├── ConditionalKeywords.cs
│ │ ├── ConditionalLineCommentConfig.cs
│ │ ├── ConditionalOperationOptions.cs
│ │ ├── ConditionalType.cs
│ │ ├── FlagsConfig.cs
│ │ ├── IncludeConfig.cs
│ │ ├── OperationConfigDefault.cs
│ │ ├── RegionConfig.cs
│ │ └── ReplacementConfig.cs
│ ├── Parameter.cs
│ ├── ParameterBasedVariableCollection.cs
│ ├── ParameterConverter.cs
│ ├── PostAction.cs
│ ├── PrimaryOutput.cs
│ ├── PublicAPI.Shipped.txt
│ ├── PublicAPI.Unshipped.txt
│ ├── RunSpec.cs
│ ├── RunnableProjectConfig.ITemplate.cs
│ ├── RunnableProjectConfig.cs
│ ├── RunnableProjectGenerator.cs
│ ├── RunnableProjectOrchestrator.cs
│ ├── ScannedTemplateInfo.cs
│ ├── Schemas
│ │ └── JSON
│ │ │ └── template.json
│ ├── UnicodeCharacterUtilities.cs
│ ├── Validation
│ │ ├── ActionValidationCheck.cs
│ │ ├── BaseValidationCheck.cs
│ │ ├── ITemplateValidationInfo.cs
│ │ ├── ITemplateValidator.cs
│ │ ├── ITemplateValidatorFactory.cs
│ │ ├── IValidationCheck.cs
│ │ ├── MandatoryLocalizationValidationFactory.cs
│ │ ├── MandatoryValidationFactory.cs
│ │ ├── MultiValidationCheck.cs
│ │ ├── ValidationEntry.cs
│ │ └── ValidationManager.cs
│ ├── ValueFormRegistry.cs
│ ├── ValueForms
│ │ ├── ActionableValueFormFactory.cs
│ │ ├── BaseValueFormFactory.cs
│ │ ├── ChainValueFormFactory.cs
│ │ ├── ConfigurableValueFormFactory.cs
│ │ ├── DefaultLowerSafeNameValueFormFactory.cs
│ │ ├── DefaultLowerSafeNamespaceValueFormFactory.cs
│ │ ├── DefaultSafeNameValueFormFactory.cs
│ │ ├── DefaultSafeNamespaceValueFormFactory.cs
│ │ ├── DependentValueFormFactory.cs
│ │ ├── FirstLowerCaseInvariantValueFormFactory.cs
│ │ ├── FirstLowerCaseValueFormFactory.cs
│ │ ├── FirstUpperCaseInvariantValueFormFactory.cs
│ │ ├── FirstUpperCaseValueFormFactory.cs
│ │ ├── IValueForm.cs
│ │ ├── IValueFormFactory.cs
│ │ ├── IdentityValueFormFactory.cs
│ │ ├── JsonEncodeValueFormFactory.cs
│ │ ├── KebabCaseValueFormFactory.cs
│ │ ├── LowerCaseInvariantValueFormFactory.cs
│ │ ├── LowerCaseValueFormFactory.cs
│ │ ├── ReplacementValueFormFactory.cs
│ │ ├── TitleCaseValueFormFactory.cs
│ │ ├── UpperCaseInvariantValueFormFactory.cs
│ │ ├── UpperCaseValueFormFactory.cs
│ │ └── XmlEncodeValueFormFactory.cs
│ ├── VariableConfig.cs
│ └── xlf
│ │ ├── LocalizableStrings.cs.xlf
│ │ ├── LocalizableStrings.de.xlf
│ │ ├── LocalizableStrings.es.xlf
│ │ ├── LocalizableStrings.fr.xlf
│ │ ├── LocalizableStrings.it.xlf
│ │ ├── LocalizableStrings.ja.xlf
│ │ ├── LocalizableStrings.ko.xlf
│ │ ├── LocalizableStrings.pl.xlf
│ │ ├── LocalizableStrings.pt-BR.xlf
│ │ ├── LocalizableStrings.ru.xlf
│ │ ├── LocalizableStrings.tr.xlf
│ │ ├── LocalizableStrings.zh-Hans.xlf
│ │ └── LocalizableStrings.zh-Hant.xlf
├── Microsoft.TemplateEngine.Utils
│ ├── ArrayExtensions.cs
│ ├── AsyncLazy.cs
│ ├── BaselineInfo.cs
│ ├── CacheParameter.cs
│ ├── CacheTag.cs
│ ├── CombinedList.cs
│ ├── ContentGenerationException.cs
│ ├── DefaultTemplateEngineHost.cs
│ ├── DefaultTemplatePackageProvider.cs
│ ├── DictionaryExtensions.cs
│ ├── DirectedGraph.cs
│ ├── EngineEnvironmentSettingsExtensions.cs
│ ├── EngineInitializationException.cs
│ ├── EnumerableExtensions.cs
│ ├── EqualityExtensions.cs
│ ├── ExactVersionSpecification.cs
│ ├── FileFindHelpers.cs
│ ├── FileSystemInfoExtensions.cs
│ ├── Glob.cs
│ ├── IFileSystemInfoExtensions.cs
│ ├── IPatternMatcher.cs
│ ├── IScanTemplateInfoExtensions.cs
│ ├── IVersionSpecification.cs
│ ├── InMemoryFileSystem.cs
│ ├── InstallRequestPathResolution.cs
│ ├── ListExtensions.cs
│ ├── LocalizableStrings.resx
│ ├── LocalizationLocator.cs
│ ├── Microsoft.TemplateEngine.Utils.csproj
│ ├── MultiValueParameter.cs
│ ├── ParameterSetDataExtensions.cs
│ ├── ParserExtensions.cs
│ ├── PhysicalFileSystem.cs
│ ├── PublicAPI.Shipped.txt
│ ├── PublicAPI.Unshipped.txt
│ ├── RangeVersionSpecification.cs
│ ├── RuntimeValueUtils.cs
│ ├── TemplateAuthoringException.cs
│ ├── TemplateInfoExtensions.cs
│ ├── TemplateMatchInfoExtensions.cs
│ ├── TemplateParameter.cs
│ ├── TemplateParameterExtensions.cs
│ ├── Timing.cs
│ ├── VersionStringHelpers.cs
│ ├── WellKnownSearchFilters.cs
│ └── xlf
│ │ ├── LocalizableStrings.cs.xlf
│ │ ├── LocalizableStrings.de.xlf
│ │ ├── LocalizableStrings.es.xlf
│ │ ├── LocalizableStrings.fr.xlf
│ │ ├── LocalizableStrings.it.xlf
│ │ ├── LocalizableStrings.ja.xlf
│ │ ├── LocalizableStrings.ko.xlf
│ │ ├── LocalizableStrings.pl.xlf
│ │ ├── LocalizableStrings.pt-BR.xlf
│ │ ├── LocalizableStrings.ru.xlf
│ │ ├── LocalizableStrings.tr.xlf
│ │ ├── LocalizableStrings.zh-Hans.xlf
│ │ └── LocalizableStrings.zh-Hant.xlf
├── Microsoft.TemplateSearch.Common
│ ├── Abstractions
│ │ ├── ITemplatePackageInfo.cs
│ │ ├── ITemplateSearchProvider.cs
│ │ ├── ITemplateSearchProviderFactory.cs
│ │ ├── TemplatePackageSearchData.cs
│ │ └── TemplateSearchData.cs
│ ├── Components.cs
│ ├── LocalizableStrings.resx
│ ├── Microsoft.TemplateSearch.Common.csproj
│ ├── Providers
│ │ ├── NuGetMetadataSearchProvider.cs
│ │ └── NuGetMetadataSearchProviderFactory.cs
│ ├── PublicAPI.Shipped.txt
│ ├── PublicAPI.Unshipped.txt
│ ├── SearchResult.cs
│ ├── TemplateDiscoveryMetadata
│ │ ├── BlobStorageTemplateInfo.cs
│ │ ├── LegacySearchCacheReader.cs
│ │ ├── PackInfo.cs
│ │ ├── PackToTemplateEntry.cs
│ │ ├── TemplateDiscoveryMetadata.cs
│ │ └── TemplateIdentificationEntry.cs
│ ├── TemplateSearchCache
│ │ ├── TemplatePackageSearchData.Json.cs
│ │ ├── TemplateSearchCache.Json.cs
│ │ ├── TemplateSearchCache.cs
│ │ └── TemplateSearchData.Json.cs
│ ├── TemplateSearchCoordinator.cs
│ └── xlf
│ │ ├── LocalizableStrings.cs.xlf
│ │ ├── LocalizableStrings.de.xlf
│ │ ├── LocalizableStrings.es.xlf
│ │ ├── LocalizableStrings.fr.xlf
│ │ ├── LocalizableStrings.it.xlf
│ │ ├── LocalizableStrings.ja.xlf
│ │ ├── LocalizableStrings.ko.xlf
│ │ ├── LocalizableStrings.pl.xlf
│ │ ├── LocalizableStrings.pt-BR.xlf
│ │ ├── LocalizableStrings.ru.xlf
│ │ ├── LocalizableStrings.tr.xlf
│ │ ├── LocalizableStrings.zh-Hans.xlf
│ │ └── LocalizableStrings.zh-Hant.xlf
└── Shared
│ ├── IsExternalInit.cs
│ └── JExtensions.cs
├── template_feed
├── Microsoft.TemplateEngine.Authoring.Templates
│ ├── Microsoft.TemplateEngine.Authoring.Templates.csproj
│ ├── README.md
│ └── content
│ │ ├── TemplateJson
│ │ ├── .template.config
│ │ │ ├── dotnetcli.host.json
│ │ │ ├── localize
│ │ │ │ ├── templatestrings.cs.json
│ │ │ │ ├── templatestrings.de.json
│ │ │ │ ├── templatestrings.en.json
│ │ │ │ ├── templatestrings.es.json
│ │ │ │ ├── templatestrings.fr.json
│ │ │ │ ├── templatestrings.it.json
│ │ │ │ ├── templatestrings.ja.json
│ │ │ │ ├── templatestrings.ko.json
│ │ │ │ ├── templatestrings.pl.json
│ │ │ │ ├── templatestrings.pt-BR.json
│ │ │ │ ├── templatestrings.ru.json
│ │ │ │ ├── templatestrings.tr.json
│ │ │ │ ├── templatestrings.zh-Hans.json
│ │ │ │ └── templatestrings.zh-Hant.json
│ │ │ └── template.json
│ │ └── _template.json
│ │ └── TemplatePackage
│ │ ├── .template.config
│ │ ├── dotnetcli.host.json
│ │ ├── localize
│ │ │ ├── templatestrings.cs.json
│ │ │ ├── templatestrings.de.json
│ │ │ ├── templatestrings.en.json
│ │ │ ├── templatestrings.es.json
│ │ │ ├── templatestrings.fr.json
│ │ │ ├── templatestrings.it.json
│ │ │ ├── templatestrings.ja.json
│ │ │ ├── templatestrings.ko.json
│ │ │ ├── templatestrings.pl.json
│ │ │ ├── templatestrings.pt-BR.json
│ │ │ ├── templatestrings.ru.json
│ │ │ ├── templatestrings.tr.json
│ │ │ ├── templatestrings.zh-Hans.json
│ │ │ └── templatestrings.zh-Hant.json
│ │ └── template.json
│ │ ├── New.Template.Package.csproj
│ │ ├── README.md
│ │ └── content
│ │ └── SampleTemplate
│ │ └── placeholder.txt
└── README.md
├── test
├── Directory.Build.props
├── Microsoft.TemplateEngine.Authoring.CLI.IntegrationTests
│ ├── ExportCommandFailureTests.cs
│ ├── ExportCommandTests.cs
│ ├── Microsoft.TemplateEngine.Authoring.CLI.IntegrationTests.csproj
│ ├── Snapshots
│ │ ├── ValidateCommandTests.ValidateCommand_BasicTest.Linux.verified.txt
│ │ ├── ValidateCommandTests.ValidateCommand_BasicTest.OSX.verified.txt
│ │ └── ValidateCommandTests.ValidateCommand_BasicTest.Windows.verified.txt
│ ├── ValidateCommandTests.cs
│ ├── VerifyCommandTests.cs
│ ├── VerifySettingsFixture.cs
│ └── VerifyTestCollection.cs
├── Microsoft.TemplateEngine.Authoring.CLI.UnitTests
│ ├── Microsoft.TemplateEngine.Authoring.CLI.UnitTests.csproj
│ ├── ValidateCommandTests.cs
│ ├── VerifyCommandArgsTests.cs
│ └── VerifyCommandTests.cs
├── Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests
│ ├── LocalizeTemplateTests.cs
│ ├── Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests.csproj
│ ├── Resources
│ │ ├── BasicTemplatePackage
│ │ │ ├── TemplatePackage.csproj
│ │ │ └── content
│ │ │ │ └── TemplateWithSourceName
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ └── foo.cs
│ │ ├── InvalidTemplatePackage
│ │ │ ├── TemplatePackage.csproj
│ │ │ └── content
│ │ │ │ └── TemplateWithSourceName
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ └── foo.cs
│ │ ├── InvalidTemplatePackage_MissingName
│ │ │ ├── TemplatePackage.csproj
│ │ │ └── content
│ │ │ │ └── TemplateWithSourceName
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ └── foo.cs
│ │ ├── InvalidTemplatePackage_MissingOptionalData
│ │ │ ├── TemplatePackage.csproj
│ │ │ └── content
│ │ │ │ └── TemplateWithSourceName
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ └── foo.cs
│ │ ├── TemplatePackageEnDe
│ │ │ ├── TemplatePackage.csproj
│ │ │ └── content
│ │ │ │ └── TemplateWithSourceName
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ └── foo.cs
│ │ └── TemplatePackagePartiallyLocalized
│ │ │ ├── TemplatePackage.csproj
│ │ │ └── content
│ │ │ ├── localized
│ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ └── foo.cs
│ │ │ └── non-localized
│ │ │ ├── .template.config
│ │ │ └── template.json
│ │ │ └── foo.cs
│ └── ValidateTemplatesTests.cs
├── Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests
│ ├── ExampleTemplateTest.cs
│ ├── Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests.csproj
│ ├── Snapshots
│ │ ├── TestAssets.SampleTestTemplate.SampleDogfoodTest.x64.verified
│ │ │ ├── TestAssets.SampleTestTemplate
│ │ │ │ └── Test.cs
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ ├── VerificationEngine_DotFile_EditorConfigTests.editorconfig.--empty.verified
│ │ │ ├── editorconfig
│ │ │ │ └── .editorconfig
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ ├── VerificationEngine_InstallsToCustomLocation_WithSettingsDirectorySpecified.editorconfig.--empty.verified
│ │ │ └── editorconfig
│ │ │ │ └── .editorconfig
│ │ ├── sample01.basic-template.verified
│ │ │ └── sample01
│ │ │ │ ├── Program.cs
│ │ │ │ └── sample01.csproj
│ │ ├── sample02.add-parameters.copyrightName=Test Copyright.title=Test Title.verified
│ │ │ └── sample02
│ │ │ │ ├── Program.cs
│ │ │ │ └── sample02.csproj
│ │ ├── sample03.optional-page.enableContactPage=true.verified
│ │ │ └── sample03
│ │ │ │ ├── Controllers
│ │ │ │ └── HomeController.cs
│ │ │ │ ├── Program.cs
│ │ │ │ ├── Startup.cs
│ │ │ │ ├── Views
│ │ │ │ ├── Home
│ │ │ │ │ ├── About.cshtml
│ │ │ │ │ └── Index.cshtml
│ │ │ │ ├── Shared
│ │ │ │ │ ├── Error.cshtml
│ │ │ │ │ └── _Layout.cshtml
│ │ │ │ ├── _ViewImports.cshtml
│ │ │ │ └── _ViewStart.cshtml
│ │ │ │ ├── appsettings.Development.json
│ │ │ │ ├── appsettings.json
│ │ │ │ └── sample03.csproj
│ │ ├── sample03.optional-page.verified
│ │ │ └── sample03
│ │ │ │ ├── Controllers
│ │ │ │ └── HomeController.cs
│ │ │ │ ├── Program.cs
│ │ │ │ ├── Startup.cs
│ │ │ │ ├── Views
│ │ │ │ ├── Home
│ │ │ │ │ ├── About.cshtml
│ │ │ │ │ └── Index.cshtml
│ │ │ │ ├── Shared
│ │ │ │ │ ├── Error.cshtml
│ │ │ │ │ └── _Layout.cshtml
│ │ │ │ ├── _ViewImports.cshtml
│ │ │ │ └── _ViewStart.cshtml
│ │ │ │ ├── appsettings.Development.json
│ │ │ │ ├── appsettings.json
│ │ │ │ └── sample03.csproj
│ │ ├── sample04.parameter-from-list.BackgroundColor=dimgray.verified
│ │ │ └── sample04
│ │ │ │ ├── Program.cs
│ │ │ │ └── sample04.csproj
│ │ ├── sample05.multi-project.includetest=false.verified
│ │ │ └── sample05
│ │ │ │ ├── README.md
│ │ │ │ └── sample05
│ │ │ │ ├── Sample.cs
│ │ │ │ └── sample05.csproj
│ │ ├── sample05.multi-project.includetest=true.verified
│ │ │ └── sample05
│ │ │ │ ├── README.md
│ │ │ │ ├── sample05.Test
│ │ │ │ ├── MyTest.cs
│ │ │ │ └── sample05.Test.csproj
│ │ │ │ └── sample05
│ │ │ │ ├── Sample.cs
│ │ │ │ └── sample05.csproj
│ │ ├── sample07.param-with-custom-short-name.verified
│ │ │ └── sample07
│ │ │ │ ├── Program.cs
│ │ │ │ ├── contact.txt
│ │ │ │ └── sample07.csproj
│ │ ├── sample08.restore-on-create.verified
│ │ │ └── sample08
│ │ │ │ ├── Program.cs
│ │ │ │ └── sample08.csproj
│ │ ├── sample09.replace-onlyif-after.backgroundColor=grey.verified
│ │ │ └── sample09
│ │ │ │ ├── Program.cs
│ │ │ │ ├── contact.txt
│ │ │ │ ├── sample09.csproj
│ │ │ │ └── site.css
│ │ ├── sample10.symbol-from-date.verified
│ │ │ └── sample10
│ │ │ │ ├── Program.cs
│ │ │ │ └── sample10.csproj
│ │ ├── sample11.change-string-casing.verified
│ │ │ └── sample11
│ │ │ │ ├── Program.cs
│ │ │ │ └── sample11.csproj
│ │ ├── sample13.constant-value.verified
│ │ │ └── sample13
│ │ │ │ ├── Program.cs
│ │ │ │ └── sample13.csproj
│ │ ├── sample15.computed-symbol.verified
│ │ │ └── sample15
│ │ │ │ ├── Program.cs
│ │ │ │ └── sample15.csproj
│ │ └── sample16.string-value-transform.verified
│ │ │ └── sample16
│ │ │ ├── Program.cs
│ │ │ └── sample16.csproj
│ ├── TemplateEngineSamplesTest.cs
│ └── VerificationEngineTests.cs
├── Microsoft.TemplateEngine.Authoring.TemplateVerifier.UnitTests
│ ├── Microsoft.TemplateEngine.Authoring.TemplateVerifier.UnitTests.csproj
│ ├── Snapshots
│ │ ├── ExecuteSucceedsOnExpectedInstantiationFailure.made-up-template.--a#-b#c#--d.verified
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ ├── ExecuteSucceedsOnExpectedInstantiationFailure.made-up-template.--x#y#-z.verified
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ └── ExecuteSucceedsOnExpectedInstantiationSuccess.made-up-template.--x#y#-z.verified
│ │ │ └── std-streams
│ │ │ ├── stderr.txt
│ │ │ └── stdout.txt
│ └── VerificationEngineTests.cs
├── Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests
│ ├── AuthoringTemplatesTests.cs
│ ├── Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests.csproj
│ └── Snapshots
│ │ ├── template.json.Basic.verified
│ │ └── template.json
│ │ │ └── .template.config
│ │ │ └── template.json
│ │ ├── template.json.CLI.verified
│ │ ├── std-streams
│ │ │ ├── stderr.txt
│ │ │ └── stdout.txt
│ │ └── template.json
│ │ │ └── .template.config
│ │ │ └── template.json
│ │ ├── template.json.NoConfigFolder.verified
│ │ └── template.json
│ │ │ └── template.json
│ │ ├── template.json.WithParams.verified
│ │ └── template.json
│ │ │ └── .template.config
│ │ │ └── template.json
│ │ ├── templatepack.Basic.verified
│ │ └── templatepack
│ │ │ ├── README.md
│ │ │ ├── content
│ │ │ └── SampleTemplate
│ │ │ │ └── placeholder.txt
│ │ │ └── templatepack.csproj
│ │ ├── templatepack.CLI.verified
│ │ ├── std-streams
│ │ │ ├── stderr.txt
│ │ │ └── stdout.txt
│ │ └── templatepack
│ │ │ ├── README.md
│ │ │ ├── content
│ │ │ └── SampleTemplate
│ │ │ │ └── placeholder.txt
│ │ │ └── templatepack.csproj
│ │ ├── templatepack.NoMSBuildTasks.verified
│ │ └── templatepack
│ │ │ ├── README.md
│ │ │ ├── content
│ │ │ └── SampleTemplate
│ │ │ │ └── placeholder.txt
│ │ │ └── templatepack.csproj
│ │ └── templatepack.WithName.verified
│ │ └── templatepack
│ │ ├── MyTemplatePackage.csproj
│ │ ├── README.md
│ │ └── content
│ │ └── SampleTemplate
│ │ └── placeholder.txt
├── Microsoft.TemplateEngine.Core.UnitTests
│ ├── BalancedNestingTests.cs
│ ├── ChunkMemoryStream.cs
│ ├── ChunkStreamReadTests.cs
│ ├── CombinedStreamTests.cs
│ ├── CommonOperationsTests.cs
│ ├── ConditionalTests.CStyleEvaluator.cs
│ ├── ConditionalTests.HamlLineCommenting.cs
│ ├── ConditionalTests.HashCommentWithCStyleEvaluator.cs
│ ├── ConditionalTests.InlineMarkup.cs
│ ├── ConditionalTests.JsxBlockComments.cs
│ ├── ConditionalTests.LineCommentingWithNestedCommentsWithCStyleEvaluator.cs
│ ├── ConditionalTests.NestedConditionsWithCStyleEvaluator.cs
│ ├── ConditionalTests.NestedConditionsWithVbStyleEvaluator.cs
│ ├── ConditionalTests.RazorBlockComments.cs
│ ├── ConditionalTests.RemCommentWithCStyleEvaluator.cs
│ ├── ConditionalTests.UncommentingBehavior.cs
│ ├── ConditionalTests.VBStyleEvaluator.cs
│ ├── ConditionalTests.XmlBlockComments.cs
│ ├── ConditionalTests.cs
│ ├── Cpp2EvaluatorTests.cs
│ ├── LookaroundTests.cs
│ ├── Microsoft.TemplateEngine.Core.UnitTests.csproj
│ ├── OperationTrieTests.cs
│ ├── OrchestratorTests.cs
│ ├── PhasedOperationTests.cs
│ ├── RegionTests.cs
│ ├── ReplacementTests.cs
│ ├── SetFlagTests.cs
│ ├── StreamProxyTests.cs
│ ├── TestBase.cs
│ ├── TokenTrieTests.cs
│ ├── TrieTests.cs
│ └── VariablesTests.cs
├── Microsoft.TemplateEngine.Edge.UnitTests
│ ├── AllComponents.cs
│ ├── Fakes
│ │ └── FakeManagedPackageProvider.cs
│ ├── FolderInstallerTests.cs
│ ├── GeneratorTests.cs
│ ├── GlobalSettingsTests.cs
│ ├── HostConstraintTests.cs
│ ├── LocalizationTests.cs
│ ├── Microsoft.TemplateEngine.Edge.UnitTests.csproj
│ ├── Mocks
│ │ └── MockPackageManager.cs
│ ├── NuGetApiPackageManagerTests.cs
│ ├── NuGetInstallerTests.cs
│ ├── NuGetVersionHelperTests.cs
│ ├── NuGet_testFeed.config
│ ├── OSConstraintTests.cs
│ ├── PathInfoTests.cs
│ ├── ScannerTests.cs
│ ├── SdkVersionConstraintTests.cs
│ ├── TemplateCacheTests.cs
│ ├── TemplateConstraintManagerTests.cs
│ ├── TemplateCreatorTests.cs
│ ├── TemplatePackageManagerTests.cs
│ └── WorkloadConstraintTests.cs
├── Microsoft.TemplateEngine.IDE.IntegrationTests
│ ├── Approvals
│ │ ├── BasicTests.SourceNameForms_BasicTest.verified.txt
│ │ ├── BooleanConditionsTest.no options.verified
│ │ │ └── TestAssets.TemplateWithBooleanParameters
│ │ │ │ ├── bar-computed.cs
│ │ │ │ ├── bar.cs
│ │ │ │ ├── bar.props
│ │ │ │ └── bar.vb
│ │ ├── BooleanConditionsTest.option equals to false.verified
│ │ │ └── TestAssets.TemplateWithBooleanParameters
│ │ │ │ ├── bar-computed.cs
│ │ │ │ ├── bar.cs
│ │ │ │ ├── bar.props
│ │ │ │ └── bar.vb
│ │ ├── BooleanConditionsTest.option equals to true.verified
│ │ │ └── TestAssets.TemplateWithBooleanParameters
│ │ │ │ ├── bar-computed.cs
│ │ │ │ ├── bar.cs
│ │ │ │ ├── bar.props
│ │ │ │ └── bar.vb
│ │ ├── BooleanConditionsTest.options without value.verified
│ │ │ └── TestAssets.TemplateWithBooleanParameters
│ │ │ │ ├── bar-computed.cs
│ │ │ │ ├── bar.cs
│ │ │ │ ├── bar.props
│ │ │ │ └── bar.vb
│ │ ├── End2EndTests.SourceNameFormsTest.verified.txt
│ │ ├── End2EndTests.ValueForms_DerivedSymbolFromGeneratedSymbolTest.verified.txt
│ │ ├── End2EndTests.ValueForms_DerivedSymbolTest.verified.txt
│ │ ├── LegacyTests.DefaultIfOptionWithoutValue_NoValueDefaultForChoiceParamIsUsed.verified
│ │ │ └── TestAssets.DefaultIfOptionWithoutValue
│ │ │ │ ├── ChoiceOtherFile.cs
│ │ │ │ └── Program.cs
│ │ ├── LegacyTests.DefaultIfOptionWithoutValue_NoValueDefaultForStringParamIsUsed.verified
│ │ │ └── TestAssets.DefaultIfOptionWithoutValue
│ │ │ │ ├── Program.cs
│ │ │ │ └── StringOtherFile.cs
│ │ ├── LegacyTests.DefaultIfOptionWithoutValue_NoValueDefault_UserProvidedValuesAreIsUsed.verified
│ │ │ └── TestAssets.DefaultIfOptionWithoutValue
│ │ │ │ └── Program.cs
│ │ ├── LegacyTests.DefaultIfOptionWithoutValue_NoValueDefaultsNotUsedIfSwitchesNotSpecified.verified
│ │ │ └── TestAssets.DefaultIfOptionWithoutValue
│ │ │ │ └── Program.cs
│ │ ├── LegacyTests.KitchenSink_ConfigurationKitchenSink.verified
│ │ │ └── TestAssets.ConfigurationKitchenSink
│ │ │ │ ├── Company.ClassLibrary1.csproj
│ │ │ │ ├── RenameBattery
│ │ │ │ ├── B.txt
│ │ │ │ └── D.txt
│ │ │ │ ├── Test.cs
│ │ │ │ ├── Test.css
│ │ │ │ └── Test.json
│ │ ├── LegacyTests.PortsAndCoalesceRenames.verified
│ │ │ └── TestAssets.TemplateWithPortsAndCoalesce
│ │ │ │ └── bar.cs
│ │ ├── LegacyTests.RegexMatch_RegexMatchMacroNegative.verified
│ │ │ └── TestAssets.TemplateWithRegexMatchMacro
│ │ │ │ ├── bar.2.cs
│ │ │ │ └── bar.cs
│ │ ├── LegacyTests.RegexMatch_RegexMatchMacroPositive.verified
│ │ │ └── TestAssets.TemplateWithRegexMatchMacro
│ │ │ │ ├── bar.2.cs
│ │ │ │ └── bar.cs
│ │ ├── LegacyTests.Renames_CaseSensitiveNameBasedRenames.verified
│ │ │ └── TestAssets.TemplateWithCaseSensitiveNameBasedRenames
│ │ │ │ ├── Norenamepart
│ │ │ │ ├── FileNorenamepart.txt
│ │ │ │ └── FileYesNewName.txt
│ │ │ │ └── YesNewName
│ │ │ │ ├── FileNorenamepart.txt
│ │ │ │ └── FileYesNewName.txt
│ │ ├── LegacyTests.Renames_CustomSourceAndTargetPathRename.verified
│ │ │ └── TestAssets.TemplateWithSourceNameAndCustomSourceAndTargetPaths
│ │ │ │ └── Target
│ │ │ │ └── Output
│ │ │ │ ├── bar.name.txt
│ │ │ │ └── bar
│ │ │ │ └── bar.cs
│ │ ├── LegacyTests.Renames_CustomSourcePathRename.verified
│ │ │ └── TestAssets.TemplateWithSourceNameAndCustomSourcePath
│ │ │ │ ├── bar.name.txt
│ │ │ │ └── bar
│ │ │ │ └── bar.cs
│ │ ├── LegacyTests.Renames_CustomTargetPathRename.verified
│ │ │ └── TestAssets.TemplateWithSourceNameAndCustomTargetPath
│ │ │ │ └── Custom
│ │ │ │ └── Path
│ │ │ │ ├── bar.name.txt
│ │ │ │ └── bar
│ │ │ │ └── bar.cs
│ │ ├── LegacyTests.Renames_DerivedSymbolFileRename.verified
│ │ │ └── TestAssets.TemplateWithDerivedSymbolFileRename
│ │ │ │ └── Rename.cs
│ │ ├── LegacyTests.Renames_FileRenames.verified
│ │ │ └── TestAssets.TemplateWithRenames
│ │ │ │ ├── TESTPROJECT3.cs
│ │ │ │ ├── TestProject1.cs
│ │ │ │ ├── baz.cs
│ │ │ │ ├── baz
│ │ │ │ └── baz.cs
│ │ │ │ ├── testproject2.cs
│ │ │ │ └── uc
│ │ │ │ └── BAZ.cs
│ │ ├── LegacyTests.Renames_JoinAndFolderRename.verified
│ │ │ └── TestAssets.TemplateWithJoinAndFolderRename
│ │ │ │ └── Source
│ │ │ │ └── Api
│ │ │ │ └── Microsoft
│ │ │ │ └── Office
│ │ │ │ └── bar.cs
│ │ ├── LegacyTests.Renames_MultipleRenamesOnSameFile.verified
│ │ │ └── TestAssets.TemplateWithMultipleRenamesOnSameFile
│ │ │ │ ├── ballandbase.txt
│ │ │ │ └── baseball.txt
│ │ ├── LegacyTests.Renames_MultipleRenamesOnSameFileHandlesInducedOverlap.verified
│ │ │ └── TestAssets.TemplateWithMultipleRenamesOnSameFileHandlesInducedOverlap
│ │ │ │ └── bar.txt
│ │ ├── LegacyTests.Renames_MultipleRenamesOnSameFileHandlesOverlap.verified
│ │ │ └── TestAssets.TemplateWithMultipleRenamesOnSameFileHandlesOverlap
│ │ │ │ └── pinb.txt
│ │ ├── LegacyTests.Renames_NegativeFileRenames.verified
│ │ │ └── TestAssets.TemplateWithUnspecifiedSourceName
│ │ │ │ ├── bar.cs
│ │ │ │ └── bar
│ │ │ │ └── bar.cs
│ │ ├── LegacyTests.Renames_SourceNameFileRenames.verified
│ │ │ └── TestAssets.TemplateWithSourceName
│ │ │ │ ├── baz.cs
│ │ │ │ └── baz
│ │ │ │ └── baz.cs
│ │ ├── LegacyTests.Renames_SourceNameInTargetPathGetsRenamed.verified
│ │ │ └── TestAssets.TemplateWithSourceNameInTargetPathGetsRenamed
│ │ │ │ └── bar
│ │ │ │ └── baz
│ │ │ │ └── baz.cs
│ │ ├── LegacyTests.Renames_SourcePathOutsideConfigRoot.verified
│ │ │ └── TestAssets.TemplateWithSourcePathOutsideConfigRoot
│ │ │ │ └── blah
│ │ │ │ └── MountPointRoot
│ │ │ │ ├── baz
│ │ │ │ ├── bar
│ │ │ │ │ └── bar.baz.cs
│ │ │ │ └── baz.baz.cs
│ │ │ │ └── mount.baz.cs
│ │ ├── LegacyTests.TemplateWithTagsBasicTest.verified
│ │ │ └── TestAssets.TemplateWithTags
│ │ │ │ └── TestAssets.TemplateWithTags.cs
│ │ ├── LegacyTests.ValueForms.verified
│ │ │ └── TestAssets.TemplateWithValueForms
│ │ │ │ ├── FirstLetterCaseForms
│ │ │ │ ├── MyCamelTestValue.cs
│ │ │ │ └── myPascalTestValue.cs
│ │ │ │ ├── IdentityForms
│ │ │ │ ├── MyPascalTestValue.cs
│ │ │ │ ├── my test text.cs
│ │ │ │ └── myCamelTestValue.cs
│ │ │ │ ├── KebabCaseForms
│ │ │ │ └── my-pascal-test-value.cs
│ │ │ │ ├── Test.Value6.cs
│ │ │ │ ├── TitleCaseForms
│ │ │ │ └── My Test Text.cs
│ │ │ │ └── bar.cs
│ │ ├── LegacyTests.ValueForms_DerivedSymbolWithValueForms.verified
│ │ │ └── TestAssets.TemplateWithDerivedSymbolWithValueForms
│ │ │ │ ├── AppSeven.cs
│ │ │ │ └── ContentTest.txt
│ │ ├── PreferDefaultNameTest.Basic.verified
│ │ │ └── TestAssets.TemplateWithPreferDefaultName
│ │ │ │ └── TestAssets.TemplateWithPreferDefaultName.cs
│ │ ├── TemplateWithOnlyIfStatementTest.Basic.verified
│ │ │ └── TestAssets.TemplateWithOnlyIfStatement
│ │ │ │ └── test.json
│ │ └── TemplateWithOnlyIfStatementTestForLocalhostTest.Basic.verified
│ │ │ └── TestAssets.TemplateWithOnlyIfForLocalhost
│ │ │ └── test.json
│ ├── BasicTests.cs
│ ├── BootstrapperTestBase.cs
│ ├── ConfigurationTests.cs
│ ├── End2EndTests.cs
│ ├── FileRenameTests.cs
│ ├── LocalizationTests.cs
│ ├── Microsoft.TemplateEngine.IDE.IntegrationTests.csproj
│ ├── SnapshotTests.cs
│ ├── TemplatePackagesTests.cs
│ ├── Utils
│ │ ├── BasicParametersParser.cs
│ │ └── IFileChangeEqualityComparer.cs
│ ├── VerifySettingsFixture.cs
│ └── VerifyTestCollection.cs
├── Microsoft.TemplateEngine.Mocks
│ ├── Microsoft.TemplateEngine.Mocks.csproj
│ ├── MockCreationEffects.cs
│ ├── MockCreationPath.cs
│ ├── MockCreationResult.cs
│ ├── MockDirectory.cs
│ ├── MockEnvironment.cs
│ ├── MockFile.cs
│ ├── MockFileChange.cs
│ ├── MockFileStream.cs
│ ├── MockFileSystem.cs
│ ├── MockGlobalRunSpec.cs
│ ├── MockInstallerFactory.cs
│ ├── MockManagedTemplatePackageProvider.cs
│ ├── MockMountPoint.cs
│ ├── MockOperation.cs
│ ├── MockOperationProvider.cs
│ ├── MockPostAction.cs
│ ├── MockTemplateInfo.cs
│ └── MockTemplatePackageInfo.cs
├── Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests
│ ├── AllComponents.cs
│ ├── Approvals
│ │ ├── TemplateWithComputedInGenerated._.verified
│ │ │ └── TestAssets.TemplateWithComputedInGenerated
│ │ │ │ ├── MyProject.Helper.csproj
│ │ │ │ └── Program.cs
│ │ ├── TestCoalesce_EmptyStringForMultiChoices._.verified
│ │ │ └── TestAssets.TemplateWithMultipleChoicesAndCoalesce
│ │ │ │ └── Program.cs
│ │ ├── TestGeneratedSymbolWithRefToDerivedSymbol._.verified
│ │ │ └── TestAssets.TemplateGenSymWithRefToDerivedSym
│ │ │ │ ├── MyProject.Helper.csproj
│ │ │ │ ├── Nuget.Frameworks.cs
│ │ │ │ └── Nuget.cs
│ │ ├── TestGeneratedSymbolWithRefToDerivedSymbol_DifferentOrder._.verified
│ │ │ └── TestAssets.TemplateGenSymWithRefToDerivedSym_DiffOrder
│ │ │ │ ├── MyProject.Helper.csproj
│ │ │ │ ├── Nuget.Frameworks.cs
│ │ │ │ └── Nuget.cs
│ │ ├── TestSelectionForMultiChoicesWhenThereAreMultiplePartialMatchesAndOnePreciseMatch._.verified
│ │ │ └── TestAssets.TemplateWithMultipleChoicesAndPartialMatches
│ │ │ │ └── Program.cs
│ │ ├── TestSingleSelectionForMultiChoices._.verified
│ │ │ └── TestAssets.TemplateWithMultipleChoicesAndCoalesce
│ │ │ │ └── Program.cs
│ │ ├── TestTemplateWithBrokenGeneratedInComputed._.verified
│ │ │ ├── TestAssets.TemplateWithBrokenGeneratedInComputed
│ │ │ │ ├── MyProject.Helper.csproj
│ │ │ │ └── Program.cs
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ ├── TestTemplateWithCircleDependencyInMacros._.verified
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ ├── TestTemplateWithComputedInDerivedThroughGenerated._.verified
│ │ │ ├── TestAssets.TemplateWithComputedInDerivedThroughGenerated
│ │ │ │ ├── MyProject.Helper.csproj
│ │ │ │ └── stringforjointrue.cs
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ ├── TestTemplateWithComputedInGenerated._.verified
│ │ │ ├── TestAssets.TemplateWithComputedInGenerated
│ │ │ │ ├── MyProject.Helper.csproj
│ │ │ │ └── Program.cs
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ ├── TestTemplateWithGeneratedInComputed._.verified
│ │ │ ├── TestAssets.TemplateWithGeneratedInComputed
│ │ │ │ ├── MyProject.Helper.csproj
│ │ │ │ └── Program.cs
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ ├── TestTemplateWithGeneratedSwitchInComputed._.verified
│ │ │ ├── TestAssets.TemplateWithGeneratedSwitchInComputed
│ │ │ │ ├── MyProject.Helper.csproj
│ │ │ │ └── Program.cs
│ │ │ └── std-streams
│ │ │ │ ├── stderr.txt
│ │ │ │ └── stdout.txt
│ │ └── TestTemplateWithVariablesInGeneratedThatUsedInComputed._.verified
│ │ │ ├── TestAssets.TemplateWithBrokenGeneratedInComputed
│ │ │ ├── MyProject.Helper.csproj
│ │ │ └── Program.cs
│ │ │ └── std-streams
│ │ │ ├── stderr.txt
│ │ │ └── stdout.txt
│ ├── BindSymbolTests.cs
│ ├── Fakes
│ │ ├── FakeMacro.cs
│ │ └── FakeMacroConfig.cs
│ ├── MacroProcessorTests.cs
│ ├── MacroTests
│ │ ├── CaseChangeMacroTests.cs
│ │ ├── CoalesceMacroTests.cs
│ │ ├── ConstantMacroTests.cs
│ │ ├── EvaluateMacroTests.cs
│ │ ├── FakeMacroTests.cs
│ │ ├── GeneratePortMacroTests.cs
│ │ ├── GuidMacroTests.cs
│ │ ├── JoinMacroTests.cs
│ │ ├── NowMacroTests.cs
│ │ ├── RandomMacroTests.cs
│ │ ├── RegexMacroTests.cs
│ │ ├── RegexMatchMacroTests.cs
│ │ └── SwtichMacroTests.cs
│ ├── Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests.csproj
│ ├── RunnableProjectConfigTests.cs
│ ├── RunnableProjectGeneratorTests.cs
│ ├── ScanTests.cs
│ ├── SchemaTests
│ │ ├── BasicTest.json
│ │ ├── ConditionalParametersTest.json
│ │ ├── ConstraintsTest.json
│ │ ├── GeneratorTest.json
│ │ ├── JSONSchemaTests.cs
│ │ ├── MultiValueChoiceTest.json
│ │ ├── PostActionTest.json
│ │ ├── StarterWebTest.json
│ │ └── SymbolsTest.json
│ ├── Serialization
│ │ ├── Extensions.cs
│ │ ├── ParameterSymbolJsonConverter.cs
│ │ └── TemplateConfigModelJsonConverter.cs
│ ├── SnapshotTests.cs
│ ├── TemplateConfigTests
│ │ ├── ConstraintsTest.cs
│ │ ├── CustomConditionalTests.cs
│ │ ├── FileRenameTests.cs
│ │ ├── GenericTests.cs
│ │ ├── LocalizationTests.cs
│ │ ├── PostActionTests.cs
│ │ ├── SourceConfigTests.cs
│ │ ├── SplitConfigurationTests.cs
│ │ ├── SymbolConfigTests.cs
│ │ └── TemplateRootTests.cs
│ ├── ValidationTests.cs
│ ├── ValueFormTests
│ │ ├── DefaultLowerSafeNamespaceValueFormModelTests.cs
│ │ ├── DefaultSafeNamespaceValueFormModelTests.cs
│ │ ├── FirstLowerCaseInvariantValueFormTests.cs
│ │ ├── FirstLowerCaseValueFormTests.cs
│ │ ├── FirstUpperCaseInvariantValueFormModel.cs
│ │ ├── FirstUpperCaseValueFormTests.cs
│ │ ├── JsonEncodeValueFormTests.cs
│ │ ├── KebabCaseValueFormTests.cs
│ │ ├── TemplateJsonDefinedFormsTests.cs
│ │ └── TitleCaseValueFormTests.cs
│ ├── VerifySettingsFixture.cs
│ ├── VerifyTestCollection.cs
│ └── xunit.runner.json
├── Microsoft.TemplateEngine.TemplateLocalizer.Core.UnitTests
│ ├── Microsoft.TemplateEngine.TemplateLocalizer.Core.UnitTests.csproj
│ ├── StringExtractorTests.cs
│ └── StringUpdaterTests.cs
├── Microsoft.TemplateEngine.TestHelper
│ ├── AssemblyComponentCatalog.cs
│ ├── BuiltInTemplatePackagesProvider.cs
│ ├── EnvironmentSettingsHelper.cs
│ ├── InMemoryLoggerProvider.cs
│ ├── LongRunningConstraintFactory.cs
│ ├── Microsoft.TemplateEngine.TestHelper.csproj
│ ├── MonitoredFileSystem.cs
│ ├── PackageManager.cs
│ ├── PublicAPI.Shipped.txt
│ ├── PublicAPI.Unshipped.txt
│ ├── SharedTestOutputHelper.cs
│ ├── StringExtensions.cs
│ ├── TestConstraintFactory.cs
│ ├── TestFileSystemUtils.cs
│ ├── TestHost.cs
│ ├── TestLoggerFactory.cs
│ ├── TestUtils.cs
│ └── XunitLoggerProvider.cs
├── Microsoft.TemplateEngine.TestTemplates
│ ├── Microsoft.TemplateEngine.TestTemplates.csproj
│ ├── nupkg_templates
│ │ ├── TestNupkgInstallTemplate.0.0.1.nupkg
│ │ └── TestNupkgInstallTemplateV2.0.0.2.nupkg
│ └── test_templates
│ │ ├── ConfigurationKitchenSink
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── Company.ClassLibrary1.csproj
│ │ ├── RenameBattery
│ │ │ ├── A.txt
│ │ │ └── C.txt
│ │ ├── Test.cs
│ │ ├── Test.css
│ │ └── Test.json
│ │ ├── Constraints
│ │ └── RestrictedTemplate
│ │ │ ├── .template.config
│ │ │ └── template.json
│ │ │ └── bar.cs
│ │ ├── DefaultIfOptionWithoutValue
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── ChoiceOtherFile.cs
│ │ ├── Program.cs
│ │ └── StringOtherFile.cs
│ │ ├── Invalid
│ │ ├── InvalidHostData
│ │ │ ├── .template.config
│ │ │ │ ├── dotnetcli.host.json
│ │ │ │ └── template.json
│ │ │ └── global.json
│ │ ├── Localization
│ │ │ ├── InvalidFormat
│ │ │ │ ├── .template.config
│ │ │ │ │ ├── localize
│ │ │ │ │ │ └── templatestrings.de-DE.json
│ │ │ │ │ └── template.json
│ │ │ │ └── bar.cs
│ │ │ └── ValidationFailure
│ │ │ │ ├── .template.config
│ │ │ │ ├── localize
│ │ │ │ │ ├── templatestrings.de-DE.json
│ │ │ │ │ └── templatestrings.tr.json
│ │ │ │ └── template.json
│ │ │ │ └── bar.cs
│ │ ├── MissingIdentity
│ │ │ └── .template.config
│ │ │ │ └── template.json
│ │ ├── MissingMandatoryConfig
│ │ │ └── .template.config
│ │ │ │ └── template.json
│ │ └── SameShortName
│ │ │ ├── TemplateA
│ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ └── bar.cs
│ │ │ └── TemplateB
│ │ │ ├── .template.config
│ │ │ └── template.json
│ │ │ └── bar.cs
│ │ ├── PostActions
│ │ ├── AddPackageReference
│ │ │ ├── Basic
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ │ └── BasicWithFiles
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ ├── AddProjectReference
│ │ │ └── Basic
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ ├── Project1
│ │ │ │ ├── Program.cs
│ │ │ │ └── Project1.csproj
│ │ │ │ └── Project2
│ │ │ │ ├── MyClass.cs
│ │ │ │ └── Project2.csproj
│ │ ├── AddProjectToSolution
│ │ │ ├── Basic
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ │ ├── BasicWithFiles
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ │ └── BasicWithIndexes
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ ├── Client
│ │ │ │ ├── Client.csproj
│ │ │ │ └── Program.cs
│ │ │ │ └── Server
│ │ │ │ ├── Program.cs
│ │ │ │ └── Server.csproj
│ │ ├── Instructions
│ │ │ └── Basic
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ └── Class1.cs
│ │ ├── RestoreNuGet
│ │ │ ├── Basic
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ │ ├── BasicWithFiles
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ │ ├── CustomSourcePath
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ └── Custom
│ │ │ │ │ └── Path
│ │ │ │ │ ├── Basic.csproj
│ │ │ │ │ └── Program.cs
│ │ │ ├── CustomSourcePathFiles
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ └── Custom
│ │ │ │ │ └── Path
│ │ │ │ │ ├── Basic.csproj
│ │ │ │ │ └── Program.cs
│ │ │ ├── CustomSourceTargetPath
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ └── Src
│ │ │ │ │ └── Custom
│ │ │ │ │ └── Path
│ │ │ │ │ ├── Basic.csproj
│ │ │ │ │ └── Program.cs
│ │ │ ├── CustomSourceTargetPathFiles
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ └── Src
│ │ │ │ │ └── Custom
│ │ │ │ │ └── Path
│ │ │ │ │ ├── Basic.csproj
│ │ │ │ │ └── Program.cs
│ │ │ ├── CustomTargetPath
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ │ ├── CustomTargetPathFiles
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ │ ├── Invalid
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Invalid.csproj
│ │ │ │ └── Program.cs
│ │ │ ├── Invalid_ContinueOnError
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Invalid.csproj
│ │ │ │ └── Program.cs
│ │ │ ├── SourceRename
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ │ ├── SourceRenameFiles
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── Basic.csproj
│ │ │ │ └── Program.cs
│ │ │ ├── TwoProjectsFiles
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ └── Custom
│ │ │ │ │ ├── MyTestProject.Tests
│ │ │ │ │ ├── MyTestProject.Tests.csproj
│ │ │ │ │ └── Program.cs
│ │ │ │ │ └── MyTestProject
│ │ │ │ │ ├── MyTestProject.csproj
│ │ │ │ │ └── Program.cs
│ │ │ ├── TwoProjectsPrimaryOutputs
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ └── Custom
│ │ │ │ │ ├── MyTestProject.Tests
│ │ │ │ │ ├── MyTestProject.Tests.csproj
│ │ │ │ │ └── Program.cs
│ │ │ │ │ └── MyTestProject
│ │ │ │ │ ├── MyTestProject.csproj
│ │ │ │ │ └── Program.cs
│ │ │ ├── TwoProjectsWithSourceRenames
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── TemplateProject1
│ │ │ │ │ ├── Program.cs
│ │ │ │ │ └── TemplateProject1.csproj
│ │ │ │ └── TemplateProject2
│ │ │ │ │ ├── Program.cs
│ │ │ │ │ └── TemplateProject2.csproj
│ │ │ └── TwoProjectsWithSourceRenames2
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ ├── TemplateProject1
│ │ │ │ ├── Program.cs
│ │ │ │ └── TemplateProject1.csproj
│ │ │ │ └── TemplateProject2
│ │ │ │ ├── Program.cs
│ │ │ │ └── TemplateProject2.csproj
│ │ ├── RunScript
│ │ │ ├── Basic
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── setup.cmd
│ │ │ │ └── setup.sh
│ │ │ ├── DoNotRedirect
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── setup.cmd
│ │ │ │ └── setup.sh
│ │ │ ├── Redirect
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ ├── setup.cmd
│ │ │ │ └── setup.sh
│ │ │ └── RedirectOnError
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ ├── setup.cmd
│ │ │ │ └── setup.sh
│ │ ├── UnknownPostAction
│ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ ├── Program.cs
│ │ │ └── UnknownPostAction.csproj
│ │ └── WithFileRename
│ │ │ ├── .template.config
│ │ │ └── template.json
│ │ │ ├── MyTestProject.csproj
│ │ │ └── testfile.json
│ │ ├── SourceNameForms
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── Good.Source.Name.1.cs
│ │ └── fileRename-name-lc2.cs
│ │ ├── SourceWithExcludeAndWithout
│ │ ├── With
│ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ ├── bar.cs
│ │ │ ├── foo.cs
│ │ │ └── packages.lock.json
│ │ └── Without
│ │ │ ├── .template.config
│ │ │ └── template.json
│ │ │ ├── bar.cs
│ │ │ ├── foo.cs
│ │ │ └── packages.lock.json
│ │ ├── TemplateConditionalProcessing
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── Test.cmd
│ │ ├── Test.cpp
│ │ ├── Test.cs
│ │ ├── Test.cshtml
│ │ ├── Test.csproj
│ │ ├── Test.css
│ │ ├── Test.fs
│ │ ├── Test.haml
│ │ ├── Test.js
│ │ ├── Test.json
│ │ ├── Test.jsx
│ │ ├── Test.othertype
│ │ ├── Test.ts
│ │ ├── Test.vb
│ │ ├── Test.xml
│ │ └── Test.yml
│ │ ├── TemplateGrouping
│ │ ├── CSharpItemAuthor1
│ │ │ └── .template.config
│ │ │ │ └── template.json
│ │ ├── FSharpItemAuthor1
│ │ │ └── .template.config
│ │ │ │ └── template.json
│ │ ├── QSharpItemAuthor2
│ │ │ └── .template.config
│ │ │ │ └── template.json
│ │ └── QSharpProjectAuthor2
│ │ │ └── .template.config
│ │ │ └── template.json
│ │ ├── TemplateResolution
│ │ ├── DifferentLanguagesGroup
│ │ │ ├── BasicFSharp
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ └── bar.fs
│ │ │ └── BasicVB
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ └── bar.vb
│ │ ├── SamePrecedenceGroup
│ │ │ ├── BasicTemplate1
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ └── bar.cs
│ │ │ └── BasicTemplate2
│ │ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ │ └── bar.cs
│ │ └── SameShortName
│ │ │ ├── BasicFSharp
│ │ │ ├── .template.config
│ │ │ │ └── template.json
│ │ │ └── bar.fs
│ │ │ └── BasicVB
│ │ │ ├── .template.config
│ │ │ └── template.json
│ │ │ └── bar.vb
│ │ ├── TemplateWithBinaryFile
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── image.png
│ │ ├── TemplateWithBooleanParameters
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── bar-computed.cs
│ │ ├── bar.cs
│ │ ├── bar.props
│ │ └── bar.vb
│ │ ├── TemplateWithBrokenGeneratedInComputed
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Helper.csproj
│ │ └── Program.cs
│ │ ├── TemplateWithCaseSensitiveNameBasedRenames
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── Norenamepart
│ │ │ ├── FileNorenamepart.txt
│ │ │ └── FileYesRenamePart.txt
│ │ └── YesRenamePart
│ │ │ ├── FileNorenamepart.txt
│ │ │ └── FileYesRenamePart.txt
│ │ ├── TemplateWithCircleDependencyInMacros
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Helper.csproj
│ │ └── Program.cs
│ │ ├── TemplateWithCliHostFile
│ │ ├── .template.config
│ │ │ ├── dotnetcli.host.json
│ │ │ └── template.json
│ │ └── bar.cs
│ │ ├── TemplateWithComputedInDerivedThroughGenerated
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Helper.csproj
│ │ └── Program.cs
│ │ ├── TemplateWithComputedInGenerated
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Helper.csproj
│ │ └── Program.cs
│ │ ├── TemplateWithConditionalParameters
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Test.cs
│ │ ├── TemplateWithConditions
│ │ ├── .dockerignore
│ │ ├── .editorconfig
│ │ ├── .gitattributes
│ │ ├── .gitignore
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── Dockerfile
│ │ ├── Package.appxmanifest
│ │ ├── nuget.config
│ │ ├── test.axaml
│ │ ├── test.cake
│ │ ├── test.md
│ │ ├── test.ps1
│ │ ├── test.sln
│ │ ├── test.slnx
│ │ └── test.yaml
│ │ ├── TemplateWithDerivedSymbolFileRename
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Application1.cs
│ │ ├── TemplateWithDerivedSymbolWithValueForms
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── ContentTest.txt
│ │ └── SomeApp1.cs
│ │ ├── TemplateWithFileRenameDate
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── date_name.cs
│ │ ├── TemplateWithGenSymbolWithRefToDerivedSymbol_DifferentOrder
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Helper.csproj
│ │ ├── Tool.cs
│ │ └── ToolExtension.cs
│ │ ├── TemplateWithGeneratedInComputed
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Helper.csproj
│ │ └── Program.cs
│ │ ├── TemplateWithGeneratedSwitchInComputed
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Helper.csproj
│ │ └── Program.cs
│ │ ├── TemplateWithGeneratedSymbolWithRefToDerivedSymbol
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MyProject.Helper.csproj
│ │ ├── Tool.cs
│ │ └── ToolExtension.cs
│ │ ├── TemplateWithJoinAndFolderRename
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Api
│ │ │ └── bar.cs
│ │ ├── TemplateWithLocalization
│ │ ├── .template.config
│ │ │ ├── localize
│ │ │ │ ├── templatestrings.de-DE.json
│ │ │ │ └── templatestrings.tr.json
│ │ │ └── template.json
│ │ └── bar.cs
│ │ ├── TemplateWithMultiValueChoice
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Test.cs
│ │ ├── TemplateWithMultipleChoicesAndCoalesce
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Program.cs
│ │ ├── TemplateWithMultipleChoicesAndPartialMatches
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Program.cs
│ │ ├── TemplateWithMultipleRenamesOnSameFile
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── barandfoo.txt
│ │ └── foobar.txt
│ │ ├── TemplateWithMultipleRenamesOnSameFileHandlesInducedOverlap
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── foo.txt
│ │ ├── TemplateWithMultipleRenamesOnSameFileHandlesOverlap
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── foob.txt
│ │ ├── TemplateWithOnlyIfForLocalhost
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── test.json
│ │ ├── TemplateWithOnlyIfStatement
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── test.json
│ │ ├── TemplateWithPlaceholderFiles
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Src
│ │ │ └── Path
│ │ │ ├── bar
│ │ │ └── _._
│ │ │ └── foo
│ │ │ └── _._
│ │ ├── TemplateWithPortsAndCoalesce
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── bar.cs
│ │ ├── TemplateWithPreferDefaultName
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── toChange.cs
│ │ ├── TemplateWithPreferDefaultNameButNoDefaultName
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── toChange.cs
│ │ ├── TemplateWithRegexMatchMacro
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── bar.2.cs
│ │ └── bar.cs
│ │ ├── TemplateWithRenames
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── MYPROJECT3.cs
│ │ ├── MyProject1.cs
│ │ ├── bar.cs
│ │ ├── bar
│ │ │ └── bar.cs
│ │ ├── myproject2.cs
│ │ └── uc
│ │ │ └── bar_uc.cs
│ │ ├── TemplateWithSourceBasedRenames
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── foo.cs
│ │ ├── TemplateWithSourceName
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── bar.cs
│ │ └── bar
│ │ │ └── bar.cs
│ │ ├── TemplateWithSourceNameAndCustomSourceAndTargetPaths
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Src
│ │ │ └── Custom
│ │ │ └── Path
│ │ │ ├── foo.name.txt
│ │ │ └── foo
│ │ │ └── foo.cs
│ │ ├── TemplateWithSourceNameAndCustomSourcePath
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Custom
│ │ │ └── Path
│ │ │ ├── foo.name.txt
│ │ │ └── foo
│ │ │ └── foo.cs
│ │ ├── TemplateWithSourceNameAndCustomTargetPath
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── foo.name.txt
│ │ └── foo
│ │ │ └── foo.cs
│ │ ├── TemplateWithSourceNameInTargetPathGetsRenamed
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── foo.cs
│ │ ├── TemplateWithSourcePathOutsideConfigRoot
│ │ └── MountPointRoot
│ │ │ ├── foo
│ │ │ ├── bar
│ │ │ │ ├── .template.config
│ │ │ │ │ └── template.json
│ │ │ │ └── bar.foo.cs
│ │ │ └── foo.foo.cs
│ │ │ └── mount.foo.cs
│ │ ├── TemplateWithStringCoalesce
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── bar.cs
│ │ ├── TemplateWithTags
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── bar.cs
│ │ ├── TemplateWithUnspecifiedSourceName
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── bar.cs
│ │ └── bar
│ │ │ └── bar.cs
│ │ ├── TemplateWithValueForms
│ │ ├── .template.config
│ │ │ └── template.json
│ │ ├── FirstLetterCaseForms
│ │ │ ├── Param2TestValue.cs
│ │ │ └── param1TestValue.cs
│ │ ├── IdentityForms
│ │ │ ├── Param1TestValue.cs
│ │ │ ├── param 3 test value.cs
│ │ │ └── param2TestValue.cs
│ │ ├── KebabCaseForms
│ │ │ └── param-1-test-value.cs
│ │ ├── TitleCaseForms
│ │ │ └── Param 3 Test Value.cs
│ │ ├── bar.2.cs
│ │ └── bar.cs
│ │ ├── TestTemplate
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── Test.cs
│ │ └── ValueForms
│ │ ├── DerivedSymbol
│ │ ├── .template.config
│ │ │ └── template.json
│ │ └── My.Web.App.txt
│ │ └── DerivedSymbolFromGeneratedSymbol
│ │ ├── .template.config
│ │ └── template.json
│ │ └── My.Web.App.txt
├── Microsoft.TemplateEngine.Utils.UnitTests
│ ├── CombinedListTests.cs
│ ├── DefaultTemplatePackageProviderTests.cs
│ ├── DirectedGraphTests.cs
│ ├── EqualityExtensionsTests.cs
│ ├── GlobTests.cs
│ ├── InMemoryFileSystemTests.cs
│ ├── InstallRequestPathResolutionTests.cs
│ ├── ListExtensionsTests.cs
│ ├── Microsoft.TemplateEngine.Utils.UnitTests.csproj
│ ├── VersionStringTests.cs
│ └── WellKnownSearchFiltersTests.cs
├── Microsoft.TemplateSearch.Common.UnitTests
│ ├── AllComponents.cs
│ ├── Microsoft.TemplateSearch.Common.UnitTests.csproj
│ ├── MockTemplateSearchSource.cs
│ ├── NuGetMetadataSearchProviderTests.cs
│ ├── NuGetTemplateSearchInfo.json
│ ├── NuGetTemplateSearchInfoWithInvalidData.json
│ ├── NuGetTemplateSearchInfo_v2.json
│ ├── TemplateSearchCacheReaderTests.cs
│ └── TemplateSearchCoordinatorTests.cs
├── Microsoft.TemplateSearch.TemplateDiscovery.IntegrationTests
│ ├── Microsoft.TemplateSearch.TemplateDiscovery.IntegrationTests.csproj
│ ├── NuGetTests.cs
│ └── TemplateDiscoveryTests.cs
└── Shared
│ └── TestBase.cs
├── testenvironments.json
└── tools
├── Directory.Build.props
├── Microsoft.TemplateEngine.Authoring.CLI
├── Commands
│ ├── ExecutableCommand.cs
│ ├── Verify
│ │ ├── VerifyCommand.cs
│ │ └── VerifyCommandArgs.cs
│ ├── localize
│ │ ├── LocalizeCommand.cs
│ │ └── export
│ │ │ ├── ExportCommand.cs
│ │ │ └── ExportCommandArgs.cs
│ └── validate
│ │ ├── ValidateCommand.cs
│ │ └── ValidateCommandArgs.cs
├── LocalizableStrings.resx
├── Microsoft.TemplateEngine.Authoring.CLI.csproj
├── Program.cs
└── xlf
│ ├── LocalizableStrings.cs.xlf
│ ├── LocalizableStrings.de.xlf
│ ├── LocalizableStrings.es.xlf
│ ├── LocalizableStrings.fr.xlf
│ ├── LocalizableStrings.it.xlf
│ ├── LocalizableStrings.ja.xlf
│ ├── LocalizableStrings.ko.xlf
│ ├── LocalizableStrings.pl.xlf
│ ├── LocalizableStrings.pt-BR.xlf
│ ├── LocalizableStrings.ru.xlf
│ ├── LocalizableStrings.tr.xlf
│ ├── LocalizableStrings.zh-Hans.xlf
│ └── LocalizableStrings.zh-Hant.xlf
├── Microsoft.TemplateEngine.Authoring.Tasks
├── LocalizableStrings.resx
├── Microsoft.TemplateEngine.Authoring.Tasks.csproj
├── Tasks
│ ├── LocalizeTemplates.cs
│ └── ValidateTemplates.cs
├── Utilities
│ ├── MSBuildLogger.cs
│ └── MSBuildLoggerProvider.cs
├── build
│ ├── Microsoft.TemplateEngine.Authoring.Tasks.props
│ └── Microsoft.TemplateEngine.Authoring.Tasks.targets
└── xlf
│ ├── LocalizableStrings.cs.xlf
│ ├── LocalizableStrings.de.xlf
│ ├── LocalizableStrings.es.xlf
│ ├── LocalizableStrings.fr.xlf
│ ├── LocalizableStrings.it.xlf
│ ├── LocalizableStrings.ja.xlf
│ ├── LocalizableStrings.ko.xlf
│ ├── LocalizableStrings.pl.xlf
│ ├── LocalizableStrings.pt-BR.xlf
│ ├── LocalizableStrings.ru.xlf
│ ├── LocalizableStrings.tr.xlf
│ ├── LocalizableStrings.zh-Hans.xlf
│ └── LocalizableStrings.zh-Hant.xlf
├── Microsoft.TemplateEngine.Authoring.TemplateApiVerifier
├── LocalizableStrings.resx
├── Microsoft.TemplateEngine.Authoring.TemplateApiVerifier.csproj
├── PublicAPI.Shipped.txt
├── PublicAPI.Unshipped.txt
├── TemplateVerifierOptionsExtensions.cs
└── xlf
│ ├── LocalizableStrings.cs.xlf
│ ├── LocalizableStrings.de.xlf
│ ├── LocalizableStrings.es.xlf
│ ├── LocalizableStrings.fr.xlf
│ ├── LocalizableStrings.it.xlf
│ ├── LocalizableStrings.ja.xlf
│ ├── LocalizableStrings.ko.xlf
│ ├── LocalizableStrings.pl.xlf
│ ├── LocalizableStrings.pt-BR.xlf
│ ├── LocalizableStrings.ru.xlf
│ ├── LocalizableStrings.tr.xlf
│ ├── LocalizableStrings.zh-Hans.xlf
│ └── LocalizableStrings.zh-Hant.xlf
├── Microsoft.TemplateEngine.Authoring.TemplateVerifier
├── Commands
│ ├── CommandResultData.cs
│ ├── CommandRunner.cs
│ ├── ICommandRunner.cs
│ ├── IInstantiationResult.cs
│ └── RunInstantiation.cs
├── IPhysicalFileSystemEx.cs
├── LocalizableStrings.resx
├── Microsoft.TemplateEngine.Authoring.TemplateVerifier.csproj
├── PhysicalFileSystemEx.cs
├── PublicAPI.Shipped.txt
├── PublicAPI.Unshipped.txt
├── ScrubbersDefinition.cs
├── TemplateVerificationErrorCode.cs
├── TemplateVerificationException.cs
├── TemplateVerifierOptions.cs
├── UniqueForOption.cs
├── VerificationEngine.cs
├── VerifyDirectory.cs
└── xlf
│ ├── LocalizableStrings.cs.xlf
│ ├── LocalizableStrings.de.xlf
│ ├── LocalizableStrings.es.xlf
│ ├── LocalizableStrings.fr.xlf
│ ├── LocalizableStrings.it.xlf
│ ├── LocalizableStrings.ja.xlf
│ ├── LocalizableStrings.ko.xlf
│ ├── LocalizableStrings.pl.xlf
│ ├── LocalizableStrings.pt-BR.xlf
│ ├── LocalizableStrings.ru.xlf
│ ├── LocalizableStrings.tr.xlf
│ ├── LocalizableStrings.zh-Hans.xlf
│ └── LocalizableStrings.zh-Hant.xlf
├── Microsoft.TemplateEngine.TemplateLocalizer.Core
├── Exceptions
│ ├── JsonMemberMissingException.cs
│ ├── LocalizationKeyIsNotUniqueException.cs
│ └── TemplateLocalizerException.cs
├── ExportOptions.cs
├── ExportResult.cs
├── ExtendedJavascriptEncoder.cs
├── KeyCreators
│ ├── ChildValueKeyCreator.cs
│ ├── IJsonKeyCreator.cs
│ ├── IndexBasedKeyCreator.cs
│ └── NameKeyCreator.cs
├── LocalizableStrings.resx
├── Microsoft.TemplateEngine.TemplateLocalizer.Core.csproj
├── PublicAPI.Shipped.txt
├── PublicAPI.Unshipped.txt
├── TemplateLocalizer.cs
├── TemplateString.cs
├── TemplateStringExtractor.cs
├── TemplateStringUpdater.cs
├── TraversalArgs.cs
├── TraversalRules
│ ├── AllInclusiveTraversalRule.cs
│ ├── RegexFilteredTraversalRule.cs
│ ├── StringFilteredTraversalRule.cs
│ └── TraversalRule.cs
├── Utilities
│ ├── Rune.cs
│ ├── UnicodeDebug.cs
│ └── UnicodeUtility.cs
└── xlf
│ ├── LocalizableStrings.cs.xlf
│ ├── LocalizableStrings.de.xlf
│ ├── LocalizableStrings.es.xlf
│ ├── LocalizableStrings.fr.xlf
│ ├── LocalizableStrings.it.xlf
│ ├── LocalizableStrings.ja.xlf
│ ├── LocalizableStrings.ko.xlf
│ ├── LocalizableStrings.pl.xlf
│ ├── LocalizableStrings.pt-BR.xlf
│ ├── LocalizableStrings.ru.xlf
│ ├── LocalizableStrings.tr.xlf
│ ├── LocalizableStrings.zh-Hans.xlf
│ └── LocalizableStrings.zh-Hant.xlf
├── Microsoft.TemplateSearch.TemplateDiscovery
├── AdditionalData
│ ├── AdditionalDataExtensions.cs
│ ├── CliHostDataProducer.cs
│ ├── CliHostSearchCacheData.cs
│ ├── CliHostTemplateData.cs
│ ├── CliHostTemplateDataLoader.cs
│ └── IAdditionalDataProducer.cs
├── CommandArgs.cs
├── ConsoleExtensions.cs
├── Filters
│ ├── FilterNonMicrosoftAuthors.cs
│ ├── SkipTemplatePacksFilter.cs
│ └── TemplateJsonExistencePackFilter.cs
├── Microsoft.TemplateSearch.TemplateDiscovery.csproj
├── NuGet
│ ├── NuGetPackSourceCheckerFactory.cs
│ ├── NugetPackProvider.cs
│ ├── NugetPackageSearchResult.cs
│ └── NugetPackageSourceInfo.cs
├── PackChecking
│ ├── DownloadedPackInfo.cs
│ ├── FilteredPackageInfo.cs
│ ├── IDownloadedPackInfo.cs
│ ├── IPackCheckerFactory.cs
│ ├── IPackProvider.cs
│ ├── PackCheckResult.cs
│ ├── PackPrefilterer.cs
│ ├── PackSourceCheckResult.cs
│ ├── PackSourceChecker.cs
│ ├── PreFilterResult.cs
│ └── PreFilterResultList.cs
├── Program.cs
├── Results
│ ├── LegacyBlobTemplateInfo.cs
│ ├── LegacyMetadataWriter.cs
│ ├── TemplateIdentityEqualityComparer.cs
│ └── UnifiedPackCheckResultReportWriter.cs
├── TemplateDiscoveryCommand.cs
├── TemplateEngineHostHelper.cs
├── Test
│ ├── CacheFileTests.cs
│ └── TestLogger.cs
└── TestProvider
│ ├── TestPackCheckerFactory.cs
│ └── TestPackProvider.cs
├── README.md
└── Shared
└── Microsoft.TemplateEngine.CommandUtils
├── ArgumentEscaper.cs
├── BasicCommand.cs
├── Command.cs
├── CommandResult.cs
├── CommandResultAssertions.cs
├── CommandResultExtensions.cs
├── DotnetCommand.cs
├── DotnetNewCommand.cs
├── NativeMethods.cs
├── ProcessReaper.cs
├── SdkCommandSpec.cs
├── StreamForwarder.cs
└── TestCommand.cs
/.config/tsaoptions.json:
--------------------------------------------------------------------------------
1 | {
2 | "instanceUrl": "https://devdiv.visualstudio.com/",
3 | "template": "TFSDEVDIV",
4 | "projectName": "DEVDIV",
5 | "areaPath": "DevDiv\\NET Tools\\SDK",
6 | "iterationPath": "DevDiv",
7 | "notificationAliases": [ "dotnetdevexcli@microsoft.com" ],
8 | "repositoryName": "templating",
9 | "codebaseName": "templating"
10 | }
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: "nuget"
4 | directory: "/"
5 | open-pull-requests-limit: 10
6 | schedule:
7 | interval: "weekly"
8 | target-branch: "main"
9 | labels:
10 | - "dependencies"
11 | - "dependabot: main"
12 | ignore:
13 | - dependency-name: "Microsoft.*"
14 | - dependency-name: "NuGet.*"
15 | - dependency-name: "System.*"
--------------------------------------------------------------------------------
/.github/pull_request_template.md:
--------------------------------------------------------------------------------
1 | ### Problem
2 |
3 |
4 | ### Solution
5 |
6 |
7 | ### Checks:
8 | - [ ] Added unit tests
--------------------------------------------------------------------------------
/.github/workflows/backport.yml:
--------------------------------------------------------------------------------
1 | name: Backport PR to branch
2 | on:
3 | issue_comment:
4 | types: [created]
5 |
6 | permissions:
7 | contents: write
8 | issues: write
9 | pull-requests: write
10 | actions: write
11 |
12 | jobs:
13 | backport:
14 | uses: dotnet/arcade/.github/workflows/backport-base.yml@main
15 | with:
16 | pr_description_template: |
17 | Backport of #%source_pr_number% to %target_branch%
18 |
19 | /cc %cc_users%
--------------------------------------------------------------------------------
/.github/workflows/inter-branch-merge-flow.yml:
--------------------------------------------------------------------------------
1 | name: Inter-branch merge workflow
2 | on:
3 | push:
4 | branches:
5 | - release/**
6 |
7 | permissions:
8 | contents: write
9 | pull-requests: write
10 |
11 | jobs:
12 | Merge:
13 | uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main
14 |
--------------------------------------------------------------------------------
/CODE-OF-CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Code of Conduct
2 |
3 | This project has adopted the code of conduct defined by the Contributor Covenant
4 | to clarify expected behavior in our community.
5 |
6 | For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
7 |
--------------------------------------------------------------------------------
/CODEOWNERS:
--------------------------------------------------------------------------------
1 | * @dotnet/templating-engine-maintainers
2 | /docs/ @dotnet/templating-engine-maintainers
3 | /eng/ @dotnet/templating-engine-maintainers
4 | global.json @dotnet/templating-engine-maintainers
5 |
--------------------------------------------------------------------------------
/Directory.Build.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/build.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\common\Build.ps1""" -restore -build -pack -test %*"
3 | exit /b %ErrorLevel%
4 |
--------------------------------------------------------------------------------
/docs/TestExplorerEnvironments.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/docs/TestExplorerEnvironments.png
--------------------------------------------------------------------------------
/docs/design/proposed/sample-interactive-mode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/docs/design/proposed/sample-interactive-mode.png
--------------------------------------------------------------------------------
/dotnet-template-samples/content/01-basic-template/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/01-basic-template/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Date created: 01/01/1999");
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/01-basic-template/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - **How to create a basic template**
4 |
5 | See [`template.json`](./MyProject.Con/.template.config/template.json)
6 |
7 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/02-add-parameters/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/02-add-parameters/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Copyright: Contoso
11 | Title: Hello World
12 | ");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/02-add-parameters/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - **How to create a template with parameters** - The parameters are `copyrightName` and `title`
4 |
5 | See [`template.json`](./MyProject.Con/.template.config/template.json)
6 |
7 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/03-optional-page/MyProject.StarterWeb/Views/Home/About.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewData["Title"] = "About";
3 | }
4 |
@ViewData["Title"].
5 | @ViewData["Message"]
6 |
7 | Use this area to provide additional information.
8 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/03-optional-page/MyProject.StarterWeb/Views/Home/Index.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewData["Title"] = "Home Page";
3 | }
4 |
5 | Hello World!
6 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/03-optional-page/MyProject.StarterWeb/Views/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @using MyProject.StarterWeb
2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
3 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/03-optional-page/MyProject.StarterWeb/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "_Layout";
3 | }
4 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/03-optional-page/MyProject.StarterWeb/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "IncludeScopes": false,
4 | "LogLevel": {
5 | "Default": "Debug",
6 | "System": "Information",
7 | "Microsoft": "Information"
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/03-optional-page/MyProject.StarterWeb/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "IncludeScopes": false,
4 | "LogLevel": {
5 | "Default": "Warning"
6 | }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/03-optional-page/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - **How to have optional content** - The contact page is optional
4 |
5 | See [`template.json`](./MyProject.StarterWeb/.template.config/template.json)
6 |
7 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/04-parameter-from-list/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/04-parameter-from-list/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Copyright: (copyright)
11 | Title: My App Title
12 | Background color: skyblue
13 | ");
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/04-parameter-from-list/MyProject.Con/contact.txt:
--------------------------------------------------------------------------------
1 | Sample file
--------------------------------------------------------------------------------
/dotnet-template-samples/content/04-parameter-from-list/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - **Creating a parameter based on a list of options** - The parameter is used to set the background color of the website
4 |
5 | See [`template.json`](./MyProject.Con/.template.config/template.json)
6 |
7 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/05-multi-project/MyProject.Console.Test/MyTest.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xunit;
3 | using MyProject.Console;
4 |
5 | namespace MyProject.Console.Test
6 | {
7 | public class MyProject_Console_UnitTest
8 | {
9 | [Fact]
10 | public void MyProject_Console_Test()
11 | {
12 | var name = Sample.GetName();
13 | Assert.Equal("Console and unit test demo",name);
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/05-multi-project/MyProject.Console/MyProject.Console.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/05-multi-project/MyProject.Console/Sample.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Console
4 | {
5 | public static class Sample
6 | {
7 | public static string GetName()
8 | {
9 | return "Console and unit test demo";
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/05-multi-project/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - **Multi-project template** - Console with an optional unit test project
4 |
5 | See [`template.json`](./.template.config/template.json)
6 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/06-console-csharp-fsharp/MyProject.Con.CSharp/.template.config/template.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Sayed I. Hashimi",
3 | "classifications": [ "Console" ],
4 | "name": "Contoso Sample 06",
5 | "identity": "MyProject.06.Sample.CSharp",
6 | "groupIdentity":"MyProject.06.Sample",
7 | "shortName": "sample06",
8 | "tags": {
9 | "language": "C#",
10 | "type":"project"
11 | },
12 | "sourceName": "MyProject.Console",
13 | "preferNameDirectory": true
14 | }
--------------------------------------------------------------------------------
/dotnet-template-samples/content/06-console-csharp-fsharp/MyProject.Con.CSharp/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/06-console-csharp-fsharp/MyProject.Con.CSharp/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Hello World!");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/06-console-csharp-fsharp/MyProject.Con.FSharp/Program.fs:
--------------------------------------------------------------------------------
1 | // Learn more about F# at http://fsharp.org
2 |
3 | open System
4 |
5 | []
6 | let main argv =
7 | printfn "Hello World from F#!"
8 | 0 // return an integer exit code
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/07-param-with-custom-short-name/MyProject.Con/.template.config/dotnetcli.host.json:
--------------------------------------------------------------------------------
1 | {
2 | "symbolInfo": {
3 | "copyrightName": {
4 | "longName": "copyright-name",
5 | "shortName": "copy"
6 | }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/07-param-with-custom-short-name/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/07-param-with-custom-short-name/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Copyright: (copyright)
11 | Title: My App Title
12 | ");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/07-param-with-custom-short-name/MyProject.Con/contact.txt:
--------------------------------------------------------------------------------
1 | Sample file
--------------------------------------------------------------------------------
/dotnet-template-samples/content/08-restore-on-create/MyProject.Con.CSharp/.template.config/dotnetcli.host.json:
--------------------------------------------------------------------------------
1 | {
2 | "symbolInfo": {
3 | "skipRestore": {
4 | "longName": "no-restore",
5 | "shortName": ""
6 | }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/08-restore-on-create/MyProject.Con.CSharp/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/08-restore-on-create/MyProject.Con.CSharp/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Hello World!");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/09-replace-onlyif-after/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/09-replace-onlyif-after/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"see replacement in site.css");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/09-replace-onlyif-after/MyProject.Con/contact.txt:
--------------------------------------------------------------------------------
1 | Sample file
--------------------------------------------------------------------------------
/dotnet-template-samples/content/10-symbol-from-date/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/10-symbol-from-date/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Date created: 01/01/1999");
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/10-symbol-from-date/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - Creating a parameter from the current date/time.
4 |
5 | See
6 |
7 | - [`template.json`](./MyProject.Con/.template.config/template.json)
8 | - [`Program.cs`](./MyProject.Con/Program.cs)
9 |
10 | Related
11 | - [Available parameter generators](https://github.com/dotnet/templating/wiki/Available-Parameter-Generators)
12 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/11-change-string-casing/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/11-change-string-casing/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Name: John Smith (a)
11 | Name upper: John Smith (U)
12 | Name lower: John Smith (l)");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/11-change-string-casing/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - Uppercasing a parameter value.
4 | - Lowercasing a parameter value.
5 |
6 | See
7 |
8 | - [`template.json`](./MyProject.Con/.template.config/template.json)
9 | - [`Program.cs`](./MyProject.Con/Program.cs)
10 |
11 | Related
12 | - [Available parameter generators](https://github.com/dotnet/templating/wiki/Available-Parameter-Generators)
13 |
14 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/12-random-number/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/12-random-number/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Random (0-10000): 4321");
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/12-random-number/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - Creating a random int in a given range.
4 |
5 | See
6 |
7 | - [`template.json`](./MyProject.Con/.template.config/template.json)
8 | - [`Program.cs`](./MyProject.Con/Program.cs)
9 |
10 | Related
11 | - [Available parameter generators](https://github.com/dotnet/templating/wiki/Available-Parameter-Generators)
12 |
13 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/13-constant-value/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/13-constant-value/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | From const: 1234");
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/13-constant-value/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - Creating a value based on a constant.
4 |
5 | See
6 |
7 | - [`template.json`](./MyProject.Con/.template.config/template.json)
8 | - [`Program.cs`](./MyProject.Con/Program.cs)
9 |
10 | Related
11 | - [Available parameter generators](https://github.com/dotnet/templating/wiki/Available-Parameter-Generators)
12 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/14-guid/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 | 4BC5DF1F-B155-4A69-9719-0AB349B1ACB2
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/15-computed-symbol/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/16-string-value-transform/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/16-string-value-transform/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Name: John Smith (original)
11 | Name PascalCase: John Smith (PascalCase)
12 | Name camelCase: John Smith (camelCase)
13 | Name kebab-case: John Smith (kebab-case)");
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/17-rename-file/MyProject.Con/FileToRename.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace MyProject.Con;
5 |
6 | ///
7 | /// The file FileToRename.cs will be renamed to the value of the renameFileParameter when the new template is used.
8 | ///
9 | public class FileToRename
10 | {
11 | }
12 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/17-rename-file/MyProject.Con/MyProject.Con.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/17-rename-file/MyProject.Con/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Check the name of the file");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/dotnet-template-samples/content/17-rename-file/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - **How to rename a file and/or folder in your project template**
4 |
5 | See [`template.json`](./MyProject.Con/.template.config/template.json)
6 | See [`FileToRename.cs`](./MyProject.Con/FileToRename.cs)
7 |
8 |
--------------------------------------------------------------------------------
/eng/Publishing.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/eng/common/BuildConfiguration/build-configuration.json:
--------------------------------------------------------------------------------
1 | {
2 | "RetryCountLimit": 1,
3 | "RetryByAnyError": false
4 | }
5 |
--------------------------------------------------------------------------------
/eng/common/CIBuild.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0Build.ps1""" -restore -build -test -sign -pack -publish -ci %*"
3 |
--------------------------------------------------------------------------------
/eng/common/build.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0build.ps1""" %*"
3 | exit /b %ErrorLevel%
4 |
--------------------------------------------------------------------------------
/eng/common/core-templates/variables/pool-providers.yml:
--------------------------------------------------------------------------------
1 | parameters:
2 | is1ESPipeline: false
3 |
4 | variables:
5 | - ${{ if eq(parameters.is1ESPipeline, 'true') }}:
6 | - template: /eng/common/templates-official/variables/pool-providers.yml
7 | - ${{ else }}:
8 | - template: /eng/common/templates/variables/pool-providers.yml
--------------------------------------------------------------------------------
/eng/common/dotnet-install.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 | powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0dotnet-install.ps1""" %*"
--------------------------------------------------------------------------------
/eng/common/init-tools-native.cmd:
--------------------------------------------------------------------------------
1 | @echo off
2 | powershell -NoProfile -NoLogo -ExecutionPolicy ByPass -command "& """%~dp0init-tools-native.ps1""" %*"
3 | exit /b %ErrorLevel%
--------------------------------------------------------------------------------
/eng/common/internal/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | false
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/eng/common/internal/NuGet.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/eng/common/sdl/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/eng/common/templates-official/job/onelocbuild.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/job/onelocbuild.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/job/publish-build-assets.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/job/publish-build-assets.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/job/source-build.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/job/source-build.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/job/source-index-stage1.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/job/source-index-stage1.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/jobs/codeql-build.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/jobs/codeql-build.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/jobs/jobs.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/jobs/jobs.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/jobs/source-build.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/jobs/source-build.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates-official/post-build/common-variables.yml:
--------------------------------------------------------------------------------
1 | variables:
2 | - template: /eng/common/core-templates/post-build/common-variables.yml
3 | parameters:
4 | # Specifies whether to use 1ES
5 | is1ESPipeline: true
6 |
7 | ${{ each parameter in parameters }}:
8 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates-official/post-build/post-build.yml:
--------------------------------------------------------------------------------
1 | stages:
2 | - template: /eng/common/core-templates/post-build/post-build.yml
3 | parameters:
4 | # Specifies whether to use 1ES
5 | is1ESPipeline: true
6 |
7 | ${{ each parameter in parameters }}:
8 | ${{ parameter.key }}: ${{ parameter.value }}
9 |
--------------------------------------------------------------------------------
/eng/common/templates-official/post-build/setup-maestro-vars.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
3 | parameters:
4 | # Specifies whether to use 1ES
5 | is1ESPipeline: true
6 |
7 | ${{ each parameter in parameters }}:
8 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/component-governance.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/component-governance.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/enable-internal-runtimes.yml:
--------------------------------------------------------------------------------
1 | # Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64'
2 | # variable with the base64-encoded SAS token, by default
3 | steps:
4 | - template: /eng/common/core-templates/steps/enable-internal-runtimes.yml
5 | parameters:
6 | is1ESPipeline: true
7 |
8 | ${{ each parameter in parameters }}:
9 | ${{ parameter.key }}: ${{ parameter.value }}
10 |
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/enable-internal-sources.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/enable-internal-sources.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/generate-sbom.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/generate-sbom.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/get-delegation-sas.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/get-delegation-sas.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/get-federated-access-token.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/get-federated-access-token.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/publish-logs.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/publish-logs.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/retain-build.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/retain-build.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/send-to-helix.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/send-to-helix.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/source-build.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/source-build.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/steps/source-index-stage1-publish.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/source-index-stage1-publish.yml
3 | parameters:
4 | is1ESPipeline: true
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates-official/variables/sdl-variables.yml:
--------------------------------------------------------------------------------
1 | variables:
2 | # The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in
3 | # sync with the packages.config file.
4 | - name: DefaultGuardianVersion
5 | value: 0.109.0
6 | - name: GuardianPackagesConfigFile
7 | value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config
--------------------------------------------------------------------------------
/eng/common/templates/job/onelocbuild.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/job/onelocbuild.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/job/publish-build-assets.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/job/publish-build-assets.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/job/source-build.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/job/source-build.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/job/source-index-stage1.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/job/source-index-stage1.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/jobs/codeql-build.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/jobs/codeql-build.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/jobs/jobs.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/jobs/jobs.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/jobs/source-build.yml:
--------------------------------------------------------------------------------
1 | jobs:
2 | - template: /eng/common/core-templates/jobs/source-build.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates/post-build/common-variables.yml:
--------------------------------------------------------------------------------
1 | variables:
2 | - template: /eng/common/core-templates/post-build/common-variables.yml
3 | parameters:
4 | # Specifies whether to use 1ES
5 | is1ESPipeline: false
6 |
7 | ${{ each parameter in parameters }}:
8 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates/post-build/post-build.yml:
--------------------------------------------------------------------------------
1 | stages:
2 | - template: /eng/common/core-templates/post-build/post-build.yml
3 | parameters:
4 | # Specifies whether to use 1ES
5 | is1ESPipeline: false
6 |
7 | ${{ each parameter in parameters }}:
8 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates/post-build/setup-maestro-vars.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml
3 | parameters:
4 | # Specifies whether to use 1ES
5 | is1ESPipeline: false
6 |
7 | ${{ each parameter in parameters }}:
8 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates/steps/component-governance.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/component-governance.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/steps/enable-internal-runtimes.yml:
--------------------------------------------------------------------------------
1 | # Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64'
2 | # variable with the base64-encoded SAS token, by default
3 |
4 | steps:
5 | - template: /eng/common/core-templates/steps/enable-internal-runtimes.yml
6 | parameters:
7 | is1ESPipeline: false
8 |
9 | ${{ each parameter in parameters }}:
10 | ${{ parameter.key }}: ${{ parameter.value }}
11 |
--------------------------------------------------------------------------------
/eng/common/templates/steps/enable-internal-sources.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/enable-internal-sources.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates/steps/generate-sbom.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/generate-sbom.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/steps/get-delegation-sas.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/get-delegation-sas.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/steps/get-federated-access-token.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/get-federated-access-token.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
--------------------------------------------------------------------------------
/eng/common/templates/steps/publish-logs.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/publish-logs.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/steps/retain-build.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/retain-build.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/steps/send-to-helix.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/send-to-helix.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/steps/source-build.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/source-build.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/eng/common/templates/steps/source-index-stage1-publish.yml:
--------------------------------------------------------------------------------
1 | steps:
2 | - template: /eng/common/core-templates/steps/source-index-stage1-publish.yml
3 | parameters:
4 | is1ESPipeline: false
5 |
6 | ${{ each parameter in parameters }}:
7 | ${{ parameter.key }}: ${{ parameter.value }}
8 |
--------------------------------------------------------------------------------
/global.json:
--------------------------------------------------------------------------------
1 | {
2 | "tools": {
3 | "dotnet": "10.0.100-preview.6.25302.104"
4 | },
5 | "msbuild-sdks": {
6 | "Microsoft.DotNet.Arcade.Sdk": "10.0.0-beta.25304.106"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Abstractions/IAllowDefaultIfOptionWithoutValue.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Abstractions
5 | {
6 | [Obsolete("Use DefaultIfOptionWithoutValue property of ITemplateParameter interface instead.")]
7 | public interface IAllowDefaultIfOptionWithoutValue
8 | {
9 | string? DefaultIfOptionWithoutValue { get; set; }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Abstractions/ISearchPackFilter.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Abstractions
5 | {
6 | [Obsolete("The interface is moved to Microsoft.TemplateSearch.Common.")]
7 | public interface ISearchPackFilter
8 | {
9 | bool ShouldPackBeFiltered(string candidatePackName, string candidatePackVersion);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Abstractions/IShortNameList.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Abstractions
5 | {
6 | [Obsolete("The ShortNameList is added to ITemplateInfo instead")]
7 | public interface IShortNameList
8 | {
9 | [Obsolete("Use ITemplateInfo.ShortNameList instead")]
10 | IReadOnlyList ShortNameList { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Abstractions/ISimpleConfigModifiers.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Abstractions
5 | {
6 | [Obsolete("The interface is deprecated.")]
7 | public interface ISimpleConfigModifiers
8 | {
9 | string BaselineName { get; }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core.Contracts/IKeysChangedEventArgs.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Core.Contracts
5 | {
6 | public interface IKeysChangedEventArgs;
7 | }
8 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core.Contracts/IOperationProvider.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | using System.Text;
5 |
6 | namespace Microsoft.TemplateEngine.Core.Contracts
7 | {
8 | public interface IOperationProvider
9 | {
10 | string? Id { get; }
11 |
12 | IOperation GetOperation(Encoding encoding, IProcessorState processorState);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core.Contracts/IPathMatcher.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Core.Contracts
5 | {
6 | public interface IPathMatcher
7 | {
8 | string Pattern { get; }
9 |
10 | bool IsMatch(string path);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core.Contracts/IReplacementTokens.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Core.Contracts
5 | {
6 | public interface IReplacementTokens
7 | {
8 | string VariableName { get; }
9 |
10 | ITokenConfig OriginalValue { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core.Contracts/IValueReadEventArgs.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Core.Contracts
5 | {
6 | public interface IValueReadEventArgs
7 | {
8 | string Key { get; }
9 |
10 | object Value { get; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core.Contracts/KeysChangedEventHander.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Core.Contracts
5 | {
6 | public delegate void KeysChangedEventHander(object sender, IKeysChangedEventArgs args);
7 | }
8 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core.Contracts/ValueReadEventHander.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Core.Contracts
5 | {
6 | public delegate void ValueReadEventHander(object sender, IValueReadEventArgs args);
7 | }
8 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core/Expressions/Cpp/QuotedRegionKind.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Core.Expressions.Cpp
5 | {
6 | public enum QuotedRegionKind
7 | {
8 | None,
9 | DoubleQuoteRegion,
10 | SingleQuoteRegion
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core/Expressions/Cpp/TokenRef.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Core.Expressions.Cpp
5 | {
6 | internal class TokenRef
7 | {
8 | public TokenFamily Family { get; set; }
9 |
10 | public string? Literal { get; set; }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core/Expressions/TypeConverterDelegate.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.Core.Expressions
5 | {
6 | public delegate bool TypeConverterDelegate(object? source, out T result);
7 | }
8 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateEngine.Core/Operations/ConditionEvaluator.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | using Microsoft.TemplateEngine.Core.Contracts;
5 |
6 | namespace Microsoft.TemplateEngine.Core.Operations
7 | {
8 | public delegate bool ConditionEvaluator(IProcessorState processor, ref int bufferLength, ref int currentBufferPosition, out bool faulted);
9 | }
10 |
--------------------------------------------------------------------------------
/src/Microsoft.TemplateSearch.Common/PublicAPI.Unshipped.txt:
--------------------------------------------------------------------------------
1 | Microsoft.TemplateSearch.Common.Abstractions.ITemplatePackageInfo.Reserved.get -> bool
2 | Microsoft.TemplateSearch.Common.TemplatePackageSearchData.Reserved.get -> bool
--------------------------------------------------------------------------------
/template_feed/Microsoft.TemplateEngine.Authoring.Templates/content/TemplatePackage/.template.config/dotnetcli.host.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json.schemastore.org/dotnetcli.host",
3 | "symbolInfo": {
4 | "EnableMSBuildTasks": {
5 | "longName": "enable-msbuild-tasks",
6 | "shortName": ""
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/template_feed/Microsoft.TemplateEngine.Authoring.Templates/content/TemplatePackage/.template.config/localize/templatestrings.cs.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Microsoft",
3 | "name": "Balíček šablony",
4 | "description": "Projekt pro balíček šablony obsahující šablony .NET.",
5 | "postActions/instructions/description": "Vyžadují se ruční akce",
6 | "postActions/instructions/manualInstructions/default/text": "Otevřete soubor *.csproj v editoru a dokončete konfiguraci metadat balíčku. Zkopírujte šablony do složky content. Vyplňte README.md."
7 | }
--------------------------------------------------------------------------------
/template_feed/Microsoft.TemplateEngine.Authoring.Templates/content/TemplatePackage/.template.config/localize/templatestrings.ja.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Microsoft",
3 | "name": "テンプレート パッケージ",
4 | "description": ".NET テンプレートを含むテンプレート パッケージのプロジェクト。",
5 | "postActions/instructions/description": "手動操作が必要です",
6 | "postActions/instructions/manualInstructions/default/text": "エディターで *.csproj を開き、パッケージ メタデータの構成を完了します。テンプレートを 'content' フォルダーにコピーします。README.md を入力します。"
7 | }
--------------------------------------------------------------------------------
/template_feed/Microsoft.TemplateEngine.Authoring.Templates/content/TemplatePackage/.template.config/localize/templatestrings.ko.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Microsoft",
3 | "name": "템플릿 패키지",
4 | "description": ".NET 템플릿을 포함하는 템플릿 패키지에 대한 프로젝트입니다.",
5 | "postActions/instructions/description": "수동 작업 필요",
6 | "postActions/instructions/manualInstructions/default/text": "편집기에서 *.csproj를 열고 패키지 메타데이터 구성을 완료합니다. 템플릿을 'content' 폴더에 복사합니다. README.md를 입력합니다."
7 | }
--------------------------------------------------------------------------------
/template_feed/Microsoft.TemplateEngine.Authoring.Templates/content/TemplatePackage/.template.config/localize/templatestrings.zh-Hans.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Microsoft",
3 | "name": "模板包",
4 | "description": "包含 .NET 模板的模板包的项目。",
5 | "postActions/instructions/description": "需要手动操作",
6 | "postActions/instructions/manualInstructions/default/text": "在编辑器中打开 *.csproj 并完成包元数据配置。将模板复制到 \"content\" 文件夹。填写 README.md。"
7 | }
--------------------------------------------------------------------------------
/template_feed/Microsoft.TemplateEngine.Authoring.Templates/content/TemplatePackage/.template.config/localize/templatestrings.zh-Hant.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Microsoft",
3 | "name": "範本套件",
4 | "description": "包含 .NET 範本之範本套件的專案。",
5 | "postActions/instructions/description": "需要手動動作",
6 | "postActions/instructions/manualInstructions/default/text": "在編輯器中開啟 *.csproj,並完成套件中繼資料設定。將範本複製到 'content' 資料夾。填寫 README.md。"
7 | }
--------------------------------------------------------------------------------
/template_feed/Microsoft.TemplateEngine.Authoring.Templates/content/TemplatePackage/README.md:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/template_feed/Microsoft.TemplateEngine.Authoring.Templates/content/TemplatePackage/content/SampleTemplate/placeholder.txt:
--------------------------------------------------------------------------------
1 | Place your templates to this folder.
2 |
--------------------------------------------------------------------------------
/template_feed/README.md:
--------------------------------------------------------------------------------
1 | The source code for common item and common project templates is moved to [dotnet/sdk](https://github.com/dotnet/sdk/tree/main/template_feed).
--------------------------------------------------------------------------------
/test/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | true
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests/Resources/BasicTemplatePackage/content/TemplateWithSourceName/foo.cs:
--------------------------------------------------------------------------------
1 | namespace TemplateWithSourceName
2 | {
3 | internal class Foo
4 | {
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests/Resources/InvalidTemplatePackage/content/TemplateWithSourceName/foo.cs:
--------------------------------------------------------------------------------
1 | namespace TemplateWithSourceName
2 | {
3 | internal class Foo
4 | {
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests/Resources/InvalidTemplatePackage_MissingName/content/TemplateWithSourceName/.template.config/template.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Test Asset",
3 | "classifications": [ "Test Asset" ],
4 | "description": "Test description",
5 | "generatorVersions": "[1.0.0.0-*)",
6 | "groupIdentity": "TestAssets.TemplateWithSourceName",
7 | "precedence": "100",
8 | "identity": "TestAssets.TemplateWithSourceName",
9 | "sourceName": "bar"
10 | }
11 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests/Resources/InvalidTemplatePackage_MissingName/content/TemplateWithSourceName/foo.cs:
--------------------------------------------------------------------------------
1 | namespace TemplateWithSourceName
2 | {
3 | internal class Foo
4 | {
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests/Resources/InvalidTemplatePackage_MissingOptionalData/content/TemplateWithSourceName/.template.config/template.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "TemplateWithSourceName",
3 | "description": "Test description",
4 | "generatorVersions": "[1.0.0.0-*)",
5 | "groupIdentity": "TestAssets.TemplateWithSourceName",
6 | "precedence": "100",
7 | "identity": "TestAssets.TemplateWithSourceName",
8 | "shortName": "TestAssets.TemplateWithSourceName",
9 | "sourceName": "bar"
10 | }
11 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests/Resources/InvalidTemplatePackage_MissingOptionalData/content/TemplateWithSourceName/foo.cs:
--------------------------------------------------------------------------------
1 | namespace TemplateWithSourceName
2 | {
3 | internal class Foo
4 | {
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests/Resources/TemplatePackageEnDe/content/TemplateWithSourceName/foo.cs:
--------------------------------------------------------------------------------
1 | namespace TemplateWithSourceName
2 | {
3 | internal class Foo
4 | {
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests/Resources/TemplatePackagePartiallyLocalized/content/localized/foo.cs:
--------------------------------------------------------------------------------
1 | namespace TemplateWithSourceName
2 | {
3 | internal class Foo
4 | {
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Tasks.IntegrationTests/Resources/TemplatePackagePartiallyLocalized/content/non-localized/foo.cs:
--------------------------------------------------------------------------------
1 | namespace TemplateWithSourceName
2 | {
3 | internal class Foo
4 | {
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/TestAssets.SampleTestTemplate.SampleDogfoodTest.x64.verified/TestAssets.SampleTestTemplate/Test.cs:
--------------------------------------------------------------------------------
1 |
2 | // value of paramA: false
3 | // value of paramB: true
4 |
5 |
6 | // *******
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/TestAssets.SampleTestTemplate.SampleDogfoodTest.x64.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/TestAssets.SampleTestTemplate.SampleDogfoodTest.x64.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "%TEMPLATE%" was created successfully.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/VerificationEngine_DotFile_EditorConfigTests.editorconfig.--empty.verified/editorconfig/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/VerificationEngine_DotFile_EditorConfigTests.editorconfig.--empty.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/VerificationEngine_DotFile_EditorConfigTests.editorconfig.--empty.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "EditorConfig file" was created successfully.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/VerificationEngine_InstallsToCustomLocation_WithSettingsDirectorySpecified.editorconfig.--empty.verified/editorconfig/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample01.basic-template.verified/sample01/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample01
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Date created: 01/01/1999");
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample01.basic-template.verified/sample01/sample01.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample02.add-parameters.copyrightName=Test Copyright.title=Test Title.verified/sample02/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample02
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Copyright: Test Copyright
11 | Title: Test Title
12 | ");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample02.add-parameters.copyrightName=Test Copyright.title=Test Title.verified/sample02/sample02.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.enableContactPage=true.verified/sample03/Views/Home/About.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewData["Title"] = "About";
3 | }
4 | @ViewData["Title"].
5 | @ViewData["Message"]
6 |
7 | Use this area to provide additional information.
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.enableContactPage=true.verified/sample03/Views/Home/Index.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewData["Title"] = "Home Page";
3 | }
4 |
5 | Hello World!
6 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.enableContactPage=true.verified/sample03/Views/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @using sample03
2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.enableContactPage=true.verified/sample03/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "_Layout";
3 | }
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.enableContactPage=true.verified/sample03/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "IncludeScopes": false,
4 | "LogLevel": {
5 | "Default": "Debug",
6 | "System": "Information",
7 | "Microsoft": "Information"
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.enableContactPage=true.verified/sample03/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "IncludeScopes": false,
4 | "LogLevel": {
5 | "Default": "Warning"
6 | }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.verified/sample03/Views/Home/About.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewData["Title"] = "About";
3 | }
4 | @ViewData["Title"].
5 | @ViewData["Message"]
6 |
7 | Use this area to provide additional information.
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.verified/sample03/Views/Home/Index.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | ViewData["Title"] = "Home Page";
3 | }
4 |
5 | Hello World!
6 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.verified/sample03/Views/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @using sample03
2 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.verified/sample03/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "_Layout";
3 | }
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.verified/sample03/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "IncludeScopes": false,
4 | "LogLevel": {
5 | "Default": "Debug",
6 | "System": "Information",
7 | "Microsoft": "Information"
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample03.optional-page.verified/sample03/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "IncludeScopes": false,
4 | "LogLevel": {
5 | "Default": "Warning"
6 | }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample04.parameter-from-list.BackgroundColor=dimgray.verified/sample04/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample04
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Copyright: (c) Contoso
11 | Title: Contoso Sample
12 | Background color: dimgray
13 | ");
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample04.parameter-from-list.BackgroundColor=dimgray.verified/sample04/sample04.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample05.multi-project.includetest=false.verified/sample05/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - **Multi-project template** - Console with an optional unit test project
4 |
5 | See [`template.json`](./.template.config/template.json)
6 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample05.multi-project.includetest=false.verified/sample05/sample05/Sample.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample05
4 | {
5 | public static class Sample
6 | {
7 | public static string GetName()
8 | {
9 | return "Console and unit test demo";
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample05.multi-project.includetest=false.verified/sample05/sample05/sample05.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample05.multi-project.includetest=true.verified/sample05/README.md:
--------------------------------------------------------------------------------
1 | The sample in this folder demonstrates:
2 |
3 | - **Multi-project template** - Console with an optional unit test project
4 |
5 | See [`template.json`](./.template.config/template.json)
6 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample05.multi-project.includetest=true.verified/sample05/sample05.Test/MyTest.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xunit;
3 | using sample05;
4 |
5 | namespace sample05.Test
6 | {
7 | public class sample05_UnitTest
8 | {
9 | [Fact]
10 | public void sample05_Test()
11 | {
12 | var name = Sample.GetName();
13 | Assert.Equal("Console and unit test demo",name);
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample05.multi-project.includetest=true.verified/sample05/sample05/Sample.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample05
4 | {
5 | public static class Sample
6 | {
7 | public static string GetName()
8 | {
9 | return "Console and unit test demo";
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample05.multi-project.includetest=true.verified/sample05/sample05/sample05.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample07.param-with-custom-short-name.verified/sample07/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample07
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Copyright: John Smith
11 | Title: Your title
12 | ");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample07.param-with-custom-short-name.verified/sample07/contact.txt:
--------------------------------------------------------------------------------
1 | Sample file
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample07.param-with-custom-short-name.verified/sample07/sample07.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample08.restore-on-create.verified/sample08/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample08
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Hello World!");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample08.restore-on-create.verified/sample08/sample08.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample09.replace-onlyif-after.backgroundColor=grey.verified/sample09/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample09
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"see replacement in site.css");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample09.replace-onlyif-after.backgroundColor=grey.verified/sample09/contact.txt:
--------------------------------------------------------------------------------
1 | Sample file
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample09.replace-onlyif-after.backgroundColor=grey.verified/sample09/sample09.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample10.symbol-from-date.verified/sample10/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample10
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Date created: **/**/****");
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample10.symbol-from-date.verified/sample10/sample10.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample11.change-string-casing.verified/sample11/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample11
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Name: John Doe
11 | Name upper: JOHN DOE
12 | Name lower: john doe");
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample11.change-string-casing.verified/sample11/sample11.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample13.constant-value.verified/sample13/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample13
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | From const: 5001");
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample13.constant-value.verified/sample13/sample13.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample15.computed-symbol.verified/sample15/sample15.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample16.string-value-transform.verified/sample16/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace sample16
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine(@"
10 | Name: John Doe
11 | Name PascalCase: JohnDoe
12 | Name camelCase: johnDoe
13 | Name kebab-case: john-doe");
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.IntegrationTests/Snapshots/sample16.string-value-transform.verified/sample16/sample16.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.UnitTests/Snapshots/ExecuteSucceedsOnExpectedInstantiationFailure.made-up-template.--a#-b#c#--d.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 | stderr content
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.UnitTests/Snapshots/ExecuteSucceedsOnExpectedInstantiationFailure.made-up-template.--a#-b#c#--d.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | stdout content
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.UnitTests/Snapshots/ExecuteSucceedsOnExpectedInstantiationFailure.made-up-template.--x#y#-z.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 | another stderr content
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.UnitTests/Snapshots/ExecuteSucceedsOnExpectedInstantiationFailure.made-up-template.--x#y#-z.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | different stdout content
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.UnitTests/Snapshots/ExecuteSucceedsOnExpectedInstantiationSuccess.made-up-template.--x#y#-z.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 | another stderr content
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.TemplateVerifier.UnitTests/Snapshots/ExecuteSucceedsOnExpectedInstantiationSuccess.made-up-template.--x#y#-z.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | different stdout content
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/template.json.CLI.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/template.json.CLI.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "template.json configuration file" was created successfully.
2 |
3 | Processing post-creation actions...
4 | Description: Manual actions required
5 | Manual instructions: Open template.json in the editor and complete the configuration.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.Basic.verified/templatepack/README.md:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.Basic.verified/templatepack/content/SampleTemplate/placeholder.txt:
--------------------------------------------------------------------------------
1 | Place your templates to this folder.
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.CLI.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.CLI.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "Template Package" was created successfully.
2 |
3 | Processing post-creation actions...
4 | Description: Manual actions required
5 | Manual instructions: Open *.csproj in the editor and complete the package metadata configuration. Copy the templates to 'content' folder. Fill in README.md.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.CLI.verified/templatepack/README.md:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.CLI.verified/templatepack/content/SampleTemplate/placeholder.txt:
--------------------------------------------------------------------------------
1 | Place your templates to this folder.
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.NoMSBuildTasks.verified/templatepack/README.md:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.NoMSBuildTasks.verified/templatepack/content/SampleTemplate/placeholder.txt:
--------------------------------------------------------------------------------
1 | Place your templates to this folder.
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.WithName.verified/templatepack/README.md:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Authoring.Templates.IntegrationTests/Snapshots/templatepack.WithName.verified/templatepack/content/SampleTemplate/placeholder.txt:
--------------------------------------------------------------------------------
1 | Place your templates to this folder.
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Edge.UnitTests/NuGet_testFeed.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/BasicTests.SourceNameForms_BasicTest.verified.txt:
--------------------------------------------------------------------------------
1 | Identity: MyApp.1
2 | Namespace: MyApp._1
3 | Class name: MyApp__1
4 | Namespace (lc): myapp._1
5 | Class name (lc): myapp__1
6 | Lowercase: myapp.1
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/End2EndTests.SourceNameFormsTest.verified.txt:
--------------------------------------------------------------------------------
1 | Identity: MyApp.1
2 | Namespace: MyApp._1
3 | Class name: MyApp__1
4 | Namespace (lc): myapp._1
5 | Class name (lc): myapp__1
6 | Lowercase: myapp.1
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/End2EndTests.ValueForms_DerivedSymbolFromGeneratedSymbolTest.verified.txt:
--------------------------------------------------------------------------------
1 | Real.Web.App
2 | REAL.WEB.APP
3 | REAL_WEB_APP
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/End2EndTests.ValueForms_DerivedSymbolTest.verified.txt:
--------------------------------------------------------------------------------
1 | Real.Web.App
2 | REAL.WEB.APP
3 | REAL_WEB_APP
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.DefaultIfOptionWithoutValue_NoValueDefaultForChoiceParamIsUsed.verified/TestAssets.DefaultIfOptionWithoutValue/ChoiceOtherFile.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.DefaultIfOptionWithoutValue_NoValueDefaultForStringParamIsUsed.verified/TestAssets.DefaultIfOptionWithoutValue/StringOtherFile.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.KitchenSink_ConfigurationKitchenSink.verified/TestAssets.ConfigurationKitchenSink/RenameBattery/B.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.KitchenSink_ConfigurationKitchenSink.verified/TestAssets.ConfigurationKitchenSink/RenameBattery/D.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.KitchenSink_ConfigurationKitchenSink.verified/TestAssets.ConfigurationKitchenSink/Test.cs:
--------------------------------------------------------------------------------
1 | using MyApp.Test;
2 |
3 | //Stuff
4 | namespace MyApp
5 | {
6 | public class DefaultTrueIncluded { }
7 |
8 | public class DefaultFalseIncluded { }
9 |
10 | #if DEBUG1
11 | public class InsideUnknownDirectiveNoEmit { }
12 | #endif
13 |
14 | //-:cnd
15 | #if DEBUG2
16 | public class InsideUnknownDirectiveEmit { }
17 | #endif
18 | //+:cnd
19 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.KitchenSink_ConfigurationKitchenSink.verified/TestAssets.ConfigurationKitchenSink/Test.css:
--------------------------------------------------------------------------------
1 | /*Stuff*/
2 | a {
3 | DefaultTrueIncluded: 0;
4 | DefaultFalseIncluded: 0;
5 | /*#if (DEBUG1) */
6 | InsideUnknownDirectiveNoEmit: 0;
7 | /*#endif*/
8 | /*-:cnd*/
9 | /*#if (DEBUG2) */
10 | InsideUnknownDirectiveEmit: 0;
11 | /*#endif*/
12 | /*+:cnd*/
13 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.KitchenSink_ConfigurationKitchenSink.verified/TestAssets.ConfigurationKitchenSink/Test.json:
--------------------------------------------------------------------------------
1 | //Stuff
2 | {
3 | "DefaultTrueIncluded": 0,
4 | "DefaultFalseIncluded": 0,
5 | //#if DEBUG1
6 | "InsideUnknownDirectiveNoEmit": 0,
7 | //#endif
8 | //-:cnd
9 | //#if DEBUG2
10 | "InsideUnknownDirectiveEmit": 0
11 | //#endif
12 | //+:cnd
13 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.PortsAndCoalesceRenames.verified/TestAssets.TemplateWithPortsAndCoalesce/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.RegexMatch_RegexMatchMacroNegative.verified/TestAssets.TemplateWithRegexMatchMacro/bar.2.cs:
--------------------------------------------------------------------------------
1 | False
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.RegexMatch_RegexMatchMacroNegative.verified/TestAssets.TemplateWithRegexMatchMacro/bar.cs:
--------------------------------------------------------------------------------
1 | False
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.RegexMatch_RegexMatchMacroPositive.verified/TestAssets.TemplateWithRegexMatchMacro/bar.2.cs:
--------------------------------------------------------------------------------
1 | True
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.RegexMatch_RegexMatchMacroPositive.verified/TestAssets.TemplateWithRegexMatchMacro/bar.cs:
--------------------------------------------------------------------------------
1 | True
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CaseSensitiveNameBasedRenames.verified/TestAssets.TemplateWithCaseSensitiveNameBasedRenames/Norenamepart/FileNorenamepart.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CaseSensitiveNameBasedRenames.verified/TestAssets.TemplateWithCaseSensitiveNameBasedRenames/Norenamepart/FileYesNewName.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CaseSensitiveNameBasedRenames.verified/TestAssets.TemplateWithCaseSensitiveNameBasedRenames/YesNewName/FileNorenamepart.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CaseSensitiveNameBasedRenames.verified/TestAssets.TemplateWithCaseSensitiveNameBasedRenames/YesNewName/FileYesNewName.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CustomSourceAndTargetPathRename.verified/TestAssets.TemplateWithSourceNameAndCustomSourceAndTargetPaths/Target/Output/bar.name.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CustomSourceAndTargetPathRename.verified/TestAssets.TemplateWithSourceNameAndCustomSourceAndTargetPaths/Target/Output/bar/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CustomSourcePathRename.verified/TestAssets.TemplateWithSourceNameAndCustomSourcePath/bar.name.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CustomSourcePathRename.verified/TestAssets.TemplateWithSourceNameAndCustomSourcePath/bar/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CustomTargetPathRename.verified/TestAssets.TemplateWithSourceNameAndCustomTargetPath/Custom/Path/bar.name.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_CustomTargetPathRename.verified/TestAssets.TemplateWithSourceNameAndCustomTargetPath/Custom/Path/bar/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_DerivedSymbolFileRename.verified/TestAssets.TemplateWithDerivedSymbolFileRename/Rename.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_FileRenames.verified/TestAssets.TemplateWithRenames/TESTPROJECT3.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text;
3 |
4 | namespace Microsoft.TemplateEngine.EndToEndTestHarness.test_templates.TemplateWithRenames
5 | {
6 | class MYPROJECT3
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_FileRenames.verified/TestAssets.TemplateWithRenames/TestProject1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text;
3 |
4 | namespace Microsoft.TemplateEngine.EndToEndTestHarness.test_templates.TemplateWithRenames
5 | {
6 | class MyProject1
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_FileRenames.verified/TestAssets.TemplateWithRenames/baz.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_FileRenames.verified/TestAssets.TemplateWithRenames/baz/baz.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_FileRenames.verified/TestAssets.TemplateWithRenames/testproject2.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text;
3 |
4 | namespace Microsoft.TemplateEngine.EndToEndTestHarness.test_templates.TemplateWithRenames
5 | {
6 | class myproject2
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_FileRenames.verified/TestAssets.TemplateWithRenames/uc/BAZ.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text;
3 |
4 | namespace Microsoft.TemplateEngine.EndToEndTestHarness.test_templates.TemplateWithRenames
5 | {
6 | class bar_uc
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_JoinAndFolderRename.verified/TestAssets.TemplateWithJoinAndFolderRename/Source/Api/Microsoft/Office/bar.cs:
--------------------------------------------------------------------------------
1 | Content is not relevant
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_MultipleRenamesOnSameFile.verified/TestAssets.TemplateWithMultipleRenamesOnSameFile/ballandbase.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_MultipleRenamesOnSameFile.verified/TestAssets.TemplateWithMultipleRenamesOnSameFile/baseball.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_MultipleRenamesOnSameFileHandlesInducedOverlap.verified/TestAssets.TemplateWithMultipleRenamesOnSameFileHandlesInducedOverlap/bar.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_MultipleRenamesOnSameFileHandlesOverlap.verified/TestAssets.TemplateWithMultipleRenamesOnSameFileHandlesOverlap/pinb.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_NegativeFileRenames.verified/TestAssets.TemplateWithUnspecifiedSourceName/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_NegativeFileRenames.verified/TestAssets.TemplateWithUnspecifiedSourceName/bar/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_SourceNameFileRenames.verified/TestAssets.TemplateWithSourceName/baz.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_SourceNameFileRenames.verified/TestAssets.TemplateWithSourceName/baz/baz.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_SourceNameInTargetPathGetsRenamed.verified/TestAssets.TemplateWithSourceNameInTargetPathGetsRenamed/bar/baz/baz.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_SourcePathOutsideConfigRoot.verified/TestAssets.TemplateWithSourcePathOutsideConfigRoot/blah/MountPointRoot/baz/bar/bar.baz.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_SourcePathOutsideConfigRoot.verified/TestAssets.TemplateWithSourcePathOutsideConfigRoot/blah/MountPointRoot/baz/baz.baz.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.Renames_SourcePathOutsideConfigRoot.verified/TestAssets.TemplateWithSourcePathOutsideConfigRoot/blah/MountPointRoot/mount.baz.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.TemplateWithTagsBasicTest.verified/TestAssets.TemplateWithTags/TestAssets.TemplateWithTags.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms.verified/TestAssets.TemplateWithValueForms/FirstLetterCaseForms/MyCamelTestValue.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string MyCamelTestValue;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms.verified/TestAssets.TemplateWithValueForms/FirstLetterCaseForms/myPascalTestValue.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string myPascalTestValue;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms.verified/TestAssets.TemplateWithValueForms/IdentityForms/MyPascalTestValue.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string MyPascalTestValue;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms.verified/TestAssets.TemplateWithValueForms/IdentityForms/my test text.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string param3 = "my test text";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms.verified/TestAssets.TemplateWithValueForms/IdentityForms/myCamelTestValue.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string myCamelTestValue;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms.verified/TestAssets.TemplateWithValueForms/KebabCaseForms/my-pascal-test-value.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string my-pascal-test-value;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms.verified/TestAssets.TemplateWithValueForms/Test.Value6.cs:
--------------------------------------------------------------------------------
1 | Test.Value6
2 | Test_Value!
3 | Test?Value!
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms.verified/TestAssets.TemplateWithValueForms/TitleCaseForms/My Test Text.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string param3 = "My Test Text";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms.verified/TestAssets.TemplateWithValueForms/bar.cs:
--------------------------------------------------------------------------------
1 | Test.Value6
2 | Test_Value!
3 | Test?Value!
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms_DerivedSymbolWithValueForms.verified/TestAssets.TemplateWithDerivedSymbolWithValueForms/AppSeven.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/LegacyTests.ValueForms_DerivedSymbolWithValueForms.verified/TestAssets.TemplateWithDerivedSymbolWithValueForms/ContentTest.txt:
--------------------------------------------------------------------------------
1 | AppSeven
2 | Zpp$even
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/PreferDefaultNameTest.Basic.verified/TestAssets.TemplateWithPreferDefaultName/TestAssets.TemplateWithPreferDefaultName.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | Console.log("Hello there! This is a test");
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/TemplateWithOnlyIfStatementTest.Basic.verified/TestAssets.TemplateWithOnlyIfStatement/test.json:
--------------------------------------------------------------------------------
1 | {
2 | "hostingManifest": {
3 | "defaultPort": 3332,
4 | "isPublic": false
5 | },
6 | "hostingManifest_2": {
7 | "dPort": 12345,
8 | "isPublic": true
9 | }
10 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.IDE.IntegrationTests/Approvals/TemplateWithOnlyIfStatementTestForLocalhostTest.Basic.verified/TestAssets.TemplateWithOnlyIfForLocalhost/test.json:
--------------------------------------------------------------------------------
1 | {
2 | "hostingManifest": {
3 | "applicationUrl": "http://localhost:3332"
4 | },
5 | "hostingManifest2": {
6 | "applicationUrl": "http://check:12345"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TemplateWithComputedInGenerated._.verified/TestAssets.TemplateWithComputedInGenerated/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TemplateWithComputedInGenerated._.verified/TestAssets.TemplateWithComputedInGenerated/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine($"Use frame navigation. JoinMacroTest: stringforjoinTrue");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestCoalesce_EmptyStringForMultiChoices._.verified/TestAssets.TemplateWithMultipleChoicesAndCoalesce/Program.cs:
--------------------------------------------------------------------------------
1 | namespace ConsoleApp
2 | {
3 | internal class Program
4 | {
5 | static void Main(string[] args)
6 | {
7 | Console.WriteLine("Preset test is: unit|ui.");
8 | Console.WriteLine("User's choice is: .");
9 | Console.WriteLine("The final set is: .");
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestGeneratedSymbolWithRefToDerivedSymbol._.verified/TestAssets.TemplateGenSymWithRefToDerivedSym/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestGeneratedSymbolWithRefToDerivedSymbol._.verified/TestAssets.TemplateGenSymWithRefToDerivedSym/Nuget.Frameworks.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | public class NugetExtensions
6 | {
7 | }
8 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestGeneratedSymbolWithRefToDerivedSymbol._.verified/TestAssets.TemplateGenSymWithRefToDerivedSym/Nuget.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | public class Nuget
6 | {
7 | }
8 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestGeneratedSymbolWithRefToDerivedSymbol_DifferentOrder._.verified/TestAssets.TemplateGenSymWithRefToDerivedSym_DiffOrder/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestGeneratedSymbolWithRefToDerivedSymbol_DifferentOrder._.verified/TestAssets.TemplateGenSymWithRefToDerivedSym_DiffOrder/Nuget.Frameworks.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | public class NugetExtensions
6 | {
7 | }
8 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestGeneratedSymbolWithRefToDerivedSymbol_DifferentOrder._.verified/TestAssets.TemplateGenSymWithRefToDerivedSym_DiffOrder/Nuget.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | public class Nuget
6 | {
7 | }
8 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestSelectionForMultiChoicesWhenThereAreMultiplePartialMatchesAndOnePreciseMatch._.verified/TestAssets.TemplateWithMultipleChoicesAndPartialMatches/Program.cs:
--------------------------------------------------------------------------------
1 | namespace ConsoleApp
2 | {
3 | internal class Program
4 | {
5 | static void Main(string[] args)
6 | {
7 | Console.WriteLine("User's choice is: aa.");
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestSingleSelectionForMultiChoices._.verified/TestAssets.TemplateWithMultipleChoicesAndCoalesce/Program.cs:
--------------------------------------------------------------------------------
1 | namespace ConsoleApp
2 | {
3 | internal class Program
4 | {
5 | static void Main(string[] args)
6 | {
7 | Console.WriteLine("Preset test is: unit|ui.");
8 | Console.WriteLine("User's choice is: unit.");
9 | Console.WriteLine("The final set is: unit.");
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithBrokenGeneratedInComputed._.verified/TestAssets.TemplateWithBrokenGeneratedInComputed/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithBrokenGeneratedInComputed._.verified/TestAssets.TemplateWithBrokenGeneratedInComputed/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Don't use extensions navigation.");
10 |
11 | Console.WriteLine("Don't use frame navigation.");
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithBrokenGeneratedInComputed._.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithBrokenGeneratedInComputed._.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "TestAssets.TemplateWithBrokenGeneratedInComputed" was created successfully.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithCircleDependencyInMacros._.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 | Failed to create template.
2 | Details: Parameter conditions contain cyclic dependency: [switchCheck, switchCheck2, switchCheck] that is preventing deterministic evaluation.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithCircleDependencyInMacros._.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithComputedInDerivedThroughGenerated._.verified/TestAssets.TemplateWithComputedInDerivedThroughGenerated/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithComputedInDerivedThroughGenerated._.verified/TestAssets.TemplateWithComputedInDerivedThroughGenerated/stringforjointrue.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine($"Use frame navigation. JoinMacroTest: STRINGFORJOINTrue");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithComputedInDerivedThroughGenerated._.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithComputedInDerivedThroughGenerated._.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "TestAssets.TemplateWithComputedInDerivedThroughGenerated" was created successfully.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithComputedInGenerated._.verified/TestAssets.TemplateWithComputedInGenerated/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithComputedInGenerated._.verified/TestAssets.TemplateWithComputedInGenerated/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine($"Use frame navigation. JoinMacroTest: stringforjoinTrue");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithComputedInGenerated._.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithComputedInGenerated._.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "TestAssets.TemplateWithComputedInGenerated" was created successfully.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithGeneratedInComputed._.verified/TestAssets.TemplateWithGeneratedInComputed/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithGeneratedInComputed._.verified/TestAssets.TemplateWithGeneratedInComputed/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Use extensions navigation.");
10 |
11 | Console.WriteLine("Don't use frame navigation.");
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithGeneratedInComputed._.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithGeneratedInComputed._.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "TestAssets.TemplateWithGeneratedInComputed" was created successfully.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithGeneratedSwitchInComputed._.verified/TestAssets.TemplateWithGeneratedSwitchInComputed/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithGeneratedSwitchInComputed._.verified/TestAssets.TemplateWithGeneratedSwitchInComputed/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Use extensions navigation.");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithGeneratedSwitchInComputed._.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithGeneratedSwitchInComputed._.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "TestAssets.TemplateWithGeneratedSwitchInComputed" was created successfully.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithVariablesInGeneratedThatUsedInComputed._.verified/TestAssets.TemplateWithBrokenGeneratedInComputed/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithVariablesInGeneratedThatUsedInComputed._.verified/TestAssets.TemplateWithBrokenGeneratedInComputed/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Don't use extensions navigation.");
10 |
11 | Console.WriteLine("Don't use frame navigation.");
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithVariablesInGeneratedThatUsedInComputed._.verified/std-streams/stderr.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/Approvals/TestTemplateWithVariablesInGeneratedThatUsedInComputed._.verified/std-streams/stdout.txt:
--------------------------------------------------------------------------------
1 | The template "TestAssets.TemplateWithBrokenGeneratedInComputed" was created successfully.
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.Orchestrator.RunnableProjects.UnitTests/xunit.runner.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
3 | "diagnosticMessages": true,
4 | "longRunningTestSeconds": 120
5 | }
6 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestHelper/PublicAPI.Shipped.txt:
--------------------------------------------------------------------------------
1 | #nullable enable
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestHelper/StringExtensions.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateEngine.TestHelper
5 | {
6 | public static class StringExtensions
7 | {
8 | public static string UnixifyLineBreaks(this string input)
9 | {
10 | return input.Replace("\r\n", "\n");
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/nupkg_templates/TestNupkgInstallTemplate.0.0.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/nupkg_templates/TestNupkgInstallTemplate.0.0.1.nupkg
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/nupkg_templates/TestNupkgInstallTemplateV2.0.0.2.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/nupkg_templates/TestNupkgInstallTemplateV2.0.0.2.nupkg
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/ConfigurationKitchenSink/RenameBattery/A.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/ConfigurationKitchenSink/RenameBattery/C.txt:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Constraints/RestrictedTemplate/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/DefaultIfOptionWithoutValue/ChoiceOtherFile.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/DefaultIfOptionWithoutValue/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Microsoft.TemplateEngine.EndToEndTestHarness.test_templates.DefaultIfOptionWithoutValue
4 | {
5 | public class Program
6 | {
7 | // User specified comment: OriginalString
8 | public void Main()
9 | {
10 | Console.WriteLine("Template created with MyChoice = OriginalChoice");
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/DefaultIfOptionWithoutValue/StringOtherFile.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Invalid/InvalidHostData/.template.config/dotnetcli.host.json:
--------------------------------------------------------------------------------
1 | //bad json
2 | {
3 | "$schema": "http://json.schemastore.org/dotnetcli.host",
4 | "symbolInfo": {
5 | "SdkVersion": {
6 | "longName": "sdk-version",
7 | "shortName": ""
8 | },
9 | "RollForward": {
10 | "longName": "roll-forward",
11 | "shortName": ""
12 | },
13 | "dotnet-cli-version": {
14 | "isHidden": "true"
15 |
16 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Invalid/InvalidHostData/global.json:
--------------------------------------------------------------------------------
1 | {
2 | "sdk": {
3 | //#if (RollForward!="")
4 | "rollForward": "ROLL_FORWARD_VALUE",
5 | //#endif
6 | "version": "SDK_VERSION"
7 | }
8 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Invalid/Localization/InvalidFormat/.template.config/localize/templatestrings.de-DE.json:
--------------------------------------------------------------------------------
1 | this is not JSON
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Invalid/Localization/InvalidFormat/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Invalid/Localization/ValidationFailure/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Invalid/MissingIdentity/.template.config/template.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": "Test Asset",
3 | "classifications": [ "Test Asset" ],
4 | "generatorVersions": "[1.0.0.0-*)",
5 | "groupIdentity": "group",
6 | "precedence": "100",
7 | "sourceName": "Basic"
8 | }
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Invalid/MissingMandatoryConfig/.template.config/template.json:
--------------------------------------------------------------------------------
1 | {
2 | "identity": "MissingConfigTest",
3 | }
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Invalid/SameShortName/TemplateA/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/Invalid/SameShortName/TemplateB/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddPackageReference/Basic/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddPackageReference/Basic/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddPackageReference/BasicWithFiles/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddPackageReference/BasicWithFiles/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectReference/Basic/Project1/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Project2;
3 |
4 | namespace Project1
5 | {
6 | public class Program
7 | {
8 | public static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | MyClass.SayHello();
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectReference/Basic/Project1/Project1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectReference/Basic/Project2/MyClass.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Project2
4 | {
5 | public class MyClass
6 | {
7 | public static void SayHello()
8 | {
9 | Console.WriteLine("Hello World from MyClass");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectReference/Basic/Project2/Project2.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectToSolution/Basic/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectToSolution/Basic/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectToSolution/BasicWithFiles/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectToSolution/BasicWithFiles/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectToSolution/BasicWithIndexes/Client/Client.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectToSolution/BasicWithIndexes/Client/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Basic
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Hello World!");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectToSolution/BasicWithIndexes/Server/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Basic
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Hello World!");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/AddProjectToSolution/BasicWithIndexes/Server/Server.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/Instructions/Basic/Class1.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | using System.Text;
5 |
6 | namespace Microsoft.TemplateEngine.TestTemplates.test_templates.PostActions.RunScript.Basic
7 | {
8 | class Class1
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/Basic/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/Basic/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/BasicWithFiles/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/BasicWithFiles/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomSourcePath/Custom/Path/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomSourcePath/Custom/Path/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomSourcePathFiles/Custom/Path/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomSourcePathFiles/Custom/Path/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomSourceTargetPath/Src/Custom/Path/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomSourceTargetPath/Src/Custom/Path/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomSourceTargetPathFiles/Src/Custom/Path/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomSourceTargetPathFiles/Src/Custom/Path/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomTargetPath/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomTargetPath/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomTargetPathFiles/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/CustomTargetPathFiles/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/Invalid/Invalid.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/Invalid/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Invalid
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/Invalid_ContinueOnError/Invalid.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/Invalid_ContinueOnError/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Invalid
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/SourceRename/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/SourceRename/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/SourceRenameFiles/Basic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/SourceRenameFiles/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace Basic
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsFiles/Custom/MyTestProject.Tests/MyTestProject.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsFiles/Custom/MyTestProject.Tests/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace MyTestProject.Tests
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsFiles/Custom/MyTestProject/MyTestProject.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsFiles/Custom/MyTestProject/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace MyTestProject
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsPrimaryOutputs/Custom/MyTestProject.Tests/MyTestProject.Tests.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsPrimaryOutputs/Custom/MyTestProject.Tests/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace MyTestProject.Tests
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsPrimaryOutputs/Custom/MyTestProject/MyTestProject.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsPrimaryOutputs/Custom/MyTestProject/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace MyTestProject
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsWithSourceRenames/TemplateProject1/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace TemplateProject1
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsWithSourceRenames/TemplateProject1/TemplateProject1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsWithSourceRenames/TemplateProject2/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace TemplateProject2
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsWithSourceRenames/TemplateProject2/TemplateProject2.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsWithSourceRenames2/TemplateProject1/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace TemplateProject1
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsWithSourceRenames2/TemplateProject1/TemplateProject1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsWithSourceRenames2/TemplateProject2/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Newtonsoft.Json;
3 |
4 | namespace TemplateProject2
5 | {
6 | class Program
7 | {
8 | static void Main(string[] args)
9 | {
10 | Console.WriteLine("Hello World!");
11 | string result = JsonConvert.SerializeObject(new { a = "test" });
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RestoreNuGet/TwoProjectsWithSourceRenames2/TemplateProject2/TemplateProject2.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RunScript/Basic/setup.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | echo Hello Windows
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RunScript/Basic/setup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | echo Hello Unix
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RunScript/DoNotRedirect/setup.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | echo "This line goes to stdout"
3 | echo "This line goes to stderr" 1>&2
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RunScript/DoNotRedirect/setup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | echo "This line goes to stdout"
3 | >&2 echo "This line goes to stderr"
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RunScript/Redirect/setup.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | echo "This line goes to stdout"
3 | echo "This line goes to stderr" 1>&2
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RunScript/Redirect/setup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | echo "This line goes to stdout"
3 | >&2 echo "This line goes to stderr"
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RunScript/RedirectOnError/setup.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | echo "This line goes to stdout"
3 | echo "This line goes to stderr" 1>&2
4 | exit 1
5 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/RunScript/RedirectOnError/setup.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | echo "This line goes to stdout"
3 | >&2 echo "This line goes to stderr"
4 | exit 1
5 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/UnknownPostAction/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace UnknownPostAction
4 | {
5 | class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Console.WriteLine("Hello World!");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/UnknownPostAction/UnknownPostAction.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/WithFileRename/MyTestProject.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net7.0
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/PostActions/WithFileRename/testfile.json:
--------------------------------------------------------------------------------
1 | {
2 | "moduleConfiguration": {
3 | "edgeAgent": {
4 | "properties.desired": {
5 | "modules": {
6 | "module1": "someValue"
7 | }
8 | }
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceNameForms/Good.Source.Name.1.cs:
--------------------------------------------------------------------------------
1 | Identity: Good.Source.Name.1
2 | Namespace: Good.Source.Name._1
3 | Class name: Good_Source_Name__1
4 | Namespace (lc): good.source.name._1
5 | Class name (lc): good_source_name__1
6 | Lowercase: replace_name_lc
7 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceNameForms/fileRename-name-lc2.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/With/bar.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/With/bar.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/With/foo.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/With/packages.lock.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/With/packages.lock.json
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/Without/.template.config/template.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://json.schemastore.org/template.json",
3 | "$schema": "http://json.schemastore.org/template",
4 | "name": "Basic Template Without Exclude",
5 | "identity": "TestAssets.BasicTemplateWithoutExclude",
6 | "shortName": "withoutexclude",
7 | "author": "",
8 | "classifications": [],
9 | "tags": {
10 | "type": "project"
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/Without/bar.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/Without/bar.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/Without/foo.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/Without/packages.lock.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/SourceWithExcludeAndWithout/Without/packages.lock.json
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateConditionalProcessing/Test.cmd:
--------------------------------------------------------------------------------
1 | rem #if defaultTrue
2 | set type = "DefaultTrueIncluded"
3 | rem #else
4 | set type = "DefaultTrueExcluded"
5 | rem #endif
6 |
7 | rem #if (defaultFalse)
8 | set type = "DefaultFalseExcluded"
9 | rem #else
10 | set type = "DefaultFalseIncluded"
11 | rem #endif
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateConditionalProcessing/Test.cshtml:
--------------------------------------------------------------------------------
1 | @*#if defaultTrue
2 | DefaultTrueIncluded
3 | #else
4 | DefaultTrueExcluded
5 | #endif*@
6 |
7 | @*#if defaultFalse
8 | DefaultFalseExcluded
9 | #else
10 | DefaultFalseIncluded
11 | #endif*@
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateConditionalProcessing/Test.haml:
--------------------------------------------------------------------------------
1 | -##if defaultTrue
2 | %p DefaultTrueIncluded
3 | -##else
4 | %p DefaultTrueExcluded
5 | -##endif
6 |
7 | -##if defaultFalse
8 | %p DefaultFalseExcluded
9 | -##else
10 | %p DefaultFalseIncluded
11 | -##endif
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateConditionalProcessing/Test.jsx:
--------------------------------------------------------------------------------
1 | const myElement = (
2 |
3 | {/*#if defaultTrue
4 |
DefaultTrueIncluded
5 | #else
6 |
DefaultTrueExcluded
7 | #endif*/}
8 | {/*#if defaultFalse
9 |
DefaultFalseExcluded
10 | #else
11 |
DefaultFalseIncluded
12 | #endif*/}
13 |
I am a paragraph.
14 |
15 | );
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateConditionalProcessing/Test.othertype:
--------------------------------------------------------------------------------
1 | //#if defaultTrue
2 | DefaultTrueIncluded
3 | //#else
4 | DefaultTrueExcluded
5 | //#endif
6 |
7 | //#if defaultFalse
8 | DefaultFalseExcluded
9 | //#else
10 | DefaultFalseIncluded
11 | //#endif
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateConditionalProcessing/Test.yml:
--------------------------------------------------------------------------------
1 | #if defaultTrue
2 | DefaultTrueIncluded
3 | #else
4 | DefaultTrueExcluded
5 | #endif
6 |
7 | #if defaultFalse
8 | DefaultFalseExcluded
9 | #else
10 | DefaultFalseIncluded
11 | #endif
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/DifferentLanguagesGroup/BasicFSharp/bar.fs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/DifferentLanguagesGroup/BasicFSharp/bar.fs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/DifferentLanguagesGroup/BasicVB/bar.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/DifferentLanguagesGroup/BasicVB/bar.vb
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/SamePrecedenceGroup/BasicTemplate1/bar.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/SamePrecedenceGroup/BasicTemplate1/bar.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/SamePrecedenceGroup/BasicTemplate2/bar.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/SamePrecedenceGroup/BasicTemplate2/bar.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/SameShortName/BasicFSharp/bar.fs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/SameShortName/BasicFSharp/bar.fs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/SameShortName/BasicVB/bar.vb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateResolution/SameShortName/BasicVB/bar.vb
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithBinaryFile/image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithBinaryFile/image.png
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithBrokenGeneratedInComputed/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithCaseSensitiveNameBasedRenames/Norenamepart/FileNorenamepart.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithCaseSensitiveNameBasedRenames/Norenamepart/FileYesRenamePart.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithCaseSensitiveNameBasedRenames/YesRenamePart/FileNorenamepart.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithCaseSensitiveNameBasedRenames/YesRenamePart/FileYesRenamePart.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithCircleDependencyInMacros/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithCliHostFile/.template.config/dotnetcli.host.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json.schemastore.org/dotnetcli.host",
3 | "symbolInfo": {
4 | "test-param": {
5 | "isHidden": "true",
6 | "shortName": "p",
7 | "longName": "param"
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithCliHostFile/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithComputedInDerivedThroughGenerated/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithComputedInDerivedThroughGenerated/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | #if (useFrameNav)
10 | Console.WriteLine($"Use frame navigation. JoinMacroTest: %VAL%");
11 | #else
12 | Console.WriteLine($"Don't use frame navigation.");
13 | #endif
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithComputedInGenerated/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithComputedInGenerated/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | #if (useFrameNav)
10 | Console.WriteLine($"Use frame navigation. JoinMacroTest: %VAL%");
11 | #else
12 | Console.WriteLine($"Don't use frame navigation.");
13 | #endif
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditionalParameters/Test.cs:
--------------------------------------------------------------------------------
1 |
2 | // value of paramA: placeholderA
3 | // value of paramB: placeholderB
4 |
5 | //#if( paramA )
6 | // A is enabled
7 | //#endif
8 |
9 | //#if( paramB )
10 | // B is enabled
11 | //#endif
12 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/.dockerignore:
--------------------------------------------------------------------------------
1 | #if (A)
2 | # comment foo
3 | foo
4 | #endif
5 | ##if (B)
6 | ## comment bar
7 | #bar
8 | #endif
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/.editorconfig:
--------------------------------------------------------------------------------
1 | #if (A)
2 | # comment foo
3 | foo
4 | #endif
5 | ##if (B)
6 | ## comment bar
7 | #bar
8 | #endif
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/.gitattributes:
--------------------------------------------------------------------------------
1 | #if (A)
2 | # comment foo
3 | foo
4 | #endif
5 | ##if (B)
6 | ## comment bar
7 | #bar
8 | #endif
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/.gitignore:
--------------------------------------------------------------------------------
1 | #if (A)
2 | # comment foo
3 | foo
4 | #endif
5 | ##if (B)
6 | ## comment bar
7 | #bar
8 | #endif
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/Dockerfile:
--------------------------------------------------------------------------------
1 | #if (A)
2 | # comment foo
3 | foo
4 | #endif
5 | ##if (B)
6 | ## comment bar
7 | #bar
8 | #endif
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/nuget.config:
--------------------------------------------------------------------------------
1 |
2 |
3 | foo
4 |
5 |
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/test.cake:
--------------------------------------------------------------------------------
1 | #if (A)
2 | // comment foo
3 | foo
4 | #endif
5 | #if (B)
6 | // comment bar
7 | bar
8 | #endif
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/test.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | foo
4 |
5 |
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/test.ps1:
--------------------------------------------------------------------------------
1 | #if (A)
2 | # comment foo
3 | A true
4 | #endif
5 | ##if (B)
6 | ## comment B true
7 | #B true
8 | #endif
9 | common text
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/test.sln:
--------------------------------------------------------------------------------
1 | #if (A)
2 | # comment foo
3 | foo
4 | #endif
5 | ##if (B)
6 | ## comment bar
7 | #bar
8 | #endif
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/test.slnx:
--------------------------------------------------------------------------------
1 |
2 |
3 | foo
4 |
5 |
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithConditions/test.yaml:
--------------------------------------------------------------------------------
1 | #if (A)
2 | # comment foo
3 | foo
4 | #endif
5 | ##if (B)
6 | ## comment bar
7 | #bar
8 | #endif
9 | baz
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithDerivedSymbolFileRename/Application1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithDerivedSymbolFileRename/Application1.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithDerivedSymbolWithValueForms/ContentTest.txt:
--------------------------------------------------------------------------------
1 | SomeApp1
2 | $omeZpp1
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithDerivedSymbolWithValueForms/SomeApp1.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithDerivedSymbolWithValueForms/SomeApp1.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithFileRenameDate/date_name.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithGenSymbolWithRefToDerivedSymbol_DifferentOrder/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithGenSymbolWithRefToDerivedSymbol_DifferentOrder/Tool.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | public class Tool
6 | {
7 | }
8 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithGenSymbolWithRefToDerivedSymbol_DifferentOrder/ToolExtension.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | public class ToolExtensions
6 | {
7 | }
8 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithGeneratedInComputed/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithGeneratedSwitchInComputed/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithGeneratedSwitchInComputed/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ConsoleApp
4 | {
5 | internal class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | #if (useExtensionsNavigation)
10 | Console.WriteLine("Use extensions navigation.");
11 | #else
12 | Console.WriteLine("Don't use extensions navigation.");
13 | #endif
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithGeneratedSymbolWithRefToDerivedSymbol/MyProject.Helper.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net7.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithGeneratedSymbolWithRefToDerivedSymbol/Tool.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | public class Tool
6 | {
7 | }
8 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithGeneratedSymbolWithRefToDerivedSymbol/ToolExtension.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MyProject.Con
4 | {
5 | public class ToolExtensions
6 | {
7 | }
8 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithJoinAndFolderRename/Api/bar.cs:
--------------------------------------------------------------------------------
1 | Content is not relevant
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithLocalization/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithMultipleChoicesAndCoalesce/Program.cs:
--------------------------------------------------------------------------------
1 | namespace ConsoleApp
2 | {
3 | internal class Program
4 | {
5 | static void Main(string[] args)
6 | {
7 | Console.WriteLine("Preset test is: preset_tests.");
8 | Console.WriteLine("User's choice is: user_selectedtests.");
9 | Console.WriteLine("The final set is: final_tests.");
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithMultipleChoicesAndPartialMatches/Program.cs:
--------------------------------------------------------------------------------
1 | namespace ConsoleApp
2 | {
3 | internal class Program
4 | {
5 | static void Main(string[] args)
6 | {
7 | Console.WriteLine("User's choice is: user_selectedtests.");
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithMultipleRenamesOnSameFile/barandfoo.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithMultipleRenamesOnSameFile/foobar.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithMultipleRenamesOnSameFileHandlesInducedOverlap/foo.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithMultipleRenamesOnSameFileHandlesOverlap/foob.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithOnlyIfForLocalhost/test.json:
--------------------------------------------------------------------------------
1 | {
2 | "hostingManifest": {
3 | "applicationUrl": "http://localhost:12345"
4 | },
5 | "hostingManifest2": {
6 | "applicationUrl": "http://check:12345"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithOnlyIfStatement/test.json:
--------------------------------------------------------------------------------
1 | {
2 | "hostingManifest": {
3 | "defaultPort": 12345,
4 | "isPublic": false
5 | },
6 | "hostingManifest_2": {
7 | "dPort": 12345,
8 | "isPublic": true
9 | }
10 | }
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithPlaceholderFiles/Src/Path/bar/_._:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithPlaceholderFiles/Src/Path/foo/_._:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithPortsAndCoalesce/bar.cs:
--------------------------------------------------------------------------------
1 | The port is 1234
2 | The port is 1235
3 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithPreferDefaultName/toChange.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | Console.log("Hello there! This is a test");
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithPreferDefaultNameButNoDefaultName/toChange.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | Console.log("Hello there! This is a test");
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithRegexMatchMacro/bar.2.cs:
--------------------------------------------------------------------------------
1 | test.value1
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithRegexMatchMacro/bar.cs:
--------------------------------------------------------------------------------
1 | test.value1
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithRenames/MYPROJECT3.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text;
3 |
4 | namespace Microsoft.TemplateEngine.EndToEndTestHarness.test_templates.TemplateWithRenames
5 | {
6 | class MYPROJECT3
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithRenames/MyProject1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text;
3 |
4 | namespace Microsoft.TemplateEngine.EndToEndTestHarness.test_templates.TemplateWithRenames
5 | {
6 | class MyProject1
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithRenames/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithRenames/bar/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithRenames/myproject2.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text;
3 |
4 | namespace Microsoft.TemplateEngine.EndToEndTestHarness.test_templates.TemplateWithRenames
5 | {
6 | class myproject2
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithRenames/uc/bar_uc.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text;
3 |
4 | namespace Microsoft.TemplateEngine.EndToEndTestHarness.test_templates.TemplateWithRenames
5 | {
6 | class bar_uc
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceBasedRenames/foo.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceName/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceName/bar/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceNameAndCustomSourceAndTargetPaths/Src/Custom/Path/foo.name.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceNameAndCustomSourceAndTargetPaths/Src/Custom/Path/foo/foo.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceNameAndCustomSourcePath/Custom/Path/foo.name.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceNameAndCustomSourcePath/Custom/Path/foo/foo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceNameAndCustomSourcePath/Custom/Path/foo/foo.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceNameAndCustomTargetPath/foo.name.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceNameAndCustomTargetPath/foo/foo.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceNameInTargetPathGetsRenamed/foo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourceNameInTargetPathGetsRenamed/foo.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourcePathOutsideConfigRoot/MountPointRoot/foo/bar/bar.foo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourcePathOutsideConfigRoot/MountPointRoot/foo/bar/bar.foo.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourcePathOutsideConfigRoot/MountPointRoot/foo/foo.foo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourcePathOutsideConfigRoot/MountPointRoot/foo/foo.foo.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourcePathOutsideConfigRoot/MountPointRoot/mount.foo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/dotnet/templating/29575925a28c175356cf6ea01b3a36f90c92e845/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithSourcePathOutsideConfigRoot/MountPointRoot/mount.foo.cs
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithStringCoalesce/bar.cs:
--------------------------------------------------------------------------------
1 | var str = "%VAL%";
2 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithTags/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithUnspecifiedSourceName/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithUnspecifiedSourceName/bar/bar.cs:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/FirstLetterCaseForms/Param2TestValue.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string Param2TestValue;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/FirstLetterCaseForms/param1TestValue.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string param1TestValue;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/IdentityForms/Param1TestValue.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string Param1TestValue;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/IdentityForms/param 3 test value.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string param3 = "param 3 test value";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/IdentityForms/param2TestValue.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string param2TestValue;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/KebabCaseForms/param-1-test-value.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string param-1-test-value;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/TitleCaseForms/Param 3 Test Value.cs:
--------------------------------------------------------------------------------
1 | namespace Test
2 | {
3 | class ContentReplacementTest
4 | {
5 | private string param3 = "Param 3 Test Value";
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/bar.2.cs:
--------------------------------------------------------------------------------
1 | test.value1
2 | test_value!
3 | test?value!
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TemplateWithValueForms/bar.cs:
--------------------------------------------------------------------------------
1 | test.value1
2 | test_value!
3 | test?value!
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/TestTemplate/Test.cs:
--------------------------------------------------------------------------------
1 |
2 | // value of paramA: placeholderA
3 | // value of paramB: placeholderB
4 |
5 | //#if( paramA )
6 | // A is enabled
7 | //#endif
8 |
9 | //#if( paramB )
10 | // B is enabled
11 | //#endif
12 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/ValueForms/DerivedSymbol/My.Web.App.txt:
--------------------------------------------------------------------------------
1 | My.Web.App
2 | MY.WEB.APP
3 | MY_WEB_APP
4 |
--------------------------------------------------------------------------------
/test/Microsoft.TemplateEngine.TestTemplates/test_templates/ValueForms/DerivedSymbolFromGeneratedSymbol/My.Web.App.txt:
--------------------------------------------------------------------------------
1 | My.Web.App
2 | MY.WEB.APP
3 | MY_WEB_APP
4 |
--------------------------------------------------------------------------------
/testenvironments.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "1",
3 | "environments": [
4 | {
5 | "name": "WSL-Ubuntu",
6 | "type": "wsl",
7 | "wslDistribution": "Ubuntu"
8 | },
9 | {
10 | "name": "docker dotnet 7.0",
11 | "type": "docker",
12 | "dockerImage": "mcr.microsoft.com/dotnet/sdk:7.0"
13 | }
14 | ]
15 | }
--------------------------------------------------------------------------------
/tools/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | true
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/tools/Microsoft.TemplateEngine.Authoring.TemplateApiVerifier/PublicAPI.Shipped.txt:
--------------------------------------------------------------------------------
1 | #nullable enable
--------------------------------------------------------------------------------
/tools/Microsoft.TemplateEngine.Authoring.TemplateVerifier/Commands/ICommandRunner.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | using Microsoft.TemplateEngine.CommandUtils;
5 |
6 | namespace Microsoft.TemplateEngine.Authoring.TemplateVerifier.Commands
7 | {
8 | internal interface ICommandRunner
9 | {
10 | CommandResultData RunCommand(TestCommand testCommand);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/tools/Microsoft.TemplateEngine.Authoring.TemplateVerifier/PublicAPI.Shipped.txt:
--------------------------------------------------------------------------------
1 | #nullable enable
2 |
--------------------------------------------------------------------------------
/tools/Microsoft.TemplateEngine.TemplateLocalizer.Core/PublicAPI.Unshipped.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tools/Microsoft.TemplateSearch.TemplateDiscovery/PackChecking/IPackCheckerFactory.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 |
4 | namespace Microsoft.TemplateSearch.TemplateDiscovery.PackChecking
5 | {
6 | internal interface IPackCheckerFactory
7 | {
8 | internal Task CreatePackSourceCheckerAsync(CommandArgs config, CancellationToken cancellationToken);
9 | }
10 | }
11 |
--------------------------------------------------------------------------------