Skip to content

Commit a8407e5

Browse files
committed
Update VSIX
1 parent 519fc98 commit a8407e5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ProjectTemplates/How to create new template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ After making any changes do:
55
1. Select Release configuration for a solution
66
1. Select ReferenceProject in "Solution Explorer" and click "Project/Export Template..." menu item from the VS main menu
77
1. In the appeared dialog box select "Project template" option and "ReferenceProject" in the combobox below and click Next
8-
1. Set the value "ASP.Net WebAPI Application with OWIN" as a template name
8+
1. Set the value "ASP.Net WebAPI Application with OWIN" as a template name and "Project template to create production-ready RESTful service based on ASP.Net WebAPI and OWIN. It contains preconfigured DI-container, logging, CORS, JWT-bearer authentication, boilerplate code and other features" as a description
99
1. Clear checkbox "Automatically import the template into Visual Studio" if you don't want immediately import it and click Finish button
1010
1. Extract all files from the created zip-archive to any folder as you want. Typically, the file can be found in "C:\Users\<YOU>\Documents\Visual Studio 2017\My Exported Templates" folder
1111
1. Open ReferenceProject.csproj file in any text editor and find "DocumentationFile" tag
12-
1. Replace string "%24safeprojectname%24" to "$safeprojectname$" inside it and save the file
12+
1. Replace the string "ReferenceProject.xml" to "$safeprojectname$.xml" inside it and save the file
1313
1. Replace a file "MyTemplate.vstemplate" with the one from the project folder with the same name
1414
1. Add all files from the folder to zip-archive with a name "ASP.Net WebAPI Application with OWIN.zip"
1515
1. Copy this file to "ProjectTemplates\AspNet.WebApi\ReferenceProject\ReferenceProjectVSIX\ProjectTemplates\CSharp\Web" folder and replace an existing one
16-
1. Go to VS, expand a ReferenceProjectVSIX project and double click on source.extension.vsixmanifest file
16+
1. Go to VS, expand a ReferenceProjectVSIX project and double click on a "source.extension.vsixmanifest" file
1717
1. Increase minor version number on the tab "Metadata" in the top right corner
1818
1. Rebuild the ReferenceProjectVSIX project and get "ASP.Net WebAPI Application Project Template.vsix"
1919

-10 Bytes
Binary file not shown.

ProjectTemplates/ReferenceProjectVSIX/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<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">
33
<Metadata>
4-
<Identity Id="ASP.Net WebAPI Application Project Template-1" Version="1.6" Language="en-US" Publisher="Sergey Tregub" />
4+
<Identity Id="ASP.Net WebAPI Application Project Template-1" Version="1.7" Language="en-US" Publisher="Sergey Tregub" />
55
<DisplayName>ASP.Net WebAPI Application Project Template</DisplayName>
66
<Description xml:space="preserve">Project template to create production-ready RESTful service based on ASP.Net WebAPI and OWIN. It contains preconfigured DI-container, logging, CORS, JWT-bearer authentication, boilerplate code and other features</Description>
77
<MoreInfo>https://github.com/drwatson1/AspNet-WebApi</MoreInfo>

0 commit comments

Comments
 (0)