jQuery UI Widgets Forums Getting Started Compiler errors immediately after installation

Tagged: 

This topic contains 4 replies, has 2 voices, and was last updated by  juwi_uk 8 years, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author

  • juwi_uk
    Participant

    Hi

    I’m new to jQWidgets and looking forward to getting stuck in.

    I compiled my project to check all OK (no errors). I then add the jQWidgets nuget package and recompile again. Befor i even start working with jQWidgets features in my code the compiler is throwing errors:

    Error Build:Identifier expected. MyTestPortal D:\Development\MyTestPortal\jqwidgets-ts\angular_jqxresponse.ts 86
    Error Build:Identifier expected. MyTestPortal D:\Development\MyTestPortal\jqwidgets-ts\angular_jqxresponse.ts 94
    Error Build:Identifier expected. MyTestPortal D:\Development\MyTestPortal\jqwidgets-ts\angular_jqxresponse.ts 110
    Error Build:Identifier expected. MyTestPortal D:\Development\MyTestPortal\jqwidgets-ts\angular_jqxresponse.ts 118
    Error Build:Identifier expected. MyTestPortal D:\Development\MyTestPortal\jqwidgets-ts\angular_jqxresponse.ts 126
    Error Build:Identifier expected. MyTestPortal D:\Development\MyTestPortal\jqwidgets-ts\angular_jqxtreemap.ts 127

    Any ideas that can fix for me so I can start using?

    BTW as a newbie i assume TS is typescript; why 2 copies of the scripts and why would I use one or the other as best practice? Errors seem to be in the TS version so wondering if a workaround I can install without this set?

    Sorry if these are “numpty” questions but need to get off base zero and get going.

    Thanks

    Julian


    Peter Stoev
    Keymaster

    What are these 2 copies and where they could be found?


    juwi_uk
    Participant

    What I’m saying is when you add the nuget package it creates 2 folders in the project as you seem to HAVE to have the Typscript support too;

    1) jqwidgets
    2) jqwidgetsTS

    These errors come from the scripts added by the nugget package to the jqwidgetsTS folder. As I said I’m new to these widgets but “TS” is Typscript right?

    I’ve worked around for the moment by deleting that folder so I can compile my app using scripts from the standard jqwidgets folder.

    Hope that makes sense.


    Peter Stoev
    Keymaster

    Hi juwi_uk,

    You do not need the jqwidgets-ts folder unless you do typescript or angular 2 programming. If you do such, you will need it. I do not know why it gives compile errors in that, but I suppose it depends on your project’s configuration and whether your IDE supports or not typescript.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    juwi_uk
    Participant

    Hi Peter

    I’m developing in Visual Studio 2015 Pro and the ASP.NET template I used was for an MVC web app against the full .NET framework.

    I even tried on a really simple solution/project and the same 6 errors on first compile. So think you have a bug there!!

    Deleting the whole TS is workaround for now though.

    Julian

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.