[Question] How to setup RestrictedSample. I can do sample code on same solution, but not on new project.
See original GitHub issueDescribe A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Copy RestrictedSamples’s widget to WidgetAdvSampleCS’s widget1 and widget2… a. Update NETCore.UniversalWindowsPlatform nuget to 1 more version. WidgetAdvSampleCS is one version behind b. Copy Extensions\DispatcherTaskExtensions c. Copy widget1 class entirely
Expected behavior
- The file picker should not crashed…
- If Debug it is
System.UnauthorizedAccessException
HResult=0x80070005
Message=Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Source=<Cannot evaluate the exception source>
StackTrace:
<Cannot evaluate the exception stack trace>
Additional context I am no sure, I feeling kinda stupid to even merge two sample. Any other config/setting or nuget update need to be done? The project’s solution Link
Probably I doing wrong with these? But I haven click the widget 1’s file picker and never clean it, before clicking widget2’s file picker // Also, at this time you should let the XboxGameBarForegroundWorker object fall out of scope, as it is only allowed to be used once
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
c# - How to tie up multiple projects from same solution (not ...
The simple way to resolve this issue is using project references in Visual Studio. Even if you don`t have Visual Studio installed in...
Read more >Hot to create a Solution with multiple projects in vs code?? ...
of a tutorial that cover how to make a multi project solution in visual studio code, with debugging and test. all in one...
Read more >Create projects & solutions - Visual Studio (Windows)
Learn how to create and use Visual Studio solutions and projects to store artifacts.
Read more >Add Projects To Solution and Output path fails #1580
I've created a template with multiple projects and was trying to create ... This has more to do with the output base path...
Read more >Abstract
With these in hand, a hypothesis test is performed for each candidate genome that answers the question: Does the sample contain enough of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@edwardchanjw We added a reg key you can set to enable calling the restricted API from any widget for testing/development purposes.
Please try adding the following key to this location: Software\Microsoft\GameBar DevFeatures (Set to 1)
Closing since there hasn’t been activity since Oct 7 and it appears totallymonkey gave a workaround for development. If you have need to ship a widget with a Restricted API, you can reach out to us to add your widget to the allow list.
Thanks! Ben