我正在开发一个UWP应用程序,我偶然发现了谷歌,https://msdn.microsoft.com/en-us/windows/uwp/controls-and-patterns/calendar-date-picker
我目前正在使用日期选择器来选择日期,但我认为日历日期选择器更适合这个.我当时使用了日期选择器,因为我在工具箱中找不到日历日期选择器,我认为它不适用于UWP.但是参考上面的链接,它应该在我的工具箱中可用.
我真的很想使用日历日期选择器.
我为uwp创建了应用程序(赢得10台桌面).我无法为商店建立包装.我收到一个错误:有必要更新证书.我已更新证书并构建我的包.但是当我将包上传到商店时,我收到错误:
Invalid package family name: MyPackage.xxxx_xxxx (expected: MyPackage.yyyy_yyyyy)
Invalid package publisher name: CN=XYX (expected: CN=xxx-xxxx-xxx-xxxx)
Run Code Online (Sandbox Code Playgroud)
但我打开了我的应用清单,我看到:
Published: CN=xxx-xxxx-xxx-xxxx
Package Family Name: MyPackage.yyyy_yyyyy
Run Code Online (Sandbox Code Playgroud)
这是预期的.在"公开证明"中我看到:Publisher -XYX.
我该如何解决这个问题?有任何想法吗?
我目前正在编写我的第一个UWP应用程序,只是为了学习绳索.我正在构建一个小应用程序,从下载的facebook-archive中提取数据.
但是当我尝试打开文件时(即使每个人都有完全访问权限),我收到了UnauthorizedException.我不明白这一点,我没有发现任何人只有任何旧文件有这个问题(有很多人遇到更具体的情况问题,但不只是他们的硬盘上的简单文件)
System.UnauthorizedAccessException was unhandled by user code
HResult=-2147024891
Message=Access to the path 'C:\Users\patri\Downloads\facebook-100004420950389\html\messages.htm' is denied.
Source=System.IO.FileSystem
StackTrace:
at System.IO.WinRTIOExtensions.<TranslateWinRTTaskCore>d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.IO.WinRTFileSystem.<OpenAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.IO.WinRTFileSystem.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, FileStream parent)
at System.IO.FileStream.Init(String path, FileMode mode, …Run Code Online (Sandbox Code Playgroud)