none
Running "Update XAML for Windows Embedded Project..." from CMD RRS feed

  • Question

  • Hello,

    we're using VS2013 and Blend to develop a Xaml application for Windows Embedded Compact 2013.

    since I need to run "Update XAML for Windows Embedded Project..." before compiling the C++ project I am looking for a way to not manually do this in the IDE but via command line for the build server. 

    Anyone has an idea on how to get this via command line?

    Thursday, November 8, 2018 1:18 PM

Answers

  • Hmmm... I seem to remember I've done this in the past, I just can't remember (or find) how I did it. Maybe I was also just looking for a solution...

    Have a look with the DLL export viewer (or any other tool that can show exported functions from a DLL) to see if any of the DLLs in C:\Program Files (x86)\Microsoft Platform Builder\8.00 exports a function that may do what you need.

    Note that there are also a bunch of managed DLLs there, so create a C# project, add a reference to those DLLs and use the object browser to see if there's anything there that you can use.

    Sorry I can't help more. I think it should be possible...


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6


    Wednesday, November 14, 2018 7:22 AM
    Moderator

All replies

  • The build output window should show the command when you click "Update XAML for Windows Embedded Project" in the PB/VS UI.

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    Wednesday, November 14, 2018 2:05 AM
    Moderator
  • There is just one log going out from the window: the output of "project update" which looks like this:

    Validating files...
    Preparing to generate code...
    Updating Files and File References...
    D:\project\cpp\App.h
    D:\project\cpp\App.cpp
    D:\project\xaml\App.xaml
    (followed by each and every file in the project)
    Update completed.

    I also had a look if there is an external program running while doing this task. sadly it is just the vs.exe which is running so I guess it is an internal process of visual studio (in my case vs 2013).

    Wednesday, November 14, 2018 5:40 AM
  • Hmmm... I seem to remember I've done this in the past, I just can't remember (or find) how I did it. Maybe I was also just looking for a solution...

    Have a look with the DLL export viewer (or any other tool that can show exported functions from a DLL) to see if any of the DLLs in C:\Program Files (x86)\Microsoft Platform Builder\8.00 exports a function that may do what you need.

    Note that there are also a bunch of managed DLLs there, so create a C# project, add a reference to those DLLs and use the object browser to see if there's anything there that you can use.

    Sorry I can't help more. I think it should be possible...


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6


    Wednesday, November 14, 2018 7:22 AM
    Moderator