Known issue: Geofencing is malfunctioning in the background on devices and is completely nonfunctional in the Windows Phone Emulator (Windows 10 Insider Preview SDK and tools, April 2015 release)
On physical devices, geofences that have been triggered are not causing their associated background task to fire. The device may also incorrectly stop tracking geofences
in connected standby, causing the geofencing trigger to be missed. Within the Windows Phone Emulator, geofences are not triggering in either the foreground or background.
Workaround: test the geofencing logic in your app while the app is running in the foreground on a physical device.
Similar Messages
-
With the current release of Windows 10 Insider Preview, you cannot enable developer mode using the System Setting Developer Mode control. This feature will be enabled in a future release of Windows 10.
Editing for clarification:
If you try to Developer unlock your Windows 10 system by going to (Search) Settings --> Update & Recovery --> For Developers, you will notice that the "Settings" window closes. You cannot set these Settings through the UI in the current
Build due to the known issue.
VT Mobile Application DevelopmentTo enable your device for development, please follow the links below:
Windows 10 Mobile: Register your phone to
enable developer mode using the existing Windows Phone 8.1 tools
Windows 10 Desktop: Enable your device
for development using the Group Policy Editor
VT Mobile Application Development -
Cortana currently dismisses itself as soon as it loses focus. If you switch to Visual Studio when debugging a background voice command, Cortana will dismiss itself, end the connection with your app and kill the app's background task.
You can work around this issue by remotely debugging your app on a different machine. This eliminates the focus problem by allowing Cortana to remain in focus (on the remote machine) while you debug with Visual Studio (on your local machine).
Prerequisites
You have installed Windows 10 and Visual Studio 2015 RC on your main development computer.
You have installed Windows 10 on a separate computer or virtual machine (Visual Studio not required).
Note: Download Windows 10 from
http://windows.microsoft.com/en-us/windows/preview-iso-update-1504
Terminology
Your local computer is your main development box with Visual Studio 2015 RC and your project files.
Your remote computer is a separate machine that will run your app remotely while maintaining a connection with Visual Studio on your local computer.
Step 1: Enable Remote Desktop
Ensure your remote computer can receive Remote Desktop requests:
Sign into your remote machine
Right-click the Start menu and select System
Make a note of the machine name (you will reference it often)
Click the Remote settings link
Select the Allow remote connections to this computer radio button
Save and close
Step 2: Configure your Remote Desktop connection and remote microphone
On your local machine, start Remote Desktop Connection from the Start menu
Click Show Options
On the General tab, type of the name of the remote machine
Navigate to the Local Resources tab
Click the Settings button in the Remote Audio section
Change Remote audio recording to Record from this computer. This enables the remote microphone
Hit OK and navigate back to the General tab
Click Save As and save the Remote Desktop connection to a location on your computer
Connect to the remote machine
Step 3: Install Remote Tools for Visual Studio 2015 RC on the remote machine
Sign into the remote machine
Navigate to
https://www.visualstudio.com/en-us/downloads/visual-studio-2015-downloads-vs.aspx
Expand Additional Tools and look for Remote Tools for Visual Studio 2015 RC
Download and install
Configure the remote debugger as described at
https://msdn.microsoft.com/en-us/library/bt727f1t.aspx. Tip: Scroll down to “Start and configure the remote tools for the first time”
Run Remote Debugger from the start menu and keep the app running
Step 4: Enable developer mode on the remote machine
This step allows you to deploy and test apps to the remote machine. For details and alternate instructions see
https://msdn.microsoft.com/en-us/library/windows/apps/dn706236.aspx.
Remain signed into the remote machine
Run gpedit.msc from the start menu (this is the Local Group Policy editor)
Ignore the two popup error messages that will appear immediately
Use the tree view on the left side to navigate to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> App Package Deployment
Double-click and enable Allow all trusted apps to install
Double-click and enable Allows development of Windows Store applications and installing them directly from an IDE
Step 5: Enable Cortana debugging on the remote machine
This step disables the 5-second timeout when running a background task.
Remain signed into the remote machine
Run Debuggable Package Manager from the start menu
Copy/paste the following line exactly and hit enter: $a=Get-AppxPackage | Where-Object {$_.Name -eq "Microsoft.Cortana"}
Copy/paste the following line exactly and hit enter: Enable-AppxDebug $a
Type exit and hit enter to close the window
Step 6: Confirm you can connect to the remote machine with Visual Studio
Sign into the local machine and start Visual Studio
Click the Debug -> Attach to process menu (a project does not have to be open)
Type the name of the remote machine and hit enter
Provide your credentials (if using a Microsoft account, type your email display name and password, ignoring the domain text)
The connection is successful if you see a list of processes
Tip: If you experience a problem, make sure the Remote Debugger app is running on the remote machine
Step 7: Configure remote debugging in your Visual Studio project
Open your project in Visual Studio on the local machine
Open the project properties (e.g., right-click the project in the solution explorer and select
Properties)
Navigate to the Debug section
Select Remote Machine for the target device
Type the name of the remote machine
Close settings
If necessary, on the Visual Studio toolbar select Remote Machine
If necessary, switch to x86 or x64 depending on the remote architecture
Run
If prompted, enter your credentials
Switch to the remote machine over Remote Desktop and confirm the app shows up
Sometimes it will not show up during the first run; stop and restart
Set a breakpoint and confirm the debugger on the local machine is triggered
You should now be able to debug Cortana voice commands, including background commands. -
When installing the Windows 10 emulators, you may receive the following error:
Error: Emulators for Windows Mobile 10.0.10069 : The installer failed. Fatal error during installation. Error code: -2147023293To resolve this issue, run Visual Studio setup again to add the emulators. To do this
Reboot your computer
Open Control Panel, and select Programs and Features.
Select Microsoft Visual Studio 2015 RC, click Change, and then click
Modify.
Select the feature “Emulators for Windows 10 Mobile”, and click Update. -
The Tools for Universal Windows Apps requires Visual Studio 2015 RC. If you have an earlier build installed, for example, Visual Studio 2015 CTP6, you must first uninstall Visual Studio 2015 and the Tools for Windows.
To uninstall earlier versions of Visual Studio 2015 and the tools for Universal Windows app development,
Go to Control Panel, and select Programs & Features.
Select Microsoft Visual Studio 2015 and click Change.
Click Remove, and then Yes.
Next, select Microsoft Visual Studio 2015 Tools for Windows 10, and click
Change.
Click Remove, and then Yes. -
The Visual Studio Tools for Universal Windows App Development are not installed by default. If they are not installed, in the New Project dialog in Visual Studio 2015, you will see only a template “Download Windows Universal Tools”.
For additional known issues with using Visual Studio 2015 RC, see
https://support.microsoft.com/kb/3025133/Additional Installation Known issues:
Visual Studio Tools for Universal Windows Apps Requires Windows 10 Build 10074 or later
https://social.msdn.microsoft.com/Forums/en-US/de06c7c0-4248-4d68-bfcb-4b9a23fae1c0
You cannot install the Visual Studio Tools for Universal Windows Apps on a pre-RC build of Visual Studio 2015
https://social.msdn.microsoft.com/Forums/en-US/25d0b000-3ebb-4032-a786-99caf0390e9b
Emulators for Windows Mobile 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294
https://social.msdn.microsoft.com/Forums/en-US/17bc9d5e-2ea7-4149-bb75-23997db8bd25/
Setup warnings for Windows 10 SDK, Emulators for Windows Mobile, and Tools for Windows 10 Universal Apps
https://social.msdn.microsoft.com/Forums/en-US/bfc4fcc0-cb48-4bb0-aab3-5797e31b08e0
Fatal error when installing the Windows emulators: 2147023293
https://social.msdn.microsoft.com/Forums/en-US/5485554c-e7e8-414e-a542-d1f7c0b6291c
Do not install Visual Studio Express 2015 for Windows 10 on a Machine with Visual Studio Community, Professional, or Enterprise
https://social.msdn.microsoft.com/Forums/en-US/94a29b17-baaf-4318-98ff-1cfc90a54bad/
How to enable your Windows 10 device for development
https://social.msdn.microsoft.com/Forums/en-US/6e34c9f0-5e3a-4b44-9aae-586ba94f8a28/ -
Cortana does not start in the phone emulator. The screen will clear as if Cortana is starting but Cortana is not launched.
There is no workaround for this issue. You may test Cortana on the local machine.
-
The Visual Studio Tools for Universal Windows Apps requires Windows 10 build 10074 or later. If you use an earlier build of Windows 10, you will see a notification in Visual Studio, the XAML designer will not be available, and you will get the following
error when deploying apps to your local machine:
Error : DEP0700 : Registration of the app failed. Deployment Register operation with target volume C: on Package
<package ID> from: (<path_to_AppxManifest.xml>) failed with error 0x80073CFD. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues. (0x80073cfd)To work around this issue, either
Use Windows 8.1 and deploy to the Windows Mobile Emulator
Or, update your computer from an earlier Windows 10 flight to build 10074 or later. To do this,
in Settings, open the Update & security section, and select the
Windows Update tab. Then click Check for updates. -
When running the Universal Windows Platform (UWP) BackgroundTansfer sample (C# or C++) in a phone emulator (i.e., Debug Target is Emulator 10.0.1.0) the sample builds and deploys successfully, but clicking any button in "Scenario 1 File Download",
"Scenario 3 Completion Notifications" or "Scenario 4 Completion Groups" will result in the following exception:
An exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.ni.dll but was not handled in user code. Additional information: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
This posting is provided "AS IS" with no warranties, and confers no rights.I am getting the same error even with the references recommended here. This is my code
using (var stream = await Windows.Storage.ApplicationData.Current.LocalFolder.OpenStreamForWriteAsync(
JSONFILENAME,
CreationCollisionOption.OpenIfExists ))
serializer.WriteObject(stream, myCars);
I can read it back as long as I don't stop the app/emulator. When I run the emulator again the file is gone. I tried loading the app to my Windows Phone and the same thing still happens. -
If you install Visual Studio 2015 with the Windows 10 Mobile emulators in a virtual machine, setup will succeed but the emulators will not be available as valid debug targets.
The Windows Emulators require a physical machine that runs Windows 8.1 (x64) Professional edition or higher, and a processor that supports Client Hyper-V and Second Level Address Translation (SLAT). The emulators will not run when Visual Studio is installed
in a Virtual Machine (VM).
The emulators for Universal Windows app development work best with Windows 10. -
When you attempt to deploy a windows 10 C++ Universal app that has a reference to a Windows Runtime component, to a Remote Machine (windows 10 machine), you will get an error message instead of successful deployment.
Right click solution, Go to Properties -> Configuration Properties -> Configuration - Uncheck "Deploy" checkbox for the Windows Runtime Component project. Then retry deployment to remote machine.
-
With this version of the Windows 10 SDK, applications built using XAudio2 will
require XAudio2_9.dll to be on the system, and it is not available for Windows
8.x.Workaround: Deploy apps using the Windows.Networking.NetworkOperators and Windows.Devices.Sms APIs to a real Windows Phone device that is using an OEM developer account.
-
The Windows.Application.VoiceCommandnamespace is missing for JavaScript applications on the phone. Attempts to access properties such as VoiceCommandDefinitionManagerwill return a null or undefined result. As such it is not possible to register voice commands
or call voice command APIs.There is no workaround for phone. However, you can retarget your application for the local machine (desktop) and call the APIs from that environment.
-
To deploy to a Windows 10 Mobile device with this release, your device must be running Windows Mobile OS build 10074 or later. When deploying your Universal Windows app to a device with an earlier build, or a Windows Phone 8.1 device, you will get the following
error:
Error : DEP0001 : Unexpected Error: The Appx package's manifest is invalid. (Exception from HRESULT: 0x80080204)Use the Windows 10 Mobile emulator or update your device to Windows Mobile OS build 10074 or later.
-
When implement a voice command as a background app, calls to modify voice command may not work as expected. For example, calling SetPhraseListAsync on a command set may result in a FileLoadException with the message "The process cannot access
the file because it is being used by another process."There is no workaround for this issue. You may modify voice command definitions from a foreground task or app.
Maybe you are looking for
-
How do you transfer an e-mail directly to a website?
I want to take an e-mail I received, and post it on a social media website (Facebook). I tried using using the "from" link at the top of the e-mail itself, but it doesn't work.
-
Error during deploying rule EPMA 11.1.1.3
Hi I've been trying to validate rule but got next error Rule:for_dell Validation error from planning server 'http://obi:8300/HyperionPlanning/servlet/HspAppManagerServlet'. 'Error:Unable to resolve UDA, attribute member or dimension member with value
-
Converting .VI file from Labview 6.1 to Labview 7.0
I have .VI file that was working fine under Labview 6.1. However, after Labview 7.0 is installed, some of the subvis are not working. When I clicked into my .VI, it says it is searching for AI Read One Scan.vi. I also have AO in the .VI. So far, I co
-
How to modify the pre generated SQL string in Db adapter
Hello All, I am using a DB adapter to poll a database. So in the configuration of adapter, i have specified the option of logical delete, i want to update to a field PF as 'Y'. In my BPEL process, I want to update those records as 'Y' for their proce
-
hello there My HP model CP 1215 wont print on my laptop the laptop is a gigabyte and has windows XP installed It works well with all my other HP printers I see from forums that this is a common problem with this model. do you have a driver update whi