Console app template missing - visual-studio-2010

I want to test out XMLReader but I just want the output to be simple like the console app template, but this seems to be missing from Visual Studio express for windows mobile.
Is there a way to test things simply just to see if my code is working.

Can you create class libraries? If so, use NUnit and write your test code in a unit test method body.

Im a little late to the party but in VS you need create as Console App when first creating website. You cant create a console app after you've created the website

Related

Is there a way to create a TFS/VSTS label whenever a project is published?

IS there a simple method or extension to create TFS/VSTS labels whenever a web application project is successfully published?
I've looked into creating a task step to execute the TF command after publishing, but it seems a clumsy way to do it when VS2019 already has methods to add labels.
I am afraid there is not a simple method or extension that can do this in VS2019.
But you can try publishing your web application in the pipeline, which you can configure to label your sources automatically after publishing the application.
See below screenshot:
On the Edit page of the pipeline-->go to Get sources section-->select On success/Always to Label sources-->Specify a Label format

Using Xamarin Essentials in Xamarin UI Test project

I am trying to open Browser with a link inside my test method (application is launched prior to that). I installed Xamarin essentials Nuget, and per my current understanding I am not able to use this package outside xamarin project. I found some solutions (see below, using Mock object) but this does not seem to work.
var mockLaunch = new Mock();
IBrowser open = mockLaunch.Object;
open.OpenAsync("https://i389l.app.link/JFsYo6d1Y37", BrowserLaunchMode.SystemPreferred);
Does anyone have solution how to open browser (using real Android device) inside my test method? Thank you.

App designer not working for existing titanium apps - XML parse error

I tried to use app designer with an existing app to see if it could render the views properly. However, when I open an existing view in app designer mode it shows the error
XML Parsing Error
Line : 1
Premature end of file.
I've tried this with a brand new project and it seems to work fine without error. I am also using the latest SDK with my old project (5.4.0).
Another thing I wanted to try was using the "Movies" demo app with the app designer and it didn't have an error but it did show a blank page and only when you turned on "Show Anchors" from the toolbar did it show some outlines of controls but they were not in the correct places.
Hopefully someone has some ideas but it seems to me this only works with brand new projects for some reason.
I've looked in the studio log files too and there's no entry for app designer when I use it and see this error message.
Thanks in advance for any help!

Joystick.js on Unity project

I just downloaded the UnityPackage to try AirConsole in my project, and I want to use the joystick controller example that is provided on GitHub. The problem here is that said joystick controller needs Joystick.js, and Unity tries to parse the file as Unity code...or at least that's what I think it's trying to do!
Any clue how to get rid of these unnecesary compilation errors?
JavaScript files that you want to use for the controller need to be in Assets/WebGLTemplates/AirConsole, together with your controller file.
I haven't tested it, but you could put the Joystick.js into a script tag on your controller.html, then Unity won't compile it.

Accessing resources XML from another library project in Xamarin.Android

I am trying to create a Xamarin.Android Component to send to the Xamarin Component Store, and I need to bundle my Colors.xml with it, so it is accessible to everyone using my component. I am setting the build action for the Colors.xml tp "AndroidResource".
So I created an Android sample application, when I add a reference to my library project's dll, I am able to use the colors defined, my project compiles and it runs, but I get no intellisense on Xamarin Studio. So that would be a bad thing for anyone using my library, as they would not be able to even see that the colors are available to use. You can see in this picture the colors defined are not available in the suggestions box.
If I add the Colors.xml directly into my project, I get Intellisense support, like this:
Is there a way to achieve the same result above when adding just the dll reference? Did I do something wrong or Xamarin.Android/Xamarin Studio doesn't support this kind of scenario?
EDIT: To be clear, I know this is a problem with Intellisense not being able to pick up the values, but is there anything I can do to make it work?

Resources