title: Script# and compiler problems
body: <p>I've just come across a pretty strange problem with VS2010 and Script#, which most of the time I am able to re-create.</p>
  
  <p>In my simple scenario I have 2 projects in my solution; a standard Asp.Net MVC2 Web Application, and a Script# jQuery Class Library. I created a static class (attributed with [Imported]) with a static method on it, the intention being that I can map this class in code to an external Javascript library, as described in the documentation.</p>
  
  <p>However, it seems that whenever I decorate such a class with [IgnoreNamespace] to achieve this goal, the project stops successfully compiling but doesn't give me any feedback as to why it's failing (no errors in the error window, for example). It's not easy to get rid of either, as Visual Studio seems to get into a permanent state of not build failure; removing the classes and project files doesn't solve it, nor restarting visual studio. The only way I can get VS to build the project successfully is to delete the project entirely, create a new one then add the files back in, which is annoying to say the least.</p>
  
  <p>With a verbose build output setting, I get the following:</p>
  
  <p>Target "AfterCompile" in file "C:\Program Files (x86)\ScriptSharp\v1.0\ScriptSharp.targets" from project "e:\project\local\ScriptSharpDemo\Scripts\Scripts.csproj" (target "Compile" depends on it):
  Task "ScriptCompilerTask"
  Done executing task "ScriptCompilerTask" -- FAILED.
  Done building target "AfterCompile" in project "Scripts.csproj" -- FAILED.</p>
  
  <p>.. which doesn't tell me whole lot.</p>
  
  <p>There have been a couple of times where I have managed to create this type of class and then successfully build, but mostly I can reproduce this problem pretty reliably.</p>
  
  <p>At this point I'm inclined to think that the bug lies with Script#, but would just like to have that confirmed, and to find a possible work around if there is one.</p>