Known Issue: C#/VB UWP apps do not support AnyCPU (Windows 10 Insider Preview SDK and tools, April 2015 release)

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.

Similar Messages

  • Known Issue: F# is not supported by C#/VB UWP apps (Windows 10 Insider Preview SDK and tools, April 2015 release)

    At this time, the .NET Native compiler used by C#/VB UWP apps has limitations around generic methods that are exceeded by typical F# code. As a result F# is not supported in any way by .NET Native.

    Thank you for this entry, I assume linked to my reddit entry (http://redd.it/34bk2p)
    However, answer doesn't mention if there is any plan to support F# in Windows 10 UWP app.
    Can I kindly ask if MSFT has any plan to support F# development for Windows 10 UWP app, please?
    Thanks.

  • Known Issue: How to Install Visual Studio Tools for Universal Windows App Development (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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/

  • Known Issue: Setup warnings for Windows 10 SDK, Emulators for Windows Mobile, and Tools for Windows 10 Universal Apps (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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.

  • Known Issue: Windows Emulators Are Not Supported When Visual Studio Installed in a Virtual Machine (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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.

  • Known Issue – XAudio2 applications built with Windows 10 SDK do not work on Windows 8.x (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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.

  • Known issue: Cortana background voice command cannot be debugged due to 5 second timeout (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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.

  • Known issue: How to enable your Windows 10 device for development (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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 Development

    To 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

  • Known issue: Cortana voice command definitions are not cleaned up after uninstalling the app (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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.

  • Known Issue: Deriving from SerializationBinder causes incorrect results on "Release" built C#/VB UWP apps on x64 platforms (Windows 10 Insider Preview SDK and tools, April 2015 Release)

    If you are using a serializer such as Json.NET, and use a custom SerializationBinder to handle type resolution, on x64 "Release" builds with .NET Native (C#/VB UWP) you will encounter corrupt parameters.
    This code, if you pass it "assembly" and "type", will throw on Retail builds but work on Debug (CoreCLR) builds.
    class MySerializer : SerializationBinder
        public override Type BindToType(string assemblyName, string typeName)
            if (typeName != "type") throw new Exception("type");
            if (assemblyName != "assembly") throw new Exception("assembly");
            return null;

    Add System.Runtime.CompilerServices.MethodImplAttribute to your BindToType method:
    class MySerializer : SerializationBinder
        [MethodImpl(MethodImplOptions.NoOptimization)]
        public override Type BindToType(string assemblyName, string typeName)
            if (typeName != "type") throw new Exception("type");
            if (assemblyName != "assembly") throw new Exception("assembly");
            return null;

  • Known Issue: Serializable nested types result in an internal compiler error in "Release" built C#/VB UWP apps (Windows 10 Insider Preview SDK and tools, April 2015 release)

    If you have a type nested inside of a type deriving from a WinRT type, and the nested type is marked Serializable (such as with [DataContract]), your build will fail.
    This code will cause this failure.
        public sealed partial class MainPage : Page
            public MainPage()
                this.InitializeComponent();
                var d = new DataContractSerializer(typeof(MyData));
            [DataContract]class MyData { }

    Avoid serializable types nested inside of WinRT types.

  • Known Issue: Visual Studio Tools for Universal Windows Apps Requires Windows 10 Build 10074 or later (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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.

  • Known issue: Cortana does not play audio through the default playback device (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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.

  • Known issue: Cortana will not pronounce your name during setup or when changing your name (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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.

  • Known issue: Remote deployment fails when windows 10 C++ apps (Windows Universal) with a reference to a Windows Runtime Component is deployed in a remote machine (Windows 10 Insider Preview SDK and tools, April 2015 release)

    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.

Maybe you are looking for

  • How to set the caption text of a node with user object.

    This is my problem for two days below is my sample code. I need to associate object with the tree node but the node is displaying the toString() value of the object. It should display the text I wanna see. Please help. I was from the JSP world so Swi

  • DAQmx non-cumulative buffered edge counting (like the PMT TTL problem) with PCI6221 in C program environment

    I have a PCI-6221. I am programming in C/C++ and DAQmx. My application is much like the previous thread counting the number of asynchronous TTL pulses from a PMT in some user specified time interval. The time interval is typically around 1 msec and t

  • Replacing BO Enterprise XI 3.1 with SAP BO EDGE 3.1 standard

    Hi We need to migrate away from large enterprice environment to smaller business unit. BO Enterprise XI is too heavy and expensive to future needs so I am looking for a possible other versions of BO. My knowledge from BO limits to basics on Crystal R

  • HOW TO RETRIVE DATA IN FORM

    IN MY PRJ I HAD TO DISPLAY DATA FROM VARIOUS TABLE.SO I CREATED A VIEW AND IN THE FORM CREATED THE DATA BLOCK AND DISPLAYED THE DATA.IN THE FORM HOWEVER I HAVE PLACED FILTER BASED ON WHICH IT DIPLAYS THE CLOSED AND PENDING DATA. THE VIEW IS CREATE OR

  • How can I stop iWeb from changing the name of my home page?

    I don't know if my title really makes sense, but I want to use Google Analytics to measure the traffic on my website. I know that 99% of my visitors enter through the main address (www.ozarkmtnescape.com), but are then immediately re-directed to the