Use dotnet to build template NuGet
This commit is contained in:
Родитель
1e71bce9f2
Коммит
87343fdef9
|
@ -1,7 +1,6 @@
|
|||
# build output
|
||||
bin/
|
||||
obj/
|
||||
/*.nupkg
|
||||
|
||||
# user settings
|
||||
*.DotSettings.User
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.6.30114.105
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
|
@ -25,6 +25,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
|||
test\Directory.Build.props = test\Directory.Build.props
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Steeltoe.NetCoreTool.Templates", "src\Steeltoe.NetCoreTool.Templates.csproj", "{8C63F895-1AD7-47F1-8074-7E6832E59D62}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -71,6 +73,18 @@ Global
|
|||
{4AC4F8C3-22A0-4ACE-833F-32EEB2D9A697}.Release|x64.Build.0 = Release|Any CPU
|
||||
{4AC4F8C3-22A0-4ACE-833F-32EEB2D9A697}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{4AC4F8C3-22A0-4ACE-833F-32EEB2D9A697}.Release|x86.Build.0 = Release|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Release|x64.Build.0 = Release|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{8C63F895-1AD7-47F1-8074-7E6832E59D62}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageType>Template</PackageType>
|
||||
<PackageVersion>0.0.1</PackageVersion>
|
||||
<PackageId>Steeltoe.NetCoreTool.Templates</PackageId>
|
||||
<Title>Steeltoe Net Core Tool Templates</Title>
|
||||
<Authors>VMware</Authors>
|
||||
<Description>Templates for creating Steeltoe-influenced projects.</Description>
|
||||
<PackageTags>dotnet-new;templates;steeltoe</PackageTags>
|
||||
<NoDefaultExcludes>true</NoDefaultExcludes>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
|
||||
<IncludeContentInPack>true</IncludeContentInPack>
|
||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||
<ContentTargetFolders>content</ContentTargetFolders>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="Content\**\*" Exclude="Content\**\bin\**;Content\**\obj\**" />
|
||||
<Compile Remove="**\*" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>Steeltoe.NetCoreTool.Templates</id>
|
||||
<version>0.0.1</version>
|
||||
<description>
|
||||
Steeltoe .NET Core Tool templates.
|
||||
</description>
|
||||
<authors>VMware</authors>
|
||||
<license type="expression">Apache-2.0</license>
|
||||
<packageTypes>
|
||||
<packageType name="Template" />
|
||||
</packageTypes>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="Content/**/*.*" exclude="Content/**/bin/**/*.*;Content/**/obj/**/*.*" target="Content" />
|
||||
</files>
|
||||
</package>
|
|
@ -3,6 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<IsTestProject>false</IsTestProject>
|
||||
<IsPackable>false</IsPackable>
|
||||
<RootNamespace>Steeltoe.NetCoreTool.Template.Test.Utilities</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче