Short question, where to find the Javascript templates for Windows Apps?
As described in the follow link:
Javascript project templates for store apps
Tried Googling and trying to search inside Visual Studio with no avail (JS templates are not installed by default). Searching Online through Visual Studio returns nothing of value.
Using Visual Studio Express Update 2.
For some reason a fresh clean install did install all the templates except for the JavaScript ones.
A (lengthy) repair of Visual Studio 2013 Express did the trick!
Related
I'm trying to find out what the magic is in Visual Studio that enables it to find my own modules in my project. In my project I have re-mapped the locations using index.js for a Durandal project, and it seems mostly to work, but now I read about a tsconfig.json that seems to have very similar contents to what my app needs. Do I need both? What files is VS probing and reading and making assumptions from when calculating intellisense etc?
I have an existing JS web page (using bower, gulp, and algular) that I want to work on in visual studio.
It is set up according to a different folder structure than the one that VS 2015 uses for ASP.NET projects, and I will only be working on the frontend (and there is no ASP.NET on the backend anyway).
Is there a way to import such a thing and develop in VS?
Ideally, I would like to keep all of the conveniences that VS offers for the ASP.NET projects (add bower dependencies via gui, folders for npm, debugger, ability to launch project as website and use the debugger, etc).
Is this possible, and if so how?
create a empty asp.net 5 project
copy the existing folders into the project folder
include the copied folders into the project
I believe the npm, bower json files must be in the root folder to be supported automatically by visual studio 2015.
Also front-end debugging is best done in your favorite browser.
I am using Visual Studio 2015 and working a SharePoint host application based on AngualrJS.
After a merge with another developer, witch was not fun, resources added to the scripts folder are reporting NOT FOUND 404 when the application is deployed.
all other resources are working with no issue and the script definitions are all the same reference.
I am reasonably new to Visual Studio and I not sure what I have broken and why only certain files just don't seem to be syncing or available online.
Im trying to set up Backbone.js within Visual Studio the guide from the link down below is telling me that I need to install BackBoneSpa.vsix but since its a Visual Studio file extension I need to install ASP.net Web Tools 2012. Is this the only way of adding backbone.js to your visualstudio C# project?
http://www.asp.net/single-page-application/overview/templates/backbonejs-template
You can try using backbone.js in empty web app with wep-api in visual studio
Try following this tutorial to provide an api to your backbone models and collections. Visual studio scaffolds the api for you.
Scaffolding web-api with visual studio.
I hate IDEs, is there any way to use Make to build Metro apps from source code?
MSBuild can natively build Visual Studio projects (*.csproj) or code files directly:
msbuild Project.csproj /t:Rebuild
It's installed with Visual Studio and/or the .NET Framework, and can be found (depending on your framework version) at:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
I also just double checked on our Windows 2008 web server (which does not have Visual Studio installed, but does have .NET 4 installed) and it also has MSBuild.exe, so you shouldn't even need VS.
I believe you'll need to run the Publish target to actually create the appx package once the project is built:
msbuild myproject.sln /target:Publish /p:configuration=release /p:platform=win32
MSBuild is extremely powerful and can be extended with .NET code, and comes with tasks designed to do various things. There's tons of tutorials online, but this one might be great to get started.
App packager (MakeAppx.exe) creates an app package from files on disk or extracts the files from an app package to disk. It is included in Microsoft Visual Studio Express 2012 for Windows 8 and the Windows Software Development Kit (SDK) for Windows 8.
see this article on MSDN, but I have to warn you... last time I tried to get it signed without an IDE gave me lots of headaches.