@nativescript/windows 0.1.0-alpha.4 → 0.1.0-alpha.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.ps1 +4 -2
- package/framework/__PROJECT_NAME__/App.xaml.cs +44 -7
- package/framework/__PROJECT_NAME__/Assets/SplashScreen.png +0 -0
- package/framework/__PROJECT_NAME__/Assets/Square150x150Logo.png +0 -0
- package/framework/__PROJECT_NAME__/Assets/Square44x44Logo.png +0 -0
- package/framework/__PROJECT_NAME__/Assets/StoreLogo.png +0 -0
- package/framework/__PROJECT_NAME__/Assets/Wide310x150Logo.png +0 -0
- package/framework/__PROJECT_NAME__/CrashDiagnostics.cs +249 -66
- package/framework/__PROJECT_NAME__/Package.appxmanifest +2 -5
- package/framework/__PROJECT_NAME__/RuntimeHost.cs +132 -22
- package/framework/__PROJECT_NAME__/__PROJECT_NAME__.csproj +49 -12
- package/framework/dotnet-bridge/BinaryProtocol.cs +124 -0
- package/framework/dotnet-bridge/Bridge.BinaryDispatch.cs +177 -0
- package/framework/dotnet-bridge/Bridge.Dispatch.cs +348 -0
- package/framework/dotnet-bridge/Bridge.JsDelegate.cs +100 -0
- package/framework/dotnet-bridge/Bridge.cs +44 -320
- package/framework/dotnet-bridge/DispatchTypes.cs +281 -0
- package/framework/libs/arm64/nativescript.dll +0 -0
- package/framework/libs/devtools/arm64/nativescript.dll +0 -0
- package/framework/libs/devtools/x64/nativescript.dll +0 -0
- package/framework/libs/x64/nativescript.dll +0 -0
- package/package.json +19 -19
package/build.ps1
CHANGED
|
@@ -119,14 +119,16 @@ foreach ($t in $Targets) {
|
|
|
119
119
|
|
|
120
120
|
if (-not $SkipRelease) {
|
|
121
121
|
Write-Host "`n=== Release ($arch) ===" -ForegroundColor Cyan
|
|
122
|
-
|
|
122
|
+
$releaseArgs = @()
|
|
123
|
+
Build-Crate -Profile "release" -Target $rustTarget -ExtraArgs $releaseArgs
|
|
123
124
|
$dll = Join-Path $RepoRoot "target\$rustTarget\release\nativescript.dll"
|
|
124
125
|
Copy-Dll -Src $dll -Dest (Join-Path $FrameworkLibs "$arch\nativescript.dll")
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
if (-not $SkipDevtools) {
|
|
128
129
|
Write-Host "`n=== Release-with-devtools ($arch) ===" -ForegroundColor Cyan
|
|
129
|
-
|
|
130
|
+
$devtoolsArgs = @("--features", "devtools")
|
|
131
|
+
Build-Crate -Profile "release-with-devtools" -Target $rustTarget -ExtraArgs $devtoolsArgs
|
|
130
132
|
$dll = Join-Path $RepoRoot "target\$rustTarget\release-with-devtools\nativescript.dll"
|
|
131
133
|
Copy-Dll -Src $dll -Dest (Join-Path $FrameworkLibs "devtools\$arch\nativescript.dll")
|
|
132
134
|
}
|
|
@@ -19,21 +19,49 @@ namespace __PROJECT_NAME__
|
|
|
19
19
|
this.UnhandledException += OnUnhandledException;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
protected override void OnLaunched(LaunchActivatedEventArgs e)
|
|
22
|
+
protected override async void OnLaunched(LaunchActivatedEventArgs e)
|
|
23
23
|
{
|
|
24
24
|
_runtimeHost.Initialize();
|
|
25
|
+
|
|
26
|
+
// Show crash report from the previous run if one exists.
|
|
27
|
+
try
|
|
28
|
+
{
|
|
29
|
+
var panicLogPath = System.IO.Path.Combine(
|
|
30
|
+
ApplicationData.Current.LocalFolder.Path, "nativescript-panic.log");
|
|
31
|
+
if (System.IO.File.Exists(panicLogPath))
|
|
32
|
+
{
|
|
33
|
+
var content = System.IO.File.ReadAllText(panicLogPath);
|
|
34
|
+
System.IO.File.Delete(panicLogPath);
|
|
35
|
+
if (!string.IsNullOrWhiteSpace(content))
|
|
36
|
+
await CrashDiagnostics.ShowCrashDialogAsync("Crash from previous run", content);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
catch { }
|
|
40
|
+
|
|
41
|
+
string jsError = null;
|
|
25
42
|
try
|
|
26
43
|
{
|
|
27
44
|
_runtimeHost.RunMainScript();
|
|
45
|
+
jsError = _runtimeHost.GetLastJsError();
|
|
46
|
+
if (!string.IsNullOrEmpty(jsError))
|
|
47
|
+
{
|
|
48
|
+
CrashDiagnostics.WriteMessage("JS Error", jsError);
|
|
49
|
+
var report = CrashDiagnostics.BuildErrorReport(null, jsError);
|
|
50
|
+
CrashDiagnostics.WriteToTraceLog(report);
|
|
51
|
+
await CrashDiagnostics.ShowCrashDialogAsync("JavaScript Error", report);
|
|
52
|
+
}
|
|
28
53
|
}
|
|
29
54
|
catch (Exception scriptEx)
|
|
30
55
|
{
|
|
56
|
+
jsError = _runtimeHost.GetLastJsError();
|
|
31
57
|
System.Diagnostics.Debug.WriteLine($"[NativeScript] Script exception: {scriptEx.Message}");
|
|
58
|
+
CrashDiagnostics.WriteExceptionReport("RunMainScript", scriptEx, null);
|
|
59
|
+
var report = CrashDiagnostics.BuildErrorReport(scriptEx, jsError);
|
|
60
|
+
CrashDiagnostics.WriteToTraceLog(report);
|
|
61
|
+
await CrashDiagnostics.ShowCrashDialogAsync("Script Execution Error", report);
|
|
32
62
|
}
|
|
33
63
|
|
|
34
|
-
#if DEBUG
|
|
35
64
|
Windows.UI.Xaml.Media.CompositionTarget.Rendering += OnRenderFrame;
|
|
36
|
-
#endif
|
|
37
65
|
|
|
38
66
|
if (Window.Current.Content == null)
|
|
39
67
|
{
|
|
@@ -56,9 +84,7 @@ namespace __PROJECT_NAME__
|
|
|
56
84
|
private void OnSuspending(object sender, SuspendingEventArgs e)
|
|
57
85
|
{
|
|
58
86
|
var deferral = e.SuspendingOperation.GetDeferral();
|
|
59
|
-
#if DEBUG
|
|
60
87
|
Windows.UI.Xaml.Media.CompositionTarget.Rendering -= OnRenderFrame;
|
|
61
|
-
#endif
|
|
62
88
|
ApplicationData.Current.LocalSettings.Values[LastLaunchArgsKey] = string.Empty;
|
|
63
89
|
_runtimeHost.Dispose();
|
|
64
90
|
deferral.Complete();
|
|
@@ -66,14 +92,25 @@ namespace __PROJECT_NAME__
|
|
|
66
92
|
|
|
67
93
|
private void OnUnhandledException(object sender, Windows.UI.Xaml.UnhandledExceptionEventArgs e)
|
|
68
94
|
{
|
|
95
|
+
e.Handled = true;
|
|
96
|
+
var jsError = _runtimeHost.GetLastJsError();
|
|
69
97
|
CrashDiagnostics.WriteExceptionReport(
|
|
70
98
|
"Xaml.UnhandledException",
|
|
71
99
|
e.Exception,
|
|
72
|
-
"
|
|
100
|
+
"JsError=" + (jsError ?? "<none>"));
|
|
101
|
+
|
|
102
|
+
var report = CrashDiagnostics.BuildErrorReport(e.Exception, jsError);
|
|
103
|
+
CrashDiagnostics.WriteToTraceLog(report);
|
|
104
|
+
var _ = CrashDiagnostics.ShowCrashDialogAsync(
|
|
105
|
+
e.Message ?? "Unhandled exception", report);
|
|
73
106
|
}
|
|
74
107
|
|
|
108
|
+
private void OnRenderFrame(object sender, object e)
|
|
109
|
+
{
|
|
110
|
+
_runtimeHost.PumpTimers();
|
|
75
111
|
#if DEBUG
|
|
76
|
-
|
|
112
|
+
_runtimeHost.PumpDevtools();
|
|
77
113
|
#endif
|
|
114
|
+
}
|
|
78
115
|
}
|
|
79
116
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,66 +1,249 @@
|
|
|
1
|
-
using System;
|
|
2
|
-
using System.IO;
|
|
3
|
-
using System.Text;
|
|
4
|
-
using System.
|
|
5
|
-
using
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
WriteExceptionReport("
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
sb.AppendLine("
|
|
40
|
-
sb.AppendLine(
|
|
41
|
-
sb.AppendLine();
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
sb
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
1
|
+
using System;
|
|
2
|
+
using System.IO;
|
|
3
|
+
using System.Text;
|
|
4
|
+
using System.Text.RegularExpressions;
|
|
5
|
+
using System.Threading.Tasks;
|
|
6
|
+
using Windows.ApplicationModel.Core;
|
|
7
|
+
using Windows.ApplicationModel.DataTransfer;
|
|
8
|
+
using Windows.Storage;
|
|
9
|
+
using Windows.System;
|
|
10
|
+
using Windows.UI.Popups;
|
|
11
|
+
|
|
12
|
+
namespace __PROJECT_NAME__
|
|
13
|
+
{
|
|
14
|
+
internal static class CrashDiagnostics
|
|
15
|
+
{
|
|
16
|
+
private static bool _installed;
|
|
17
|
+
|
|
18
|
+
public static void InstallGlobalHandlers()
|
|
19
|
+
{
|
|
20
|
+
if (_installed) return;
|
|
21
|
+
_installed = true;
|
|
22
|
+
|
|
23
|
+
AppDomain.CurrentDomain.UnhandledException += (_, args) =>
|
|
24
|
+
{
|
|
25
|
+
var ex = args.ExceptionObject as Exception;
|
|
26
|
+
WriteExceptionReport("AppDomain.UnhandledException", ex, "IsTerminating=" + args.IsTerminating);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
TaskScheduler.UnobservedTaskException += (_, args) =>
|
|
30
|
+
{
|
|
31
|
+
WriteExceptionReport("TaskScheduler.UnobservedTaskException", args.Exception, null);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public static void WriteExceptionReport(string source, Exception ex, string details)
|
|
36
|
+
{
|
|
37
|
+
var sb = new StringBuilder();
|
|
38
|
+
sb.AppendLine("============================================================");
|
|
39
|
+
sb.AppendLine("Timestamp: " + DateTimeOffset.UtcNow.ToString("o"));
|
|
40
|
+
sb.AppendLine("Source: " + source);
|
|
41
|
+
if (!string.IsNullOrWhiteSpace(details)) sb.AppendLine("Details: " + details);
|
|
42
|
+
if (ex != null) { sb.AppendLine("Exception:"); sb.AppendLine(ex.ToString()); }
|
|
43
|
+
else sb.AppendLine("Exception: <null>");
|
|
44
|
+
sb.AppendLine("Managed stack snapshot:");
|
|
45
|
+
sb.AppendLine(Environment.StackTrace);
|
|
46
|
+
sb.AppendLine();
|
|
47
|
+
AppendToLog(sb.ToString());
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public static void WriteMessage(string source, string message)
|
|
51
|
+
{
|
|
52
|
+
var sb = new StringBuilder();
|
|
53
|
+
sb.AppendLine("============================================================");
|
|
54
|
+
sb.AppendLine("Timestamp: " + DateTimeOffset.UtcNow.ToString("o"));
|
|
55
|
+
sb.AppendLine("Source: " + source);
|
|
56
|
+
sb.AppendLine("Message: " + message);
|
|
57
|
+
sb.AppendLine();
|
|
58
|
+
AppendToLog(sb.ToString());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public static string BuildErrorReport(Exception ex, string jsError = null, string extraDetails = null)
|
|
62
|
+
{
|
|
63
|
+
var sb = new StringBuilder();
|
|
64
|
+
|
|
65
|
+
if (!string.IsNullOrWhiteSpace(jsError))
|
|
66
|
+
{
|
|
67
|
+
sb.AppendLine("── JavaScript Error ──────────────────────────────────────");
|
|
68
|
+
sb.AppendLine(jsError.Trim());
|
|
69
|
+
sb.AppendLine();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (ex != null)
|
|
73
|
+
{
|
|
74
|
+
sb.AppendLine("── Native Exception ──────────────────────────────────────");
|
|
75
|
+
sb.AppendLine(ex.GetType().Name + ": " + ex.Message);
|
|
76
|
+
if (ex.StackTrace != null) sb.AppendLine(ex.StackTrace);
|
|
77
|
+
var inner = ex.InnerException;
|
|
78
|
+
while (inner != null)
|
|
79
|
+
{
|
|
80
|
+
sb.AppendLine("Caused by: " + inner.GetType().Name + ": " + inner.Message);
|
|
81
|
+
if (inner.StackTrace != null) sb.AppendLine(inner.StackTrace);
|
|
82
|
+
inner = inner.InnerException;
|
|
83
|
+
}
|
|
84
|
+
sb.AppendLine();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Include panic log from previous or current run
|
|
88
|
+
try
|
|
89
|
+
{
|
|
90
|
+
var panicLog = Path.Combine(ApplicationData.Current.LocalFolder.Path, "nativescript-panic.log");
|
|
91
|
+
if (File.Exists(panicLog))
|
|
92
|
+
{
|
|
93
|
+
var content = File.ReadAllText(panicLog, Encoding.UTF8).Trim();
|
|
94
|
+
if (!string.IsNullOrEmpty(content))
|
|
95
|
+
{
|
|
96
|
+
sb.AppendLine("── Rust Panic Log ────────────────────────────────────────");
|
|
97
|
+
sb.AppendLine(content);
|
|
98
|
+
sb.AppendLine();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
catch { }
|
|
103
|
+
|
|
104
|
+
if (!string.IsNullOrWhiteSpace(extraDetails))
|
|
105
|
+
{
|
|
106
|
+
sb.AppendLine("── Additional Info ───────────────────────────────────────");
|
|
107
|
+
sb.AppendLine(extraDetails);
|
|
108
|
+
sb.AppendLine();
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
sb.AppendLine("──────────────────────────────────────────────────────────");
|
|
112
|
+
sb.AppendLine("Timestamp: " + DateTimeOffset.UtcNow.ToString("o"));
|
|
113
|
+
|
|
114
|
+
return sb.ToString();
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
public static string CrashLogPath()
|
|
118
|
+
{
|
|
119
|
+
try { return Path.Combine(ApplicationData.Current.LocalFolder.Path, "nativescript-crash.log"); }
|
|
120
|
+
catch { return null; }
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/// Parses the first "path:line:col" source location from a JS stack trace.
|
|
124
|
+
/// Returns null if none found. Handles Windows drive-letter paths (C:\...).
|
|
125
|
+
public static (string file, int line, int col)? TryExtractSourceLocation(string errorReport)
|
|
126
|
+
{
|
|
127
|
+
if (string.IsNullOrEmpty(errorReport)) return null;
|
|
128
|
+
|
|
129
|
+
// Match the contents of the first (path:line:col) group in the stack trace.
|
|
130
|
+
var m = Regex.Match(errorReport, @"\(([^)]+)\)");
|
|
131
|
+
if (!m.Success) return null;
|
|
132
|
+
|
|
133
|
+
var inner = m.Groups[1].Value; // e.g. "C:\app\bundle.js:42:13"
|
|
134
|
+
|
|
135
|
+
// Parse col from the right (last :digits).
|
|
136
|
+
var lastColon = inner.LastIndexOf(':');
|
|
137
|
+
if (lastColon < 0 || !int.TryParse(inner.Substring(lastColon + 1), out int col)) return null;
|
|
138
|
+
inner = inner.Substring(0, lastColon);
|
|
139
|
+
|
|
140
|
+
// Parse line from the right (second-to-last :digits).
|
|
141
|
+
lastColon = inner.LastIndexOf(':');
|
|
142
|
+
if (lastColon < 0 || !int.TryParse(inner.Substring(lastColon + 1), out int line)) return null;
|
|
143
|
+
var file = inner.Substring(0, lastColon);
|
|
144
|
+
|
|
145
|
+
return string.IsNullOrEmpty(file) ? null : (file, line, col);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
public static async Task ShowCrashDialogAsync(string heading, string errorReport)
|
|
149
|
+
{
|
|
150
|
+
try
|
|
151
|
+
{
|
|
152
|
+
// Write full details to log so developer can access them even if the
|
|
153
|
+
// dialog summary is truncated.
|
|
154
|
+
var logPath = CrashLogPath();
|
|
155
|
+
if (logPath != null)
|
|
156
|
+
File.WriteAllText(logPath, errorReport, Encoding.UTF8);
|
|
157
|
+
|
|
158
|
+
// Truncate for the dialog (MessageDialog has practical limits).
|
|
159
|
+
const int MaxLen = 800;
|
|
160
|
+
var summary = errorReport.Length > MaxLen
|
|
161
|
+
? errorReport.Substring(0, MaxLen) + "\n\n[truncated — see log for full details]"
|
|
162
|
+
: errorReport;
|
|
163
|
+
|
|
164
|
+
if (logPath != null)
|
|
165
|
+
summary += "\n\nFull log: " + logPath;
|
|
166
|
+
|
|
167
|
+
var dialog = new MessageDialog(summary, "NativeScript Runtime Error");
|
|
168
|
+
|
|
169
|
+
// MessageDialog supports at most 3 commands. When a source location is
|
|
170
|
+
// available, swap "Copy Details" for "Open in VS Code" so the user can
|
|
171
|
+
// choose between jumping to the error or restarting. Full details are
|
|
172
|
+
// always written to the log file shown in the dialog text.
|
|
173
|
+
var srcLocation = TryExtractSourceLocation(errorReport);
|
|
174
|
+
if (srcLocation.HasValue)
|
|
175
|
+
{
|
|
176
|
+
var (srcFile, srcLine, srcCol) = srcLocation.Value;
|
|
177
|
+
dialog.Commands.Add(new UICommand("Open Source File", async _ =>
|
|
178
|
+
{
|
|
179
|
+
try
|
|
180
|
+
{
|
|
181
|
+
var normalizedPath = srcFile.Replace('\\', '/');
|
|
182
|
+
var uriStr = $"file:///{normalizedPath}";
|
|
183
|
+
if (Uri.TryCreate(uriStr, UriKind.Absolute, out var fileUri))
|
|
184
|
+
await Launcher.LaunchUriAsync(fileUri,
|
|
185
|
+
new LauncherOptions { DisplayApplicationPicker = true });
|
|
186
|
+
}
|
|
187
|
+
catch { }
|
|
188
|
+
}));
|
|
189
|
+
}
|
|
190
|
+
else
|
|
191
|
+
{
|
|
192
|
+
dialog.Commands.Add(new UICommand("Copy Details", _ =>
|
|
193
|
+
{
|
|
194
|
+
try
|
|
195
|
+
{
|
|
196
|
+
var dp = new DataPackage();
|
|
197
|
+
dp.SetText(errorReport);
|
|
198
|
+
Clipboard.SetContent(dp);
|
|
199
|
+
}
|
|
200
|
+
catch { }
|
|
201
|
+
}));
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
dialog.Commands.Add(new UICommand("Restart App", async _ =>
|
|
205
|
+
{
|
|
206
|
+
try { await CoreApplication.RequestRestartAsync("crash-restart"); }
|
|
207
|
+
catch { }
|
|
208
|
+
}));
|
|
209
|
+
|
|
210
|
+
dialog.Commands.Add(new UICommand("Dismiss"));
|
|
211
|
+
dialog.DefaultCommandIndex = 0;
|
|
212
|
+
dialog.CancelCommandIndex = 2;
|
|
213
|
+
|
|
214
|
+
await dialog.ShowAsync();
|
|
215
|
+
}
|
|
216
|
+
catch (Exception ex)
|
|
217
|
+
{
|
|
218
|
+
System.Diagnostics.Debug.WriteLine("[NativeScript] Failed to show crash dialog: " + ex.Message);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/// <summary>
|
|
223
|
+
/// Appends <paramref name="message"/> to ns_trace.log using the Win32 temp path.
|
|
224
|
+
/// Inside UWP, GetTempPath() virtualises to AC\Temp — the same folder Rust's
|
|
225
|
+
/// std::env::temp_dir() uses — so this write appears in the CLI's log stream.
|
|
226
|
+
/// </summary>
|
|
227
|
+
public static void WriteToTraceLog(string message)
|
|
228
|
+
{
|
|
229
|
+
try
|
|
230
|
+
{
|
|
231
|
+
// System.IO.Path.GetTempPath() calls Win32 GetTempPathW() which inside a
|
|
232
|
+
// UWP process returns the container's AC\Temp folder, matching Rust.
|
|
233
|
+
var tracePath = Path.Combine(System.IO.Path.GetTempPath(), "ns_trace.log");
|
|
234
|
+
File.AppendAllText(tracePath, message, Encoding.UTF8);
|
|
235
|
+
}
|
|
236
|
+
catch { }
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
private static void AppendToLog(string content)
|
|
240
|
+
{
|
|
241
|
+
try
|
|
242
|
+
{
|
|
243
|
+
var logPath = Path.Combine(ApplicationData.Current.LocalFolder.Path, "nativescript-crash.log");
|
|
244
|
+
File.AppendAllText(logPath, content, Encoding.UTF8);
|
|
245
|
+
}
|
|
246
|
+
catch { }
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
@@ -2,17 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
<Package
|
|
4
4
|
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
|
5
|
-
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
|
|
6
5
|
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
|
7
|
-
IgnorableNamespaces="uap
|
|
6
|
+
IgnorableNamespaces="uap">
|
|
8
7
|
|
|
9
8
|
<Identity
|
|
10
9
|
Name="__APP_IDENTIFIER__"
|
|
11
10
|
Publisher="CN=__PROJECT_NAME__"
|
|
12
11
|
Version="1.0.0.0" />
|
|
13
12
|
|
|
14
|
-
<mp:PhoneIdentity PhoneProductId="__APP_IDENTIFIER__" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
|
15
|
-
|
|
16
13
|
<Properties>
|
|
17
14
|
<DisplayName>__PROJECT_NAME__</DisplayName>
|
|
18
15
|
<PublisherDisplayName>__PROJECT_NAME__</PublisherDisplayName>
|
|
@@ -24,7 +21,7 @@
|
|
|
24
21
|
</Dependencies>
|
|
25
22
|
|
|
26
23
|
<Resources>
|
|
27
|
-
<Resource Language="
|
|
24
|
+
<Resource Language="en-US"/>
|
|
28
25
|
</Resources>
|
|
29
26
|
|
|
30
27
|
<Applications>
|