Closed craig311 closed 9 years ago
Hi, thanks for submitting this ticket. Unfortunately the sample project was unmaintained and just had one class. I haven't looked at it in a long while and have just deleted it. Your best bet for seeing real code in use would be to try out the unit tests project. To do that, build the whole solution (using the build.bat
) and then open test.htm
in the root of WootzJs.Compiler.Tests. If you're still having trouble after that, let me know what error you're getting.
I am really interested in this project... i love that it uses Roslyn. When ever i try to compile even the sample project i get this error.
"Sequence contains no matching element"
please help, would love to use this on my next project.
Craig
C:\Users\Craig\Desktop\WootzJs\build>WootzJs.Compiler.exe C:\Users\Craig\Desktop \WootzJs\WootzJs.Sample\WootzJs.Sample.csproj bin
Unhandled Exception: System.InvalidOperationException: Sequence contains no matc hing element at System.Linq.Enumerable.Single[TSource](IEnumerableb 52>d58
.MoveNext() in c:\Users\Craig\Desktop\WootzJs\WootzJs.Compiler\Compiler.cs:line
203
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
ification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at WootzJs.Compiler.Profiler.6d5e.MoveNext() in c:\Users\Cra
ig\Desktop\WootzJs\WootzJs.Compiler\Compiler.cs:line 190
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
ification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at WootzJs.Compiler.Compiler.<>cDisplayClass9.<b5>d10.MoveNext()
in c:\Users\Craig\Desktop\WootzJs\WootzJs.Compiler\Compiler.cs:line 82
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
ification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter
1 source, Func
2 predic ate) at WootzJs.Compiler.Compiler.<>cDisplayClass55.<1.MoveNext() in c:\Users\Craig\Deskto p\WootzJs\WootzJs.Compiler\Profiler.cs:line 25 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot ification(Task task) at System.Runtime.CompilerServices.TaskAwaiter
1.GetResult() at WootzJs.Compiler.Compiler.1.GetResult() at WootzJs.Compiler.Profiler.<Time>d__6
1.MoveNext() in c:\Users\Craig\Deskto p\WootzJs\WootzJs.Compiler\Profiler.cs:line 25 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot ification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at WootzJs.Compiler.Compiler.<>c__DisplayClass9.<<Main>b__3>d__13.MoveNext() in c:\Users\Craig\Desktop\WootzJs\WootzJs.Compiler\Compiler.cs:line 82 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot ification(Task task) at Nito.AsyncEx.AsyncContext.<>c__DisplayClass3.<Run>b__1(Task t) at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot ification(Task task) at Nito.AsyncEx.AsyncContext.Run(Func
1 action) at WootzJs.Compiler.Compiler.Main(String[] args) in c:\Users\Craig\Desktop\Wo otzJs\WootzJs.Compiler\Compiler.cs:line 70C:\Users\Craig\Desktop\WootzJs\build>