Visual Studio JavaScript resources not available on build - javascript

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.

Related

How can I create javascript standalone executables, hosted by ChakraCore?

I already know about jsc.exe (part of .NET SDK), that generates executables hosted by Windows Script Host.
Also I noticed that the latest Typescript versions, the tsc.exe (compiled javascript) is using ChakraCore.dll
So, what tool can I use to generate standalone executables, hosted by ChakraCore?
How the Typescript team creates the tsc.exe ?
I work on the TypeScript team.
tsc.exe is a very basic C++ console app, which basically follows the steps described in the Embedding ChakraCore page on their Wiki for loading and running tsc.js.

Import existing javascript site into VS 2015

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.

Javascript project templates Win App store

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!

Which console commands will build a JavaScript projects into .appx Windows 8 Metro applications?

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.

Where can i find a version of javascriptcore that has an iphone-compatible static library?

I've been searching for a version of javascriptcore that i can build into my iphone app to allow for embedded scripts in my application, but i can't seem to find an iOS ready project that has the settings and files i need. I've tried getting from the webkit svn, but if i make a cocoa-touch static library and include the relevant files, i get layers of compiler errors that reveal other errors when i resolve them. The javascriptcore files that apple provides on their website don't come with an xcode project, and copying those files into the xcodeproject provided in the webkit svn checkout still give me compiler issues. Is there anywhere i can find an iOS project that compiles javascriptcore for easy integration into an iphone app?

Categories

Resources