Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6737443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:14:58+00:00 2026-05-26T11:14:58+00:00

I am getting this message Check that your C# source compiles and that you

  • 0

I am getting this message

” Check that your C# source compiles and that you are not using an unsupported feature”

And do not know how to work out what I am doing wrong. Does anybody know?

I understand the general concept of what its saying but I need something more specifc

EDIT: I was not asking to have a specific instance doiagnosed. I was asking if there was a compiler switch that would give more info

Anyway here is the failing code

    [ScriptName("Ext")]
    [IgnoreNamespace]
    [Imported()]
    public partial class Ext //: ext.data.Store
    {
        [ScriptName("create")]
        public static object Create(string name, object config)
        {
            return null;
        }
    }    
public sealed class viewport
    {

        public static viewport MakeViewPort()
        {
            return new viewport();
//return (viewport)extwrap.Ext.Create("Ext.container.ViewPort", null);
        }
    }
    public class Class1
    {
        public void foo()
        {

            jslate.viewport vp = jslate.viewport.MakeViewPort(); <=== fails here


        }
    }

I am trying to get round the fact that extjs4 does not allow

var win = new Ext.Window

instead you do

var win = Ext.create('Ext.window')

You can see various attempts at this. All compile but get bounced by S#

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:14:59+00:00Added an answer on May 26, 2026 at 11:14 am

    The error you’re encountering is the case where unfortunately the compiler failed, and consequently couldn’t report a better error. You’ll see similar internal compiler errors for other languages (incl. c#) if you do something that makes it really unhappy. While I totally agree it would be useful to generate better errors wherever possible, there are a few cases where detecting the unsupported construct is as good as doing the work for supporting the construct.

    I hope you are able to and using the latest compiler version – things have been continually improving in the error experience from build to build … for example reporting the c# line #, compiling the rest of the c# code, and emitting an error statement in the resulting javascript for the failing line instead of all or nothing approach, as well as better error reporting in the msbuild path.

    In this particular case, I suspect the use of namespace-qualified type names (extwrap.Ext and jslate.viewport) in the code above is behind the error. Actually this limitation was listed in the script# readme (that used to be available earlier, but was removed since a portion of the doc was out-of-date … sorry about that… need to get something back online or included in the setup.)

    Also, as fyi – rethinking some core parts of script# compilation approach to once and for all take care of a bunch of issues. I’d like to get this started, and then publish the sources for the compiler. Getting this fundamental change in place is what is gating next step in bringing the full project on GitHub … for those tracking the progress there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This error message is driving me nuts. I'm getting it when using Html.ListBox and
I am getting this error message: --------------------------- You have an error in your SQL
I'm getting this message each time I compile my project: RunIPhoneUnitTest.sh: line 92: 31389
I'm getting this error message on all projects (including brand new empty templates) I'm
I'm getting this error message whiile running a Webservice I'm working on. it builds,
I'm getting this error message with the code below: class Money { public: Money(float
Anyone getting this error when using the new free chart controls MS bought from
You have an error in your SQL syntax; check the manual that corresponds to
I've installed ruby on rails using gem install rails and got the message that
A buddy of mine has been getting this error mesage when trying to run

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.