Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetOffice project templates v1.9 #6

Merged
merged 4 commits into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Project templates for Word, Excel, PowerPoint and Outlook add-ins
* Works in Visual Studio 2015, 2017, 2019 and 2022
* Works with Microsoft Office 2010, 2013, 2016, 2019 and Office 365
* NetOffice packages v1.8.1
* NetOffice packages v1.9.5

## Usage

Expand Down
14 changes: 11 additions & 3 deletions src/ExcelAddinTemplate/NetOfficeExcelAddin.vstemplate
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
<TemplateData>
<Name>NetOffice Excel Add-in</Name>
<Description>A project for creating Microsoft Excel add-in.</Description>
<Description>Project template for Microsoft Excel add-in.</Description>
<ProjectType>CSharp</ProjectType>
<ProjectSubType></ProjectSubType>
<SortOrder>1000</SortOrder>
Expand All @@ -12,6 +12,12 @@
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
<PromptForSaveOnCreation>true</PromptForSaveOnCreation>
<Icon>__TemplateIcon.ico</Icon>
<RequiredFrameworkVersion>4.6</RequiredFrameworkVersion>
<LanguageTag Value="csharp" />
<PlatformTag Value="windows" />
<ProjectTypeTag Value="desktop" />
<ProjectTypeTag Value="office" />
<ProjectTypeTag Value="NetOffice" />
</TemplateData>
<TemplateContent>
<Project TargetFileName="ExcelAddin.csproj" File="ExcelAddin.csproj" ReplaceParameters="true">
Expand All @@ -27,8 +33,10 @@
</WizardExtension>
<WizardData>
<packages repository="extension" repositoryId="NetOfficeExtension.56dcc096-5739-4feb-b94a-7736312e6312">
<package id="NetOfficeFw.Core" version="1.8.1" />
<package id="NetOfficeFw.Excel" version="1.8.1" />
<package id="NetOfficeFw.Core" version="1.9.5" />
<package id="NetOfficeFw.Excel" version="1.9.5" />
<package id="NetOfficeFw.Office" version="1.9.5" />
<package id="NetOfficeFw.VBIDE" version="1.9.5" />
</packages>
</WizardData>
</VSTemplate>
18 changes: 13 additions & 5 deletions src/NetOfficeExtension/NetOfficeExtension.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,31 @@
<Compile Include="MainPackage.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="packages\NetOfficeFw.Core.1.8.1.nupkg">
<Content Include="packages\NetOfficeFw.Core.1.9.5.nupkg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="packages\NetOfficeFw.Excel.1.8.1.nupkg">
<Content Include="packages\NetOfficeFw.Office.1.9.5.nupkg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="packages\NetOfficeFw.Outlook.1.8.1.nupkg">
<Content Include="packages\NetOfficeFw.VBIDE.1.9.5.nupkg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="packages\NetOfficeFw.PowerPoint.1.8.1.nupkg">
<Content Include="packages\NetOfficeFw.Excel.1.9.5.nupkg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="packages\NetOfficeFw.Word.1.8.1.nupkg">
<Content Include="packages\NetOfficeFw.Outlook.1.9.5.nupkg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="packages\NetOfficeFw.PowerPoint.1.9.5.nupkg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="packages\NetOfficeFw.Word.1.9.5.nupkg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 10 additions & 8 deletions src/NetOfficeExtension/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?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="NetOfficeExtension.56dcc096-5739-4feb-b94a-7736312e6312" Version="1.2" Language="en-US" Publisher="NetOffice" />
<DisplayName>NetOffice</DisplayName>
<Identity Id="NetOfficeExtension.56dcc096-5739-4feb-b94a-7736312e6312" Version="1.9" Language="en-US" Publisher="NetOffice" />
<DisplayName>NetOffice Templates</DisplayName>
<Description xml:space="preserve">NetOffice extensions for Microsoft Visual Studio.</Description>
<MoreInfo>https://netoffice.io</MoreInfo>
<License>LICENSE.txt</License>
Expand Down Expand Up @@ -38,7 +38,7 @@
</InstallationTarget>
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.6.2,)" />
</Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0,18.0)" DisplayName="Visual Studio core editor" />
Expand All @@ -49,10 +49,12 @@
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="OutlookAddinTemplate" d:TargetPath="|OutlookAddinTemplate;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="PowerPointAddinTemplate" d:TargetPath="|PowerPointAddinTemplate;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
<Asset Type="Microsoft.VisualStudio.ProjectTemplate" d:Source="Project" d:ProjectName="WordAddinTemplate" d:TargetPath="|WordAddinTemplate;TemplateProjectOutputGroup|" Path="ProjectTemplates" d:VsixSubPath="ProjectTemplates" />
<Asset Type="NetOfficeFw.Core.1.8.1.nupkg" d:Source="File" Path="packages\NetOfficeFw.Core.1.8.1.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.Excel.1.8.1.nupkg" d:Source="File" Path="packages\NetOfficeFw.Excel.1.8.1.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.Outlook.1.8.1.nupkg" d:Source="File" Path="packages\NetOfficeFw.Outlook.1.8.1.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.PowerPoint.1.8.1.nupkg" d:Source="File" Path="packages\NetOfficeFw.PowerPoint.1.8.1.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.Word.1.8.1.nupkg" d:Source="File" Path="packages\NetOfficeFw.Word.1.8.1.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.Core.1.9.5.nupkg" d:Source="File" Path="packages\NetOfficeFw.Core.1.9.5.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.Excel.1.9.5.nupkg" d:Source="File" Path="packages\NetOfficeFw.Excel.1.9.5.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.Office.1.9.5.nupkg" d:Source="File" Path="packages\NetOfficeFw.Office.1.9.5.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.Outlook.1.9.5.nupkg" d:Source="File" Path="packages\NetOfficeFw.Outlook.1.9.5.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.PowerPoint.1.9.5.nupkg" d:Source="File" Path="packages\NetOfficeFw.PowerPoint.1.9.5.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.VBIDE.1.9.5.nupkg" d:Source="File" Path="packages\NetOfficeFw.VBIDE.1.9.5.nupkg" d:VsixSubPath="packages" />
<Asset Type="NetOfficeFw.Word.1.9.5.nupkg" d:Source="File" Path="packages\NetOfficeFw.Word.1.9.5.nupkg" d:VsixSubPath="packages" />
</Assets>
</PackageManifest>
13 changes: 10 additions & 3 deletions src/OutlookAddinTemplate/NetOfficeOutlookAddin.vstemplate
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
<TemplateData>
<Name>NetOffice Outlook Add-in</Name>
<Description>A project for creating Microsoft Outlook add-in.</Description>
<Description>Project template for Microsoft Outlook add-in.</Description>
<ProjectType>CSharp</ProjectType>
<ProjectSubType></ProjectSubType>
<SortOrder>1000</SortOrder>
Expand All @@ -12,6 +12,12 @@
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
<PromptForSaveOnCreation>true</PromptForSaveOnCreation>
<Icon>__TemplateIcon.ico</Icon>
<RequiredFrameworkVersion>4.6</RequiredFrameworkVersion>
<LanguageTag Value="csharp" />
<PlatformTag Value="windows" />
<ProjectTypeTag Value="desktop" />
<ProjectTypeTag Value="office" />
<ProjectTypeTag Value="NetOffice" />
</TemplateData>
<TemplateContent>
<Project TargetFileName="OutlookAddin.csproj" File="OutlookAddin.csproj" ReplaceParameters="true">
Expand All @@ -27,8 +33,9 @@
</WizardExtension>
<WizardData>
<packages repository="extension" repositoryId="NetOfficeExtension.56dcc096-5739-4feb-b94a-7736312e6312">
<package id="NetOfficeFw.Core" version="1.8.1" />
<package id="NetOfficeFw.Outlook" version="1.8.1" />
<package id="NetOfficeFw.Core" version="1.9.5" />
<package id="NetOfficeFw.Office" version="1.9.5" />
<package id="NetOfficeFw.Outlook" version="1.9.5" />
</packages>
</WizardData>
</VSTemplate>
14 changes: 11 additions & 3 deletions src/PowerPointAddinTemplate/NetOfficePowerPointAddin.vstemplate
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
<TemplateData>
<Name>NetOffice PowerPoint Add-in</Name>
<Description>A project for creating Microsoft PowerPoint add-in.</Description>
<Description>Project template for Microsoft PowerPoint add-in.</Description>
<ProjectType>CSharp</ProjectType>
<ProjectSubType></ProjectSubType>
<SortOrder>1000</SortOrder>
Expand All @@ -12,6 +12,12 @@
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
<PromptForSaveOnCreation>true</PromptForSaveOnCreation>
<Icon>__TemplateIcon.ico</Icon>
<RequiredFrameworkVersion>4.6</RequiredFrameworkVersion>
<LanguageTag Value="csharp" />
<PlatformTag Value="windows" />
<ProjectTypeTag Value="desktop" />
<ProjectTypeTag Value="office" />
<ProjectTypeTag Value="NetOffice" />
</TemplateData>
<TemplateContent>
<Project TargetFileName="PowerPointAddin.csproj" File="PowerPointAddin.csproj" ReplaceParameters="true">
Expand All @@ -27,8 +33,10 @@
</WizardExtension>
<WizardData>
<packages repository="extension" repositoryId="NetOfficeExtension.56dcc096-5739-4feb-b94a-7736312e6312">
<package id="NetOfficeFw.Core" version="1.8.1" />
<package id="NetOfficeFw.PowerPoint" version="1.8.1" />
<package id="NetOfficeFw.Core" version="1.9.5" />
<package id="NetOfficeFw.Office" version="1.9.5" />
<package id="NetOfficeFw.PowerPoint" version="1.9.5" />
<package id="NetOfficeFw.VBIDE" version="1.9.5" />
</packages>
</WizardData>
</VSTemplate>
14 changes: 11 additions & 3 deletions src/WordAddinTemplate/NetOfficeWordAddin.vstemplate
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005" Type="Project">
<TemplateData>
<Name>NetOffice Word Add-in</Name>
<Description>A project for creating Microsoft Word add-in.</Description>
<Description>Project template for Microsoft Word add-in.</Description>
<ProjectType>CSharp</ProjectType>
<ProjectSubType></ProjectSubType>
<SortOrder>1000</SortOrder>
Expand All @@ -12,6 +12,12 @@
<EnableLocationBrowseButton>true</EnableLocationBrowseButton>
<PromptForSaveOnCreation>true</PromptForSaveOnCreation>
<Icon>__TemplateIcon.ico</Icon>
<RequiredFrameworkVersion>4.6</RequiredFrameworkVersion>
<LanguageTag Value="csharp" />
<PlatformTag Value="windows" />
<ProjectTypeTag Value="desktop" />
<ProjectTypeTag Value="office" />
<ProjectTypeTag Value="NetOffice" />
</TemplateData>
<TemplateContent>
<Project TargetFileName="WordAddin.csproj" File="WordAddin.csproj" ReplaceParameters="true">
Expand All @@ -27,8 +33,10 @@
</WizardExtension>
<WizardData>
<packages repository="extension" repositoryId="NetOfficeExtension.56dcc096-5739-4feb-b94a-7736312e6312">
<package id="NetOfficeFw.Core" version="1.8.1" />
<package id="NetOfficeFw.Word" version="1.8.1" />
<package id="NetOfficeFw.Core" version="1.9.5" />
<package id="NetOfficeFw.Office" version="1.9.5" />
<package id="NetOfficeFw.VBIDE" version="1.9.5" />
<package id="NetOfficeFw.Word" version="1.9.5" />
</packages>
</WizardData>
</VSTemplate>