Affichage des articles dont le libellé est Windows app. Afficher tous les articles
Affichage des articles dont le libellé est Windows app. Afficher tous les articles

samedi 30 avril 2016

House Ads: Télécommande LiveBox pour windows 10 / windows phone 10


Déjà plus de 100 téléchargements pour mon application sur le Windows Store !!

L'application est disponible sur tablette et PC avec Windows 10 ainsi que les nouveaux Windows Phone 10

https://www.microsoft.com/store/apps/9nblggh4p1cb

L'application est uniquement disponible pour le marché Français.

L'application permet de télécommander votre LiveBox, l'application se veut simple et sans fonctionnalités superflus.

vendredi 21 août 2015

Windows Universal App erreur avec Visual studio 2015 FR lors du build en Release


Si vous rencontrez l'erreur suivante lors du build en mode release de votre application Windows Universal App en utilisant Visual Studio Community 2015 FR ou Pro : 

"Erreur ILT0005: 'C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\Tools\nutc_driver.exe 
@"...\obj\x86\Release\ilc\intermediate\nutcargs.rsp"' a retourné le code de sortie -1073741819"

ou l'erreur :

"Erreur La commande ""C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\ilc.exe" /in:"E:\dev\Lol Ingame\Lol Ingame\Lol Ingame\obj\x86\Release\ilc\in" 
/out:"E:\dev\Lol Ingame\Lol Ingame\Lol Ingame\bin\x86\Release\ilc" /intermediatespath:"....obj\x86\Release\ilc\intermediate" 
/v:normal /keepintermediates:true /buildtype:ret /exename:"Lol Ingame.exe" /makepripath:"C:\Program Files (x86)\Windows Kits\10\bin\x64\MakePri.exe" 
/appPriProjectRoot:"Project" /rcpath:"C:\Program Files (x86)\Windows Kits\10\\bin\x86\rc.exe" 
/targetplatformsdklibpath:"C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\um" 
/targetplatformsdkmetadatapath:"...obj\x86\Release\ilc\in\WinMetadata" 
/targetframeworkpath:"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319" /RdXmlPath:"C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\LibraryXML" 
/suppressPDBWarnings:true /AllowNoManagedCode /UseCustomFramework "/logger:CsvLogger;2284;2168"" s'est arrêtée avec le code 1201."

Il vous suffit de passer Visual studio en Anglais en utilisant le menu  "Outils / Options / Paramétres internationaux" et d'ajouter la langue anglaise. Après téléchargement et installation vérifier que les menus de Visual Studio s'affichent bien en Anglais.

vendredi 15 février 2013

Windows 8 : Open a local file and read Xml content

Thanks to this tutorial you will learn how to open an Xml File located in you Solution Explorer and how to retrieve value.

We will use Linq on Xml file so you have to add the following  librairies to your projet :


using System.Xml.Linq;
using Windows.Data.Xml.Dom;
using Windows.Storage;


Add a folder named 'Data' for exemple into you Windows Store solution and add the following Xml content into the file 'Schools.xml':

<?xml version="1.0" encoding="utf-8" ?>
<school>
  <name>IUT Toulouse</name>
  <type>Public</type>
  <location>
    <X>45.1</X>
    <Y>32.5</Y>
  </location>
</school>

And into a EventHandler or in the Page_Load for example add the folowing code :

Windows.Storage.StorageFolder storageFolder =await Windows.ApplicationModel.Package.Current.InstalledLocation.GetFolderAsync("Data"); StorageFile storageFile =await storageFolder.GetFileAsync("Schools.xml"); IAsyncOperation<IRandomAccessStream> stream = await storageFile.OpenAsync(FileAccessMode.Read); XmlDocument xmlDoc = await XmlDocument.LoadFromFileAsync(storageFile); XDocument doc = XDocument.Parse(xmlDoc.GetXml()); string name = from schools in doc.Descendants("name") select schools.Value;string type = from schools in doc.Descendants("type") select schools.Value;

At the end of the code the variables  name and type contains the value retrieve in the xml file.