Updating a WinUI 3 Preview 1 Project to Preview 2

WinUI 3 Preview 2 I didn’t notice for about half a month, but WinUI 3 Preview 2 was released. WinUI 3 Preview 2 (July 2020) So, I tried updating the following WinUI 3 Desktop project, which I previously created using WinUI 3 Preview 1, to Preview 2. This is a record of that process. Since I basically just followed the official instructions, there isn’t much useful information here. Updating the Environment I’ll check the environment according to the description on the official page. ...

2020-08-07 · 3 min · 510 words · ayumax

Unloading Assemblies in .NET Core

Mechanism for Unloading Assemblies This article is for the 10th day of the C# Advent Calendar 2019. An application I create for work (made with .NET Framework) has a user plugin (DLL) loading feature. This feature allows users to add functionality to the development tool by creating their own DLLs according to rules. This feature involves the development tool loading the relevant DLLs once, querying them, and then unloading DLLs that don’t need to be loaded. ...

2019-12-10 · 7 min · 1301 words · ayumax

Wanting to Write UE4 Scripts in C# (Experiment Edition)

Wanting to Write Scripts in C# I like UE4 C++. I have also released several C++ plugins on the Marketplace. However, since I also write a lot of C#, I sometimes think, “If only this were C#, it would be much easier to write.” Thinking about such things, I casually made the following post on Twitter. ふとUE4のスクリプトをC#で書きたいなあ。どうしたらいいかなあと考えていたんだけど、なかなかいい実装が思いつかない。 — ayuma (@ayuma_x) August 24, 2019 Then, I received this invitation from @kekyo2, and today I actually spent the whole day trying it out. ...

2019-09-15 · 6 min · 1202 words · ayumax

Trying out .NET Core 3.0 WPF (Made a Node-Based Calculator)

Tried It Out With the combination of Visual Studio 2019 + .NET Core 3.0, WPF is usable, so I created a new project and tried it out. For now, I’ll try writing as if I’m using the traditional WPF, forgetting that I’m using .NET Core, and see how it feels. Usage methods are introduced by various people, but you can use it by installing Visual Studio 2019 and .NET Core 3.0, and then checking ON “Use preview .NET Core SDK” in Visual Studio options. ...

2019-05-13 · 5 min · 1060 words · ayumax

Attended Center CLR Try! Development #2

Attended Center CLR Try! Development #2 I recently attended “Center CLR Try! Development #2”. The venue was different from #1, right in front of Kanayama Station, making it easily accessible. However, the target building was under construction, making the entrance hard to find, and I wandered around for a few minutes… (Being directionally challenged, I initially went to the wrong building). There were three participants that day (Mr. Matsui, Mr. Matsuoka, and myself). Being alongside two amazing individuals made me a little, no, quite nervous. But thanks to the small group size, I was able to talk about various things, making it a meaningful day. ...

2018-11-12 · 3 min · 531 words · ayumax

Gave an LT at CenterCLR Study Group

Attended Study Group I attended the CenterCLR study group on 8/11. Signed Up for LT Initially, I signed up for the regular participation slot, but one day I happened to check and saw an LT (Lightning Talk) slot was open, so I signed up for it. At that point, I hadn’t decided what to talk about yet, but I started deciding on the topic and preparing the presentation materials for the day (this was about 2 weeks prior). ...

2018-08-13 · 2 min · 338 words · ayumax

Outputting PowerPoint Files (*.pptx) Using OpenXML SDK in C#

Introduction This article is a continuation of Parsing Markdown and Performing Custom Output in C# (Using markdig). The tool mentioned in the above article, which converts Markdown to PPTX, creates PPTX files using the OpenXML SDK. I initially struggled greatly with using this OpenXML SDK, so this article will focus on that part. The tool that converts Markdown to PPTX is available on GitHub. What is OpenXML? It’s a file format used since Office 2007, consisting of XML files bundled into a zip archive. Therefore, by changing the file extension to .zip and then unzipping it, you can view the XML files inside. Unlike the previous binary format, it allows creation even in environments where Office is not installed. ...

2018-08-08 · 6 min · 1154 words · ayumax

Parsing Markdown and Performing Custom Output in C# (Using markdig)

Introduction I recently created a tool to convert Markdown files into PowerPoint format (*.pptx). I’ll summarize the technical notes from that process here. This article focuses on Markdown parsing. The created tool is available on GitHub. https://github.com/ayumax/MDToPPTX Also, for the article about the pptx creation tool itself, please refer to this article. Development Environment Considering future integration into a tool using Xamarin, I created the project as a .NET Standard 2.0 C# library. ...

2018-08-07 · 5 min · 993 words · ayumax

Created a Tool to Convert Markdown to PowerPoint Files

MDToPPTX The beta version of MDToPPTX, a tool I’ve been creating to convert Markdown files to PowerPoint files (*.pptx), is now ready. It’s written in C#, and the library part is built with .NET Standard 2.0. So, although I haven’t tested it, it should also work with .NET Core and Xamarin. Using this, you can create PowerPoint files from Markdown. markdig For Markdown parsing, I used markdig. Thanks to this, writing the code was very easy. ...

2018-06-06 · 3 min · 478 words · ayumax

PPTX Creation Feature: Image Insertion and Bullet Points

Issues from the Previous Version In the previous article (http://ayumax.hatenablog.com/entry/2018/05/06/231645), there were the following issues: Cannot freely change the position of text No image insertion feature All text becomes bullet points So, this time I addressed these issues. Text Position Setting Created a new PPTXTextArea class, allowing Position(x,y) and Size(width, height) to be set. In the PowerPoint world, settings seem to be in cm, so I made it possible to input values in cm (internal conversion is performed). ...

2018-05-13 · 2 min · 350 words · ayumax