Visual Studio Typescript project support

huwsimpson's Avatar

huwsimpson

26 Sep, 2015 04:37 PM

Hi,

I have a Visual Studio Typescript project (https://ci.appveyor.com/project/HuwSimpson/fortis), on build (in visual studio), the typescript files are transformed / compiled as expected and the resulting .js files appear. However when building using appveyor the only output message I see for the typescript project is "CSC : warning CS2008: No source files specified." I see no output regarding the build of the typescript files themselves, perhaps they are being built.

What is the correct means of building a VS Typescript project and collecting the files into an archive?

Thanks,
Huw

  1. Support Staff 1 Posted by Feodor Fitsner on 26 Sep, 2015 07:41 PM

    Feodor Fitsner's Avatar

    Hi Huw,

    Maybe it's msbuild-specific thing. You can try RDP-ing to build worker machine, run IDE and check if you get the same results while building in IDE: http://www.appveyor.com/docs/how-to/rdp-to-build-worker

  2. 2 Posted by huwsimpson on 28 Sep, 2015 05:55 PM

    huwsimpson's Avatar

    So the files do indeed build, though nothing is written to the build log when the TypeScript build is successful.

    I am publishing the nuget package using the following .nuspec file:

    <?xml version="1.0"?>
    <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
      <metadata>
        <id>Fortis.TypeScript</id>
        <version>0.1.3</version>
        <title>Fortis.TypeScript</title>
        <authors>Huw Simpson</authors>
        <owners>Huw Simpson</owners>
        <projectUrl>http://huwman.github.io/Fortis</projectUrl>
        <requireLicenseAcceptance>false</requireLicenseAcceptance>
        <description>Code defensively, strengthen your design</description>
        <summary>Code defensively, strengthen your design</summary>
        <copyright>MIT License</copyright>
        <tags>Fortis TypeScript Defensive Functional</tags>
      </metadata>
      <files>
        <file src="src\fortis.js" target="lib" />
        <file src="src\fortis.js.map" target="lib" />
        <file src="src\fortis.d.ts" target="lib" />
      </files>
    </package>

    Thank you.

    PS: You can close this.

  3. Support Staff 3 Posted by Feodor Fitsner on 28 Sep, 2015 06:12 PM

    Feodor Fitsner's Avatar

    OK, thanks for the update!

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac