-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6216 from dotnet/main
- Loading branch information
Showing
13 changed files
with
80 additions
and
53 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
core/tutorials/cli-templates-create-item-template/AdatumCorporation.Utility.Templates.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<!-- The package metadata. Fill in the properties marked as TODO below --> | ||
<!-- Follow the instructions on https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices --> | ||
<PackageId>AdatumCorporation.Utility.Templates</PackageId> | ||
<PackageVersion>1.0</PackageVersion> | ||
<Title>AdatumCorporation Templates</Title> | ||
<Authors>Me</Authors> | ||
<Description>Templates to use when creating an application for Adatum Corporation.</Description> | ||
<PackageTags>dotnet-new;templates;contoso</PackageTags> | ||
<PackageProjectUrl>https://www.microsoft.com</PackageProjectUrl> | ||
|
||
<!-- Keep package type as 'Template' to show the package as a template package on nuget.org and make your template available in dotnet new search.--> | ||
<PackageType>Template</PackageType> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<IncludeContentInPack>true</IncludeContentInPack> | ||
<IncludeBuildOutput>false</IncludeBuildOutput> | ||
<ContentTargetFolders>content</ContentTargetFolders> | ||
<NoWarn>$(NoWarn);NU5128</NoWarn> | ||
<NoDefaultExcludes>true</NoDefaultExcludes> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<LocalizeTemplates>false</LocalizeTemplates> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.TemplateEngine.Tasks" Version="*" PrivateAssets="all" IsImplicitlyDefined="true"/> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="content\**\*" Exclude="content\**\bin\**;content\**\obj\**" /> | ||
<Compile Remove="**\*" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="README.md" Pack="true" PackagePath="" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!-- Provide an overview of what your template package does and how to get started. | ||
Consider previewing the README before uploading (https://learn.microsoft.com/en-us/nuget/nuget-org/package-readme-on-nuget-org#preview-your-readme). --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
core/tutorials/cli-templates-create-item-template/content/extensions/StringExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace System; | ||
|
||
public static class StringExtensions | ||
{ | ||
public static string Reverse(this string value) | ||
{ | ||
char[] tempArray = value.ToCharArray(); | ||
Array.Reverse(tempArray); | ||
return new string(tempArray); | ||
} | ||
} |
25 changes: 0 additions & 25 deletions
25
core/tutorials/cli-templates-create-item-template/templatepack.csproj
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
core/tutorials/cli-templates-create-item-template/templates/extensions/CommonExtensions.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters