Skip to content

Commit 837cc1f

Browse files
committed
Fixed UWP demo and updated demo projects
1 parent 64012d9 commit 837cc1f

File tree

8 files changed

+26
-45
lines changed

8 files changed

+26
-45
lines changed

QRCoder.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ Global
6060
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
6161
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Debug|ARM.ActiveCfg = Debug|x86
6262
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Debug|x64.ActiveCfg = Debug|x86
63-
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Debug|x86.ActiveCfg = Debug|x86
64-
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Debug|x86.Build.0 = Debug|x86
63+
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Debug|x86.ActiveCfg = Debug|Any CPU
64+
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Debug|x86.Build.0 = Debug|Any CPU
6565
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
6666
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Release|ARM.ActiveCfg = Release|x86
6767
{CA6DB0F5-DB6C-4DDD-8B5F-EF82FBB963E9}.Release|x64.ActiveCfg = Release|x86

QRCoderConsole/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
[assembly: AssemblyConfiguration ("")]
1010
[assembly: AssemblyCompany ("")]
1111
[assembly: AssemblyProduct ("")]
12-
[assembly: AssemblyCopyright ("mishochu")]
12+
[assembly: AssemblyCopyright ("mishochu, codebude and others")]
1313
[assembly: AssemblyTrademark ("")]
1414
[assembly: AssemblyCulture ("")]
1515

1616
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
1717
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
1818
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
1919

20-
[assembly: AssemblyVersion ("1.0.0.0")]
20+
[assembly: AssemblyVersion ("1.0.0.1")]
2121

2222
// The following attributes are used to specify the signing key for the assembly,
2323
// if desired. See the Mono documentation for more information about signing.

QRCoderDemo/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
3333
// übernehmen, indem Sie "*" eingeben:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("1.0.0.1")]
36+
[assembly: AssemblyFileVersion("1.0.0.1")]

QRCoderDemoUWP/MainPage.xaml.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.ComponentModel.DataAnnotations;
4-
using System.IO;
53
using System.Linq;
6-
using System.Reflection;
7-
using System.Runtime.InteropServices.WindowsRuntime;
8-
using Windows.Foundation;
9-
using Windows.Foundation.Collections;
104
using Windows.Storage.Streams;
11-
using Windows.UI.Popups;
125
using Windows.UI.Xaml;
136
using Windows.UI.Xaml.Controls;
14-
using Windows.UI.Xaml.Controls.Primitives;
15-
using Windows.UI.Xaml.Data;
16-
using Windows.UI.Xaml.Input;
17-
using Windows.UI.Xaml.Media;
187
using Windows.UI.Xaml.Media.Imaging;
19-
using Windows.UI.Xaml.Navigation;
208
using QRCoder;
219

2210
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409

QRCoderDemoUWP/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
88
[assembly: AssemblyTitle("QRCoderDemoUWP")]
9-
[assembly: AssemblyDescription("Demo app for QRCoder PCL version")]
9+
[assembly: AssemblyDescription("Demo app for QRCoder on UWP")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
1212
[assembly: AssemblyProduct("QRCoderDemoUWP")]
13-
[assembly: AssemblyCopyright("Copyright © www.code-bude.net 2016")]
13+
[assembly: AssemblyCopyright("Copyright © www.code-bude.net 2016-2021")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

QRCoderDemoUWP/QRCoderDemoUWP.csproj

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<AssemblyName>QRCoderDemoUWP</AssemblyName>
1212
<DefaultLanguage>en-US</DefaultLanguage>
1313
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
14-
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
15-
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
14+
<TargetPlatformVersion>10.0.22000.0</TargetPlatformVersion>
15+
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
1616
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
1717
<FileAlignment>512</FileAlignment>
1818
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
19-
<PackageCertificateKeyFile>QRCoderDemoUWP_TemporaryKey.pfx</PackageCertificateKeyFile>
19+
<RuntimeIdentifiers>win10-arm;win10-arm-aot;win10-x86;win10-x86-aot;win10-x64;win10-x64-aot</RuntimeIdentifiers>
2020
</PropertyGroup>
2121
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
2222
<DebugSymbols>true</DebugSymbols>
@@ -87,10 +87,6 @@
8787
<Prefer32Bit>true</Prefer32Bit>
8888
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
8989
</PropertyGroup>
90-
<ItemGroup>
91-
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
92-
<None Include="project.json" />
93-
</ItemGroup>
9490
<ItemGroup>
9591
<Compile Include="App.xaml.cs">
9692
<DependentUpon>App.xaml</DependentUpon>
@@ -104,7 +100,6 @@
104100
<AppxManifest Include="Package.appxmanifest">
105101
<SubType>Designer</SubType>
106102
</AppxManifest>
107-
<None Include="QRCoderDemoUWP_TemporaryKey.pfx" />
108103
</ItemGroup>
109104
<ItemGroup>
110105
<Content Include="Properties\Default.rd.xml" />
@@ -128,12 +123,26 @@
128123
</ItemGroup>
129124
<ItemGroup>
130125
<Reference Include="QRCoder">
131-
<HintPath>..\QRCoder\bin\Debug\netstandard1.1\QRCoder.dll</HintPath>
126+
<HintPath>..\QRCoder\bin\Debug\netstandard1.3\QRCoder.dll</HintPath>
132127
</Reference>
133128
</ItemGroup>
129+
<ItemGroup>
130+
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
131+
<Version>6.2.13</Version>
132+
</PackageReference>
133+
</ItemGroup>
134+
<ItemGroup>
135+
<None Include="QRCoderDemoUWPKey.snk" />
136+
</ItemGroup>
134137
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
135138
<VisualStudioVersion>14.0</VisualStudioVersion>
136139
</PropertyGroup>
140+
<PropertyGroup>
141+
<SignAssembly>true</SignAssembly>
142+
</PropertyGroup>
143+
<PropertyGroup>
144+
<AssemblyOriginatorKeyFile>QRCoderDemoUWPKey.snk</AssemblyOriginatorKeyFile>
145+
</PropertyGroup>
137146
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
138147
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
139148
Other similar extension points exist, see Microsoft.Common.targets.

QRCoderDemoUWP/QRCoderDemoUWPKey.snk

596 Bytes
Binary file not shown.

QRCoderDemoUWP/project.json

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

0 commit comments

Comments
 (0)