Get the source code of a universal app from debug installation - win-universal-app

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

Related

How to setup a modern js LIBRARY project in Visual Studio

I am looking at how to setup a modern js library project (npm + react + typescript + webpack, etc) with Visual Studios 2019. Note that I don't want this project to be executable (as all of the built-in project types appear to be...). What I want is for the build process to produce bundle(s) which will ultimately be uploaded to Azure Storage and deployed via Azure CDN. Right now I'm just focusing on how to setup the project so that it will produce a bundle(s).
Is there a built-in project type suited to this that I'm missing? Or do I need to use Visual Studio Codes for this type of work? Preferably I'd like to stick with Visual Studio 2019 rather than introduce another IDE if I can help it.
Thanks!

Running orchard CMS version (1.10) and (1.10.1) from visual studio 2015

Below is the error that I is displayed when in tried to run Orchard (1.10 and 1.10.1) source from Visual studio 2015 community version.
I know that it is somehow related with configuration settings, but I am unable to solve it.
The same files, when placed in the local IIS runs without any problems. Is there anything that I am missing in visual studio 2015?
How to resolve this error?
Is the displayed 'Config file' path corresponding to your folder?
Because it doesn't seem to be a folder coming from the source code.
Sometime, IIS Express messes up when you try to launch a site with the same port that a previously used one.
Try to read your applicationhost.config (see IIS Express in tasks bar to get the path).
You could also try to change the port in Orchard.Web properties.

Open Jint solution correctly

I need to open the Jint solution downloaded from here :
https://github.com/sebastienros/jint
(i've downloaded the zip with all the files, later i decompressed them and then i try to open the solution's file using visual studio)
Visual Studio (both 2012 Express and 2013 Express) tell me that the main project is not compatibile, i have tried Microsoft Visual Studio Version Selector but still not working.
Anybody can tell me why this happen and how i can open and view that solution with all its projects properly loaded?
Here a screen of my situation :
This project targets the Portable Framework. You might need to install the Windows Phone SDK or some other component depending on your version of Visual Studio. Please refer to this page for more details.

"generator.exe" exited with code "-1073741819"

I'am developing a android application in Visual Studio and the Xamarin c# monodroid development tools.
I have some external JAR files that i embed into my projects. Most of the project work fine but when i try to embed the JAR from Yocto (yocto android lib) and place the YoctoAPI.jar into a new android project and link it as "EmbeddedJar" the compiler fails with the exception "generator.exe" exited with code -1073741819.
This is a NULL pointer exception in the generator and searching the net i found some people who have the same problem and tells me that obfuscated code is not supported (that i understand). But how can i find the obfuscated code in the JAR file? Or is there a other problem that i'am not seeing.
If i need to post more project settings or envirioment/system parameters, please let me know
Such issues with Visual Studio can be fixed by repairing it.
You need to repair Visual Studio. Go to Control Panel -> Programs. Then select your version of Visual Studio you are using and press "Change"(or right click it and press "Change"). When the setup appears, click "Repair".
I got same error while create binding project, in my case the problem is in resource file, you need to add the jar file and resource file like,
bin - contains all jar files,
res - contains all resource files,
and add the compressed 'bin' folder in your project and build works fine.

VS2012 Express Web Can't Create MVC4 Apps

I have VS2012 Express Web installed on my machine and can create all different kinds of Projects with exception of MVC3/MVC4 apps. When I click OK on the New Project dialog I get the Select A Template dialog. I notice that the Create a Unit Test Project checkbox is Disabled. Selecting any of the choices (such as Internet Application) gives me this same error: The system cannot find the file specified (Exception from HRESULT 0x80070002).
I have uninstalled and deleted the C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\VWDExpress\ProjectTemplatesCache and ItemsTemplateChache - and after removal deleted the entire VWDExpress directory so the fresh install would recreate all the templates. I've tried both the web-installer as well as the .iso installer. Has anyone seen this problem or have any idea why I can't create MVC3/MVC4 projects?
Any thoughts would be greatly appreciated. I have posted to the MSDN Newgroup and not had any luck there.
regards,
Bill
I had the same problem with a full installation of Visual Studio 2012. Uninstalling Visual Studio and everything it came with (SQL Server localDB, Silverlight SDKs etc), restarting, then reinstalling Visual Studio made it work.
Prior to re-installing, I ran ProcessMonitor during an attempt to create an MVC4 app and it kept trying to find an "extension.vsixmanifest" file but couldn't. I'm not sure which one, since I didn't try reinstalling all my extensions; maybe that will help.

Resources