Open rafalkasa opened 5 years ago
Maybe this will help others. I resolved my issue importing and adding assemblies in class ShadowWorkspace:
namespace Typewriter.Lexing.Roslyn
{
internal class ShadowWorkspace : Workspace
{
private static int _counter;
private static readonly Assembly[] DefaultReferences =
{
typeof (int).Assembly, // mscorelib
typeof (Uri).Assembly, // System
typeof (Enumerable).Assembly, // System.Core
typeof (Regex).Assembly, // System.Text.RegularExpressions
typeof (Environment).Assembly, // System.Diagnostics
//typeof (XmlReader).Assembly, // System.Xml
//typeof (XDocument).Assembly, // System.Xml.Linq
typeof (RuntimeBinderException).Assembly, // Microsoft.CSharp
typeof (Class).Assembly // Typewriter.CodeModel
};
...
Hi @barestan
I'm really impressed by your work and that you try to give the community the possibility to use Typewriter with JetBrains Rider. This is amazing and very appreciated 😄
Could you help me with my .tst file, I have some
using
in my template file .tst when I run TypewriterCLI I received errors as below: