kevmoens / Ellabit

The interactive C# coding app to learn/practice coding.
MIT License
55 stars 21 forks source link

Problem with .tt files #45

Closed paulvanbladel closed 1 year ago

paulvanbladel commented 1 year ago

Very nice project. Well done ! I'm getting a problem when I run ad hoc the tt files by right clicking "run custom tool". The generated code gets completely messed up. Take care

kevmoens commented 1 year ago

Can you give me more detail and I'll see if I can answer.

paulvanbladel commented 1 year ago

Thanks Kevin. https://github.com/kevmoens/Ellabit/blob/master/Ellabit/OmniSharp/OmniSharpCompletionService.tt is a .tt file, so code generation takes place based on the tt template. In visual studio you can right click on the file and select "run custom tool". image Well, try that and, at least on my side, the code is updated and will no longer build correctly.

kevmoens commented 1 year ago

While implementing OmniSharp to work with BlazorMonaco these files are referenced and required. You do not need to run anything against these files before working with the project. An example project I might have referenced is: https://github.com/Apollo3zehn/MonacoBlazorSample They also have these files in their project.

paulvanbladel commented 1 year ago

Ok Thanks a lot Kevin for trying to clarify.