Known issue: Cortana stops immediately when launched in an emulator (Windows 10 Insider Preview SDK and tools, April 2015 release)
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.
Similar Messages
-
AnyCPU platform configuration is not supported for UWP applications built with C# and Visual Basic. Visual Studio 2015 RC uses .NET Native to build UWP applications. .NET Native compiles C# and Visual Basic code to native code and is therefore not CPU
agnostic.Choose a CPU specific configuration when building a .NET application on the Universal Windows Platform.
-
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. -
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.
-
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. -
Voice command definitions are not removed from Cortana's cache when an app is uninstalled. This may cause conflicts between two apps that share the same voice commands.
This issue should not impact your ability to reinstall and test the same application. However, you must reinstall the OS in order to reset the cache in cases where you are seeing conflicts between different apps.
-
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/ -
When you install Visual Studio 2015 when not connected to the internet, for example from an ISO, you may receive warnings after setup completes for Tools for Windows 10 Universal Apps, Windows 10 SDK, and Emulators for Windows Mobile. These warnings include:
This product did not download successfully: The server did not return the file size.
This product did not download successfully: Signature verification failed on downloaded file.
This product did not download successfully: HTTP Status 502: The server….To fix this issue, your computer must be connected to the internet to download these components.
Make sure your computer is connected to the internet.
Open Control Panel, and select Programs and Features.
Select Microsoft Visual Studio 2015 RC, click Change, and then click
Modify.
Select the feature “Universal Windows App Development Tools”, and click
Update. -
When you launch the People Picker in desktop using PickContactAsync() API, the app will fail to start.
There is no workaround for this issue. However, you can still complete the process of setting or changing your name.
-
Cortana may not speak your name when tapping the "Hear how I'll say it" button when setting up your name for the first time or when changing your name in the settings panel.
There is no workaround for this issue. However, you can still complete the process of setting or changing your name.
-
When typing a voice command for an app, e.g., "Find mom on MyApp", Cortana terminates without executing the voice command.
Use the microphone to input voice commands for your app.
-
When getting audio feedback from Cortana on a device with multiple playback endpoints (e.g., a device with a headset and an internal speaker), the playback may occur on the incorrect device. For example, Cortana may not send audio to the default device
after the default has been changed in the control panel.There is no workaround for this issue.
-
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. -
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
-
I just recently purchased a Sony HDR-SR11 Camcorder which produces great HD quality video in the AVCHD format. Having just upgraded to Premiere Elements 7, I was really looking forward to editing my high-def videos but have run in to trouble. The cli
-
Pull XMLDATA from Varchar2 column type
Hi All, I have a column (data_xml) in a table of varchar2(400) type in which XML data is stored. I want to read that data through sql query. The Problem: In xml there is something called <comments>AT&T </comments> which is causing a problem because o
-
Hi, me again. I was moving on with my little project, and I am trying to think of the best way to do something. So, on the user input, I am going to call up animated letters for each letter inputted (At the moment it is working with still images).
-
Morning all, I have created a report which is grouped by Reason Code (A numbering system 01- 999). This report produces Total Jobs, Total Lenses and their averages. There is one slight addition I would like to add into the report. I would like to cre
-
APPLE iMAPS not woking in morning on the iPhone 5
Strangley enough ever since I got the last update to iOS7 my iMaps doesn't work in the morning, . The after work it works like a champ!!!! I am doing the same things morning and night so not sure why. This is not a sometimes thing it actually is a