I have installed the windows platform for my ionic project as well as I have all the required SDKs with Visual Studio 2015(Community Edition).
I have:
Ionic version: 1.7.7
Cordova CLI version: 5.3.3
VS 2015 (Community Edition)
Windows 8.1 Pro(x64)
Regards.
Edit: Error TS6053 Build: File ‘project path/platforms/windows/www/js/.git/logs/HEAD.ts’ not found. Got this type of multiple errors for multiple files too
If you look in the CordovaApp.Windows.jsproj file that is generated, the last two lines near the bottom reference typescript. If you comment those out, these bulid errors go away. I don’t know how to modify the templating process so the file is created without these lines but if you then load the project in Visual Studio it builds.
However, doing so just yields me an app that shows the splash screen and does nothing else.
Resolved by adding Exclude directive in CordovaApp.projitems file:
replace this line
<TypeScriptCompile Include="$(MSBuildThisFileDirectory)www\**" />
with this
<Content Include="www\**" Exclude="**\*.ts"/>