Skip to content

Commit 53056e1

Browse files
committed
fix the XmlNotepad.template.settings and the templates
1 parent 15c1240 commit 53056e1

14 files changed

Lines changed: 65 additions & 42 deletions

notes.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/Application/Application.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@
7373
<PropertyGroup>
7474
<ApplicationManifest>app.manifest</ApplicationManifest>
7575
</PropertyGroup>
76+
<PropertyGroup>
77+
<SignManifests>true</SignManifests>
78+
</PropertyGroup>
7679
<ItemGroup>
7780
<Reference Include="Microsoft.Web.WebView2.Core, Version=1.0.3595.46, Culture=neutral, PublicKeyToken=2a8ab48044d2601e, processorArchitecture=MSIL">
7881
<HintPath>..\packages\Microsoft.Web.WebView2.1.0.3595.46\lib\net462\Microsoft.Web.WebView2.Core.dll</HintPath>
@@ -249,6 +252,7 @@
249252
</EmbeddedResource>
250253
<Content Include="Resources\XmlNotepad.template.settings">
251254
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
255+
<Generator>SettingsSingleFileGenerator</Generator>
252256
</Content>
253257
</ItemGroup>
254258
<ItemGroup>

src/Application/Resources/XmlNotepad.template.Designer.cs

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Application/Resources/XmlNotepad.template.settings

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<FontSize>10</FontSize>
2121
<FontStyle>Normal</FontStyle>
2222
<FontWeight>Normal</FontWeight>
23-
<IgnoreDTD>False</IgnoreDTD>
2423
<IndentChar>Space</IndentChar>
2524
<IndentLevel>2</IndentLevel>
2625
<LightColors>
@@ -52,7 +51,6 @@
5251
<WindowBounds>0, 0, 0, 0</WindowBounds>
5352
<XmlDiffIgnoreChildOrder>False</XmlDiffIgnoreChildOrder>
5453
<XmlDiffIgnoreComments>False</XmlDiffIgnoreComments>
55-
<XmlDiffIgnoreDtd>False</XmlDiffIgnoreDtd>
5654
<XmlDiffIgnoreNamespaces>False</XmlDiffIgnoreNamespaces>
5755
<XmlDiffIgnorePI>False</XmlDiffIgnorePI>
5856
<XmlDiffIgnorePrefixes>False</XmlDiffIgnorePrefixes>

src/Updates/Updates.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<history>https://github.com/microsoft/XmlNotepad/blob/master/src/Updates/Updates.xml</history>
1010
<frequency>1.00:00:00</frequency>
1111
</application>
12-
<version number="2.9.0.18">
13-
<feature>Fix issue security advisory on DTD processing.</feature>
12+
<version number="2.9.0.20">
13+
<feature>Fix issue security advisory on DTD processing. Make default Ignore DTD option True, which is more secure.</feature>
1414
</version>
1515
<version number="2.9.0.17">
1616
<feature>Fix issue #463: Don't add a missing XML declaration on save.</feature>

src/Version/Version.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
//
1818
// Version.props is the Master version number from which UpdateVersions will propagate to
1919
// this file, Package.appxmanifest, Product.wxs, Bundle.wxs and Application.csproj.
20-
[assembly: AssemblyVersion("2.9.0.19")]
21-
[assembly: AssemblyFileVersion("2.9.0.19")]
20+
[assembly: AssemblyVersion("2.9.0.20")]
21+
[assembly: AssemblyFileVersion("2.9.0.20")]

src/Version/Version.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<ApplicationRevision>0</ApplicationRevision>
5-
<ApplicationVersion>2.9.0.19</ApplicationVersion>
5+
<ApplicationVersion>2.9.0.20</ApplicationVersion>
66
<Version>$(ApplicationVersion)</Version>
77
<Authors>Chris Lovett</Authors>
88
<Product>XmlNotepad</Product>

src/XmlNotepadBundle/Bundle.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
3-
<Bundle Name="XML Notepad" Version="2.9.0.19" Manufacturer="Lovett Software" UpgradeCode="b39cd92c-6bf2-4f4c-9e2c-fb402781a316">
3+
<Bundle Name="XML Notepad" Version="2.9.0.20" Manufacturer="Lovett Software" UpgradeCode="b39cd92c-6bf2-4f4c-9e2c-fb402781a316">
44
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
55
<bal:WixStandardBootstrapperApplication LicenseFile="..\Application\license.rtf" ShowVersion="yes" />
66
</BootstrapperApplicationRef>

src/XmlNotepadPackage/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap rescap">
3-
<Identity Name="43906ChrisLovett.XmlNotepad" Publisher="CN=BC801FCC-0BF8-49D7-9F51-1B625C3BE476" Version="2.9.0.19" />
3+
<Identity Name="43906ChrisLovett.XmlNotepad" Publisher="CN=Chris Lovett, O=Chris Lovett, S=Washington, C=US" Version="2.9.0.20" />
44
<Properties>
55
<DisplayName>XmlNotepad</DisplayName>
66
<PublisherDisplayName>Chris Lovett</PublisherDisplayName>

src/XmlNotepadPackage/XmlNotepadPackage.wapproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
<TargetPlatformVersion>10.0.17763.0</TargetPlatformVersion>
5656
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
5757
<DefaultLanguage>en-US</DefaultLanguage>
58-
<AppxPackageSigningEnabled>False</AppxPackageSigningEnabled>
59-
<PackageCertificateThumbprint>50D58171E20BB6188B199ACA7C20A26DA0DFBF35</PackageCertificateThumbprint>
58+
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
59+
<PackageCertificateThumbprint>F0DEC4CF1C07CB9E44E29D98389072C8579D5E79</PackageCertificateThumbprint>
6060
<EntryPointProjectUniqueName>..\Application\Application.csproj</EntryPointProjectUniqueName>
6161
<GenerateAppInstallerFile>True</GenerateAppInstallerFile>
6262
<AppxPackageSigningTimestampServerUrl>http://timestamp.sectigo.com</AppxPackageSigningTimestampServerUrl>

0 commit comments

Comments
 (0)