I'm using VS 2012 and developing in C#.
I've created a solution with two projects: a WinRT project and a Console Application. For the Console Application I get the intellisense working perfectly. Though for the WinRT project the intellisense does not work.
In the Console Application project if I write "String." the options are showed up, while in the WinRT project they don't.
Any tips or information?
Related
I am working on Ionic2-Angular2 all device (ios/Android/Desktop) app and looking for a good solution to debug Typescript for Ionic2-Angular2 application in Visual Studio code. I know it is easy to debug Node.js backend code in VSCode but ionic 2 application which is targeted to run on various platforms including desktop has mainly client side code written in Angular2-Typescript. VSCode is my favorite editor but ready to move any open source IDE/Editor if it supports Ionic2-Angular2 and Typescript.
you debug it the same way you debug Ionic 1 applications.
See here in the cordova documentation
https://cordova.apache.org/docs/en/latest/guide/next/#debugging-cordova-apps
So I lost the source code from my app, but it's still installed on my tablet.
It's a universal app for Windows 8.1 and I used Visual Studio 2015. It's not in c:\Programmes Files\WindowsApps... because it was installed from Visual Studio.
Is there a way to get the xaml and cs files?
Thanks.
Folder where application installed usually is C:\Program Files\WindowsApps
Read this manual to get access to this folder.
I was able to get HTML and JS code of my application.
When I start my application and trying to get installed location with code like:
var package = Windows.ApplicationModel.Package.Current;
var installedLocation = package.InstalledLocation;
I'am getting folder inside my project folder. So, if you have run your app from Visual Studio it should be installed inside project folder.
Even if you find folder, probably you will need decompiler to view code.
And even decompiler might not help you. I have tried Telerik JustDecompile and JetBrains DotPeek without result. Store App is not like .Net app. So, If your app is compiled to native you can probably decompile, but not on 100% and it would be not very easy
I have visual studio 2012 express for web, now I need to make a desktop app, need I to download visual studio 2012 express for desktop or is there any addon I can install on web edition?
thanks
You can create Class Library projects in the web edition of Visual Studio Express, change the Output Type in the project properties to Console Application or Windows Application, add any library references you'd need (particularly for the Windows application, as none of the forms stuff will be included by default), and go from there.
This works well for console applications, but I imagine you're going to run into issues with Windows applications. The project templates are nonexistent, so you're on your own for setting things up from scratch. The forms designer probably isn't there, or if it is probably won't work as expected. And this won't work at all for Windows Store applications.
It's a lot easier to just download both editions and run them both. I've been running Web, Desktop, Windows 8, and Database editions side-by-side for a while now without problems.
need I to download visual studio 2012 express for desktop
Yes, you do.
That's part of the limitation of express editions.
I downloaded Microsoft visual studio express 2012 for windows phone.
But when I go to new project, I can't find HTML5 app for visual c++ project template.
However HTML5 app for visual c# and visual basic is found.
It seem like microsoft done this on purpose (don't know why).
Does anyone know guide to create new HTML5 app with visual c++ project template?
any link would be useful.
edit: I did more searching and found this
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206940(v=vs.105).aspx
HTML-based phone apps aren’t a supported app model in Windows
Phone 8. However, a developer can create a managed app with a XAML
front end that uses an embedded browser control to display local HTML
content,
However this only apply to windows phone 8 and not windows 8
which is the source of confusion for me.
This is because the HTML app template is a WebBrowserControl hosted inside in small XAML/.NET app layer, and it isn't currently possible to write a XAML/C++ app on WP8.
If you need to add C++ you should be able to add a Windows Runtime component to your app and call through to that: although that would mean calling through from JS->.NET->WinRT.
I'm running Visual Studio 2012 RC (all the latest updates have been installed as of 7/11/2012. I have an asp.net mvc 4 solution with
a Web Project
a Unit Test Project
a Coded UI Test Project
a Web performance and load Test project
When I first created the solution I could add Coded UI Tests with no problem. However, today I tried to create a Coded UI Test and got the following error
The following package failed to load: C:\Users[File Path Goes
Here]\Microsoft.VisualStudio.TestTools.UITesting.dll. Coded UI Test is
now in an inconsistent state. Remove this package and restart Visual
Studio to work with Coded UI Test.
I had a similar problem before with Visual Studio 2010. I still have that problem for that matter.
However, if I uninstall (via NuGet) MVC Scaffolding and T4Scaffolding and restart Visual Studio I can create Coded UI Tests again, but if I add back in the scaffolding packages and restart Visual Studio I get the error again and cannot create the Coded UI test.
It seems that
there is a conflict between the scaffolding packages and Coded UI Tests in Visual Studio
The original error Visual Studio 2010 error has not been fixed in Visual Studio 2012 - Microsoft has acknowledged that this is a bug.
Can anyone help this fan of scaffolding and Coded UI Tests? It would be great to use both technologies without workarounds.
There is no solution to this. The only real workaround is not to use MVC Scaffolding.