Skip to content

Commit

Permalink
8.1.2-beta.1
Browse files Browse the repository at this point in the history
rebase upstream/master for issue christopherrobinson#6 (christopherrobinson#7)
merge christopherrobinson#9
Nuget package support
  • Loading branch information
nvisage-gf committed Feb 26, 2022
1 parent de9ad4f commit 7a13cb1
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 41 deletions.
7 changes: 5 additions & 2 deletions .Nuget/Virtual-Nodes-for-Umbraco-8.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<id>Virtual-Nodes-for-Umbraco-8</id>
<version>8.1.1.1-alpha.1</version>
<version>8.1.2-beta.1</version>
<title>Virtual-Nodes-for-Umbraco-8</title>
<authors>https://github.com/christopherrobinson/</authors>
<owners>https://github.com/christopherrobinson/Virtual-Nodes-for-Umbraco-8/</owners>
<description>A rewrite of Umbraco-VirtualNodes from Sotiris Filippidis to make it compatible with Umbraco 8.1+.</description>
<summary>This plugin lets you define document types that will be excluded from generated URLs., thus making them "invisible".</summary>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<language>en-GB</language>
<tags>Umbraco 8 Virtual Node URL ContentFinder</tags>
<tags>Umbraco 8 Virtual Node URL ContentFinder</tags>
<projectUrl>https://github.com/nvisage-gf/Virtual-Nodes-for-Umbraco-8</projectUrl>
<readme>README.md</readme>
<license type="expression">MIT</license>
<dependencies>
<group targetFramework=".NETFramework4.7.2">
<dependency id="UmbracoCms.Core" version="[8.1,9)" />
Expand All @@ -20,6 +22,7 @@
</dependencies>
</metadata>
<files>
<file src="..\README.md" target="" />
<file src="..\VirtualNodes\bin\Release\VirtualNodes.dll" target="lib\net472" />
<file src="..\VirtualNodes\bin\Release\VirtualNodes.pdb" target="lib\net472" />
<file src="..\VirtualNodes\**\*.cs" target="src" />
Expand Down
2 changes: 1 addition & 1 deletion .Nuget/web.config.install.xdt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings xdt:Transform="InsertIfMissing">
<add key="VirtualNodes" value="dog*,*cat,*mouse*" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
<add key="VirtualNodes" value="virtual*" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
</appSettings>
</configuration>
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -352,3 +352,4 @@ MigrationBackup/
.Nuget/NuGetPack.cmd

.Nuget/NuGetPush-MyGet.cmd
*.user
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This plugin lets you define document types that will be excluded from generated

## Change Log

- 8.1.1.0-alpha: enable runtime cache,
- 8.1.2-beta.1: VirtualNodesContentFinder update to ensure cached dictionary updated

## Usage
After you include this plugin you must have to add a single `appSettings` entry to your `web.config` file, e.g.
Expand Down Expand Up @@ -74,6 +74,13 @@ articles

To keep things simple the auto numbering of nodes only go one level up - if you have multiple virtual nodes under each other and multiple nodes with the same name in different levels then you will run into problems.

## h5
## Nuget Package

Update `.Nuget\\Virtual-Nodes-for-Umbraco-8.nuspec` manually for now.

Example pack command:

`
nuget pack Virtual-Nodes-for-Umbraco-8.nuspec -Build -Symbols -Version 8.1.2 -Suffix beta -Properties Configuration=Debug
`

[Heather Floyd](https://github.com/hfloyd)
13 changes: 11 additions & 2 deletions VirtualNodes.sln
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.757
# Visual Studio Version 16
VisualStudioVersion = 16.0.32126.315
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VirtualNodes", "VirtualNodes\VirtualNodes.csproj", "{3CEEA23B-3ECE-4CFF-B44A-551EDF7D2270}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FD069AC4-886E-42B1-A00F-C557BEDB6D55}"
ProjectSection(SolutionItems) = preProject
LICENSE.md = LICENSE.md
README.md = README.md
.Nuget\Virtual-Nodes-for-Umbraco-8.nuspec = .Nuget\Virtual-Nodes-for-Umbraco-8.nuspec
.Nuget\web.config.install.xdt = .Nuget\web.config.install.xdt
.Nuget\web.config.uninstall.xdt = .Nuget\web.config.uninstall.xdt
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
2 changes: 1 addition & 1 deletion VirtualNodes/App.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="VirtualNodes" value="dog*,*cat,*mouse*" />
<add key="VirtualNodes" value="virtual*" />
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
Expand Down
6 changes: 3 additions & 3 deletions VirtualNodes/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("8.1.1.0")]
[assembly: AssemblyFileVersion("8.1.1.0")]
[assembly: AssemblyInformationalVersion ("8.1.1.1-alpha.1")]
[assembly: AssemblyVersion("8.1.2.0")]
[assembly: AssemblyFileVersion("8.1.2.0")]
[assembly: AssemblyInformationalVersion ("8.1.2-beta.1")]
29 changes: 0 additions & 29 deletions VirtualNodes/Virtual-Nodes-for-Umbraco-8.nuspec

This file was deleted.

0 comments on commit 7a13cb1

Please sign in to comment.