Jean-Philippe Leconte

Results 20 comments of Jean-Philippe Leconte

I think this should be possible with a custom IFileProvider and Razor runtime compilation. - Razor runtime compilation: https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-compilation?view=aspnetcore-5.0 - Custom IFileProvider example: https://github.com/mikebrind/RazorEngineViewOptionsFileProviders I tried configuring services as follows:...

This is a great new feature. Thanks!

I might have been a bit zealous when I did this, but there's also: https://github.com/tmux-plugins/tmux-prefix-highlight/pull/37, https://github.com/tmux-plugins/tmux-maildir-counter/pull/5, https://github.com/tmux-plugins/tmux-net-speed/pull/15, https://github.com/tmux-plugins/tmux-newsboat/pull/1 and https://github.com/tmux-plugins/tmux-online-status/pull/18. I'll add documentation to all of these as soon as...

I fixed the same problem with cards application-wide by replacing the default template with one that uses the same trick of setting the background on the content of the card....

From this error, it seems $(FrameworkSdkPath) is empty under .NET Core 3.0. The location fallbacks for ILDasm are those lines in your csproj: https://github.com/ins0mniaque/ILSupport/blob/7e440fbf71930a12449560d6fcaca0e9c13ba6bb/IL%20Support.ProjectTemplates/IL%20Support.targets#L26-L43 Meanwhile, you can add another fallback...

A small tip for debugging... You can put: `` inside the `` tag to print out variables when building.

I looked around a bit for a solution, and it appears it might be a bit more complicated than expected. To have access to ILDasm with .NET Core, and to...

This might be a viable solution, and could be included in the project with: `` but I'm not sure where the ildasm.exe binary will end up. However, I'd rather have...

I randomly stumbled upon this: https://github.com/ntscosta/TaxAuditCommunity-Codes/blob/master/src/corefx-master/src/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.ilproj While it uses a different SDK ("Microsoft.NET.Sdk.IL"), it seems to be able to call ildasm on .NET Core by using the $(NuGetPackageRoot) variable. So...

Thank you for taking the time to figure all this out, and it got me searching in the right place. After a while I found this: https://github.com/dotnet/coreclr/blob/master/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets Which led me...