Potential fix for missing ellie-marmalade template
This commit is contained in:
parent
2c97389cd2
commit
154cad8d11
7 changed files with 72 additions and 35 deletions
|
@ -1 +1,2 @@
|
||||||
Template in order to create a ellie marmalade.
|
<!-- 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). -->
|
44
content/ellie-marmalade/ellie-marmalade.csproj
Normal file
44
content/ellie-marmalade/ellie-marmalade.csproj
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
|
||||||
|
<!-- Reduces some boilerplate in your .cs files -->
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
|
||||||
|
<!-- <!– Use latest .net features –>-->
|
||||||
|
<!-- <LangVersion>preview</LangVersion>-->
|
||||||
|
<!-- <EnablePreviewFeatures>true</EnablePreviewFeatures>-->
|
||||||
|
<!-- <GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>-->
|
||||||
|
|
||||||
|
<DebugType>Embedded</DebugType>
|
||||||
|
<!-- tell .net that this library will be used as a plugin -->
|
||||||
|
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||||
|
|
||||||
|
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<!-- Base marmalade package. You MUST reference this in order to have a working marmalade -->
|
||||||
|
<PackageReference Include="Ellie.Marmalade" Version="5.*-*">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
</PackageReference>
|
||||||
|
|
||||||
|
<!-- Note: If you want to use EllieBot services etc... You will have to manually clone
|
||||||
|
the https://toastielab.dev/Emotions-stuff/elliebot repo locally and reference the EllieBot.csproj because there is no EllieBot package atm.
|
||||||
|
It is strongly recommended that you checkout a specific tag which matches your version of ellie,
|
||||||
|
as there could be breaking changes even between minor versions of EllieBot.
|
||||||
|
For example if you're running EllieBot 4.1.0 locally for which you want to create a marmalade for,
|
||||||
|
you should do "git checkout 4.1.0" in your EllieBot solution and then reference the EllieBot.csproj
|
||||||
|
-->
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<!-- Copy shortcut and full strings to output (if they exist) -->
|
||||||
|
<ItemGroup>
|
||||||
|
<None Update="res.yml;cmds.yml;strings/**">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include=".template.config\template.json" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
|
@ -1,50 +1,42 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<!-- 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 -->
|
||||||
<!-- Reduces some boilerplate in your .cs files -->
|
<PackageId>ellie_marmalade</PackageId>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
|
|
||||||
<!-- <!– Use latest .net features –>-->
|
|
||||||
<!-- <LangVersion>preview</LangVersion>-->
|
|
||||||
<!-- <EnablePreviewFeatures>true</EnablePreviewFeatures>-->
|
|
||||||
<!-- <GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>-->
|
|
||||||
|
|
||||||
<DebugType>Embedded</DebugType>
|
|
||||||
<!-- tell .net that this library will be used as a plugin -->
|
|
||||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
|
||||||
|
|
||||||
<PackageType>Template</PackageType>
|
|
||||||
<PackageVersion>5.0.1</PackageVersion>
|
<PackageVersion>5.0.1</PackageVersion>
|
||||||
<PackageId>ellie-marmalade</PackageId>
|
<PackageId>ellie-marmalade</PackageId>
|
||||||
<Title>Ellie Marmalade Template</Title>
|
<Title>Ellie Marmalade Template</Title>
|
||||||
<Authors>EllieBot Team</Authors>
|
<Authors>EllieBot Team</Authors>
|
||||||
<Description>Template in order to create a ellie marmalade.</Description>
|
<Description>Template in order to create a ellie marmalade.</Description>
|
||||||
<PackageTags>dotnet-new;templates</PackageTags>
|
<PackageTags>dotnet-new;templates</PackageTags>
|
||||||
|
<PackageProjectUrl>https://toastielab.dev/Emotions-stuff/ellie-marmalade</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>
|
||||||
|
|
||||||
<ItemGroup>
|
<PropertyGroup>
|
||||||
<!-- Base marmalade package. You MUST reference this in order to have a working marmalade -->
|
<LocalizeTemplates>false</LocalizeTemplates>
|
||||||
<PackageReference Include="Ellie.Marmalade" Version="5.*-*">
|
</PropertyGroup>
|
||||||
<PrivateAssets>all</PrivateAssets>
|
|
||||||
</PackageReference>
|
|
||||||
|
|
||||||
<!-- Note: If you want to use EllieBot services etc... You will have to manually clone
|
|
||||||
the https://toastielab.dev/Emotions-stuff/elliebot repo locally and reference the EllieBot.csproj because there is no EllieBot package atm.
|
|
||||||
It is strongly recommended that you checkout a specific tag which matches your version of ellie,
|
|
||||||
as there could be breaking changes even between minor versions of EllieBot.
|
|
||||||
For example if you're running EllieBot 4.1.0 locally for which you want to create a marmalade for,
|
|
||||||
you should do "git checkout 4.1.0" in your EllieBot solution and then reference the EllieBot.csproj
|
|
||||||
-->
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<!-- Copy shortcut and full strings to output (if they exist) -->
|
<!-- Copy shortcut and full strings to output (if they exist) -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Update="res.yml;cmds.yml;strings/**">
|
<PackageReference Include="Microsoft.TemplateEngine.Tasks" Version="*" PrivateAssets="all" IsImplicitlyDefined="true"/>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include=".template.config\template.json" />
|
<Content Include="content\**\*" Exclude="content\**\bin\**;content\**\obj\**" />
|
||||||
|
<Compile Remove="**\*" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="README.md" Pack="true" PackagePath="" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
Loading…
Reference in a new issue