-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#140) Copied templates into 64bit folder
So that we can start creating a new VS 2022 specific version of the templates, where the only thing that is different is the repositoryId in the manifest file. Annoying that this has to be done, but hopefully only temporary until we switch to using different template solution.
- Loading branch information
Showing
32 changed files
with
1,231 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
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,36 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<VSTemplate Version="3.0.0" Type="Project" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010"> | ||
<TemplateData> | ||
<Name>Cake Addin</Name> | ||
<Description>Basic project template for creating a new Cake addin</Description> | ||
<Icon>AddinTemplate.ico</Icon> | ||
<ProjectType>CSharp</ProjectType> | ||
<LanguageTag>csharp</LanguageTag> | ||
<PlatformTag>linux</PlatformTag> | ||
<PlatformTag>windows</PlatformTag> | ||
<PlatformTag>macos</PlatformTag> | ||
<ProjectTypeTag>Cake</ProjectTypeTag> | ||
<RequiredFrameworkVersion>4.5</RequiredFrameworkVersion> | ||
<SortOrder>1000</SortOrder> | ||
<TemplateID>10dcbe21-0d84-4a5b-88a3-220e234a7211</TemplateID> | ||
<CreateNewFolder>true</CreateNewFolder> | ||
<DefaultName>Cake.Addin</DefaultName> | ||
<ProvideDefaultName>true</ProvideDefaultName> | ||
<PromptForSaveOnCreation>true</PromptForSaveOnCreation> | ||
</TemplateData> | ||
<TemplateContent> | ||
<Project File="ProjectTemplate.csproj" ReplaceParameters="true"> | ||
<ProjectItem ReplaceParameters="true" TargetFileName="Properties\AssemblyInfo.cs">AssemblyInfo.cs</ProjectItem> | ||
<ProjectItem ReplaceParameters="true" OpenInEditor="true">Aliases.cs</ProjectItem> | ||
</Project> | ||
</TemplateContent> | ||
<WizardExtension> | ||
<Assembly>NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly> | ||
<FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName> | ||
</WizardExtension> | ||
<WizardData> | ||
<packages repository="extension" repositoryId="ad71f4ec-6358-47a3-8a27-d9dc61d0606b"> | ||
<package id="Cake.Core" version="0.38.5" /> | ||
</packages> | ||
</WizardData> | ||
</VSTemplate> |
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,102 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion> | ||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> | ||
<PublishUrl>publish\</PublishUrl> | ||
<Install>true</Install> | ||
<InstallFrom>Disk</InstallFrom> | ||
<UpdateEnabled>false</UpdateEnabled> | ||
<UpdateMode>Foreground</UpdateMode> | ||
<UpdateInterval>7</UpdateInterval> | ||
<UpdateIntervalUnits>Days</UpdateIntervalUnits> | ||
<UpdatePeriodically>false</UpdatePeriodically> | ||
<UpdateRequired>false</UpdateRequired> | ||
<MapFileExtensions>true</MapFileExtensions> | ||
<ApplicationRevision>0</ApplicationRevision> | ||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> | ||
<IsWebBootstrapper>false</IsWebBootstrapper> | ||
<UseApplicationTrust>false</UseApplicationTrust> | ||
<BootstrapperEnabled>true</BootstrapperEnabled> | ||
<NuGetPackageImportStamp> | ||
</NuGetPackageImportStamp> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<ProjectGuid>{FCE573DD-E74E-4AB1-9D17-56FC8869797F}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>AddinTemplate</RootNamespace> | ||
<AssemblyName>AddinTemplate</AssemblyName> | ||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<GeneratePkgDefFile>false</GeneratePkgDefFile> | ||
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer> | ||
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer> | ||
<IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment> | ||
<CreateVsixContainer>false</CreateVsixContainer> | ||
<DeployExtension>false</DeployExtension> | ||
<DeployVSTemplates>false</DeployVSTemplates> | ||
<CopyVsixManifestToOutput>false</CopyVsixManifestToOutput> | ||
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory> | ||
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Microsoft.VisualStudio.CoreUtility"> | ||
<Private>False</Private> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="AssemblyInfo.cs" /> | ||
<None Include="Aliases.cs" /> | ||
<None Include="ProjectTemplate.csproj" /> | ||
<None Include="AddinTemplate.ico" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<VSTemplate Include="AddinTemplate.vstemplate"> | ||
<SubType>Designer</SubType> | ||
<OutputSubPath>Cake</OutputSubPath> | ||
</VSTemplate> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2"> | ||
<Visible>False</Visible> | ||
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName> | ||
<Install>true</Install> | ||
</BootstrapperPackage> | ||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> | ||
<Visible>False</Visible> | ||
<ProductName>.NET Framework 3.5 SP1</ProductName> | ||
<Install>false</Install> | ||
</BootstrapperPackage> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" /> | ||
</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,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; | ||
$endif$using System.Text; | ||
using Cake.Core; | ||
using Cake.Core.Annotations; | ||
using Cake.Core.Diagnostics; | ||
|
||
namespace $safeprojectname$ | ||
{ | ||
[CakeAliasCategory("Sample")] | ||
public static class AddinAliases | ||
{ | ||
[CakeMethodAlias] | ||
public static void Hello(this ICakeContext ctx, string name) | ||
{ | ||
ctx.Log.Information("Hello " + name); | ||
} | ||
} | ||
} |
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,36 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("$projectname$")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("$registeredorganization$")] | ||
[assembly: AssemblyProduct("$projectname$")] | ||
[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("$guid1$")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
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,62 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>$guid1$</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>$safeprojectname$</RootNamespace> | ||
<AssemblyName>$safeprojectname$</AssemblyName> | ||
<TargetFrameworkVersion>v$targetframeworkversion$</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<DocumentationFile>$safeprojectname$.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<DocumentationFile>$safeprojectname$.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System"/> | ||
$if$ ($targetframeworkversion$ >= 3.5) | ||
<Reference Include="System.Core"/> | ||
<Reference Include="System.Xml.Linq"/> | ||
<Reference Include="System.Data.DataSetExtensions"/> | ||
$endif$ | ||
$if$ ($targetframeworkversion$ >= 4.0) | ||
<Reference Include="Microsoft.CSharp"/> | ||
$endif$ | ||
<Reference Include="System.Data"/> | ||
<Reference Include="System.Xml"/> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Aliases.cs" /> | ||
|
||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
|
||
</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,34 @@ | ||
using System.Reflection; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("AddinTemplate")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyProduct("AddinTemplate")] | ||
[assembly: AssemblyCopyright("Copyright (c) .NET Foundation and Contributors")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("fce573dd-e74e-4ab1-9d17-56fc8869797f")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("0.1.2.0")] | ||
[assembly: AssemblyFileVersion("0.1.2.0")] |
45 changes: 45 additions & 0 deletions
45
template/64bit/AddinTestBasicTemplate/AddinTestBasicTemplate.vstemplate
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,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<VSTemplate Version="3.0.0" Type="Project" | ||
xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" | ||
xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010"> | ||
<TemplateData> | ||
<Name>Cake Addin Unit Test Project (empty)</Name> | ||
<Description>Basic project template for creating unit tests for a Cake addin</Description> | ||
<Icon>CakeTestTemplate.ico</Icon> | ||
<ProjectType>CSharp</ProjectType> | ||
<LanguageTag>csharp</LanguageTag> | ||
<PlatformTag>linux</PlatformTag> | ||
<PlatformTag>windows</PlatformTag> | ||
<PlatformTag>macos</PlatformTag> | ||
<ProjectTypeTag>Cake</ProjectTypeTag> | ||
<RequiredFrameworkVersion>4.5</RequiredFrameworkVersion> | ||
<SortOrder>1000</SortOrder> | ||
<TemplateID>8632940c-cc4f-4a8a-abc9-79c00818f4ef</TemplateID> | ||
<CreateNewFolder>true</CreateNewFolder> | ||
<DefaultName>Cake.AddinTests</DefaultName> | ||
<ProvideDefaultName>true</ProvideDefaultName> | ||
</TemplateData> | ||
<TemplateContent> | ||
<Project File="ProjectTemplate.csproj" ReplaceParameters="true"> | ||
<ProjectItem ReplaceParameters="true" TargetFileName="Properties\AssemblyInfo.cs">AssemblyInfo.cs</ProjectItem> | ||
<ProjectItem ReplaceParameters="true" OpenInEditor="true">AddinTests.cs</ProjectItem> | ||
</Project> | ||
</TemplateContent> | ||
<WizardExtension> | ||
<Assembly>NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly> | ||
<FullClassName>NuGet.VisualStudio.TemplateWizard</FullClassName> | ||
</WizardExtension> | ||
<WizardData> | ||
<packages repository="extension" repositoryId="ad71f4ec-6358-47a3-8a27-d9dc61d0606b"> | ||
<package id="Cake.Core" version="0.38.5" /> | ||
<package id="Cake.Testing" version="0.38.5" /> | ||
<package id="xunit" version="2.4.1" targetFramework="net452" /> | ||
<package id="xunit.abstractions" version="2.0.3" targetFramework="net452" /> | ||
<package id="xunit.assert" version="2.4.1" targetFramework="net452" /> | ||
<package id="xunit.core" version="2.4.1" targetFramework="net452" /> | ||
<package id="xunit.extensibility.core" version="2.4.1" targetFramework="net452" /> | ||
<package id="xunit.extensibility.execution" version="2.4.1" targetFramework="net452" /> | ||
<package id="xunit.runner.visualstudio" version="2.4.3" targetFramework="net452" /> | ||
</packages> | ||
</WizardData> | ||
</VSTemplate> |
Oops, something went wrong.