Compare commits

...

3 commits

Author SHA1 Message Date
748cf60ea0
Updated repo links. 2024-12-22 20:09:12 +13:00
a85b32c3e1
Nuget api key error fix? 2024-09-16 00:22:52 +12:00
154cad8d11
Potential fix for missing ellie-marmalade template 2024-09-16 00:19:03 +12:00
8 changed files with 72 additions and 35 deletions

View file

@ -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). -->

View 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>
<!-- &lt;!&ndash; Use latest .net features &ndash;&gt;-->
<!-- <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/EllieBotDevs/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>

View file

@ -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>
<!-- &lt;!&ndash; Use latest .net features &ndash;&gt;-->
<!-- <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/EllieBotDevs/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>
</Project>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="" />
</ItemGroup>
</Project>