Skip to content

Commit

Permalink
Merge pull request #741 from valadas/pb-module-template
Browse files Browse the repository at this point in the history
Implemented additional template for Persona Bar modules
  • Loading branch information
valadas authored Aug 30, 2024
2 parents 5763550 + 104a135 commit 7efb59b
Show file tree
Hide file tree
Showing 102 changed files with 6,681 additions and 50 deletions.
42 changes: 42 additions & 0 deletions Eraware_Dnn_Templates.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,64 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionIt
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eraware_PersonaBarModuleTemplate", "Eraware_PersonaBarModuleTemplate\Eraware_PersonaBarModuleTemplate.csproj", "{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|arm64 = Debug|arm64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|arm64 = Release|arm64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Debug|arm64.ActiveCfg = Debug|arm64
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Debug|arm64.Build.0 = Debug|arm64
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Debug|x86.ActiveCfg = Debug|x86
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Debug|x86.Build.0 = Debug|x86
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Release|Any CPU.Build.0 = Release|Any CPU
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Release|arm64.ActiveCfg = Release|arm64
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Release|arm64.Build.0 = Release|arm64
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Release|x86.ActiveCfg = Release|x86
{1AABA73D-8159-4BD7-BD86-F711E9BF8106}.Release|x86.Build.0 = Release|x86
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Debug|arm64.ActiveCfg = Debug|arm64
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Debug|arm64.Build.0 = Debug|arm64
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Debug|x86.ActiveCfg = Debug|x86
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Debug|x86.Build.0 = Debug|x86
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Release|Any CPU.Build.0 = Release|Any CPU
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Release|arm64.ActiveCfg = Release|arm64
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Release|arm64.Build.0 = Release|arm64
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Release|x86.ActiveCfg = Release|x86
{6C652B7C-F011-419E-B90D-F75AB49A8F4B}.Release|x86.Build.0 = Release|x86
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Debug|arm64.ActiveCfg = Debug|Any CPU
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Debug|arm64.Build.0 = Debug|Any CPU
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Debug|x86.ActiveCfg = Debug|Any CPU
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Debug|x86.Build.0 = Debug|Any CPU
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Release|arm64.ActiveCfg = Release|Any CPU
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Release|arm64.Build.0 = Release|Any CPU
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Release|x86.ActiveCfg = Release|Any CPU
{DEC1FDF7-0D64-4992-BB69-0E15EA6E8088}.Release|x86.Build.0 = Release|Any CPU
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Debug|arm64.ActiveCfg = Debug|arm64
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Debug|arm64.Build.0 = Debug|arm64
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Debug|x86.ActiveCfg = Debug|x86
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Debug|x86.Build.0 = Debug|x86
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Release|Any CPU.Build.0 = Release|Any CPU
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Release|arm64.ActiveCfg = Release|arm64
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Release|arm64.Build.0 = Release|arm64
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Release|x86.ActiveCfg = Release|x86
{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
28 changes: 17 additions & 11 deletions Eraware_Dnn_Templates/Eraware_Dnn_Templates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<RuntimeIdentifier>win</RuntimeIdentifier>
<RuntimeIdentifier>win</RuntimeIdentifier>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
Expand Down Expand Up @@ -97,15 +97,6 @@
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Eraware_Dnn_Spa_Ef_Di_Stencil\Eraware_Dnn_Spa_Ef_Di_Stencil.csproj">
<Project>{6C652B7C-F011-419E-B90D-F75AB49A8F4B}</Project>
<Name>Eraware_Dnn_Spa_Ef_Di_Stencil</Name>
<VSIXSubPath>ProjectTemplates</VSIXSubPath>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<IncludeOutputGroupsInVSIX>TemplateProjectOutputGroup%3b</IncludeOutputGroupsInVSIX>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Eraware.ico">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand All @@ -118,7 +109,22 @@
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<ProjectReference Include="..\Eraware_Dnn_Spa_Ef_Di_Stencil\Eraware_Dnn_Spa_Ef_Di_Stencil.csproj">
<Project>{6C652B7C-F011-419E-B90D-F75AB49A8F4B}</Project>
<Name>Eraware_Dnn_Spa_Ef_Di_Stencil</Name>
<VSIXSubPath>ProjectTemplates\Eraware_Dnn_Spa_Ef_Di_Stencil</VSIXSubPath>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<IncludeOutputGroupsInVSIX>TemplateProjectOutputGroup%3b</IncludeOutputGroupsInVSIX>
</ProjectReference>
<ProjectReference Include="..\Eraware_PersonaBarModuleTemplate\Eraware_PersonaBarModuleTemplate.csproj">
<Project>{AC17427B-56DF-49BB-B9D1-D59A3C5F0C69}</Project>
<Name>Eraware_PersonaBarModuleTemplate</Name>
<VSIXSubPath>ProjectTemplates\Eraware_PersonaBarModuleTemplate</VSIXSubPath>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<IncludeOutputGroupsInVSIX>TemplateProjectOutputGroup%3b</IncludeOutputGroupsInVSIX>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != ''" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
79 changes: 40 additions & 39 deletions Eraware_Dnn_Templates/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="Eraware_Dnn_Templates.e12cae32-028f-413c-85f0-b294a18224bf" Version="1.6.0" Language="en-US" Publisher="Daniel Valadas" />
<DisplayName>Eraware_Dnn_Templates</DisplayName>
<Description xml:space="preserve">A WebAPI/WebComponents module template for DNN extensions.</Description>
<License>LICENSE</License>
<GettingStartedGuide>https://github.com/valadas/Eraware_Dnn_Templates#readme</GettingStartedGuide>
<Icon>Eraware.ico</Icon>
<Tags>dnn</Tags>
</Metadata>
<Installation>
<InstallationTarget Version="[16.0,17.0)" Id="Microsoft.VisualStudio.Community">
<ProductArchitecture>x86</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[16.0,17.0)" Id="Microsoft.VisualStudio.Pro">
<ProductArchitecture>x86</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[16.0,17.0)" Id="Microsoft.VisualStudio.Enterprise">
<ProductArchitecture>x86</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Community">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Pro">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Enterprise">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" d:InstallSource="Download" Location="https://dotnet.microsoft.com/en-us/download/visual-studio-sdks" />
</Dependencies>
<Assets>
<Asset Type="Microsoft.VisualStudio.Assembly" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" AssemblyName="|%CurrentProject%;AssemblyName|" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="Eraware_Dnn_Spa_Ef_Di_Stencil" d:TargetPath="|Eraware_Dnn_Spa_Ef_Di_Stencil;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
</Assets>
<Prerequisites>
<Prerequisite Id="Microsoft.Net.ComponentGroup.DevelopmentPrerequisites" Version="[17.0.31804.368,18.0)" DisplayName=".NET Framework 4.7.2 development tools" />
</Prerequisites>
<Metadata>
<Identity Id="Eraware_Dnn_Templates.e12cae32-028f-413c-85f0-b294a18224bf" Version="1.6.0" Language="en-US" Publisher="Daniel Valadas" />
<DisplayName>Eraware_Dnn_Templates</DisplayName>
<Description xml:space="preserve">A WebAPI/WebComponents module template for DNN extensions.</Description>
<License>LICENSE</License>
<GettingStartedGuide>https://github.com/valadas/Eraware_Dnn_Templates#readme</GettingStartedGuide>
<Icon>Eraware.ico</Icon>
<Tags>dnn</Tags>
</Metadata>
<Installation>
<InstallationTarget Version="[16.0,17.0)" Id="Microsoft.VisualStudio.Community">
<ProductArchitecture>x86</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[16.0,17.0)" Id="Microsoft.VisualStudio.Pro">
<ProductArchitecture>x86</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[16.0,17.0)" Id="Microsoft.VisualStudio.Enterprise">
<ProductArchitecture>x86</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Community">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Pro">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
<InstallationTarget Version="[17.0,18.0)" Id="Microsoft.VisualStudio.Enterprise">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" d:InstallSource="Download" Location="https://dotnet.microsoft.com/en-us/download/visual-studio-sdks" />
</Dependencies>
<Assets>
<Asset Type="Microsoft.VisualStudio.Assembly" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%|" AssemblyName="|%CurrentProject%;AssemblyName|" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="Eraware_Dnn_Spa_Ef_Di_Stencil" d:TargetPath="|Eraware_Dnn_Spa_Ef_Di_Stencil;TemplateProjectOutputGroup|" Path="ProjectTemplates\Eraware_Dnn_Spa_Ef_Di_Stencil" d:VsixSubPath="ProjectTemplates\Eraware_Dnn_Spa_Ef_Di_Stencil" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="Eraware_PersonaBarModuleTemplate" d:TargetPath="|Eraware_PersonaBarModuleTemplate;TemplateProjectOutputGroup|" Path="ProjectTemplates\Eraware_PersonaBarModuleTemplate" d:VsixSubPath="ProjectTemplates\Eraware_PersonaBarModuleTemplate" />
</Assets>
<Prerequisites>
<Prerequisite Id="Microsoft.Net.ComponentGroup.DevelopmentPrerequisites" Version="[17.0.31804.368,18.0)" DisplayName=".NET Framework 4.7.2 development tools" />
</Prerequisites>
</PackageManifest>
36 changes: 36 additions & 0 deletions Eraware_PersonaBarModuleTemplate/AssemblyInfo.cs
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("Eraware_PersonaBarModuleTemplate")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Daniel Valadas")]
[assembly: AssemblyProduct("Eraware_PersonaBarModuleTemplate")]
[assembly: AssemblyCopyright("Copyright © Daniel Valadas 2024")]
[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("ac17427b-56df-49bb-b9d1-d59a3c5f0c69")]

// 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")]
Binary file added Eraware_PersonaBarModuleTemplate/Eraware.ico
Binary file not shown.
Loading

0 comments on commit 7efb59b

Please sign in to comment.