-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
762 lines (604 loc) · 50.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,maximum-scale=2">
<link rel="stylesheet" type="text/css" media="screen" href="/ThisAssembly/assets/css/style.css?v=639342750a5e997dbc6f1436a13a755a226bba70">
<!-- Begin Jekyll SEO tag v2.8.0 -->
<title>ThisAssembly | Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.</title>
<meta name="generator" content="Jekyll v3.9.5" />
<meta property="og:title" content="ThisAssembly" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn." />
<meta property="og:description" content="Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn." />
<meta property="og:site_name" content="ThisAssembly" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta property="twitter:title" content="ThisAssembly" />
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"WebSite","description":"Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.","headline":"ThisAssembly","name":"ThisAssembly","url":"/ThisAssembly/"}</script>
<!-- End Jekyll SEO tag -->
<!-- start custom head snippets, customize with your own _includes/head-custom.html file -->
<!-- Setup Google Analytics -->
<!-- You can set your favicon here -->
<!-- link rel="shortcut icon" type="image/x-icon" href="/ThisAssembly/favicon.ico" -->
<!-- end custom head snippets -->
</head>
<body>
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/devlooped/ThisAssembly">View on GitHub</a>
<h1 id="project_title">ThisAssembly</h1>
<h2 id="project_tagline">Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.</h2>
</header>
</div>
<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<h1 id="-thisassembly"><img src="/ThisAssembly/img/icon-32.png" alt="Icon" /> ThisAssembly</h1>
<p><a href="https://www.nuget.org/packages/ThisAssembly"><img src="https://img.shields.io/nuget/vpre/ThisAssembly.svg?color=royalblue" alt="Version" /></a>
<a href="https://www.nuget.org/packages/ThisAssembly"><img src="https://img.shields.io/nuget/dt/ThisAssembly.svg?color=green" alt="Downloads" /></a>
<a href="https://github.com//devlooped/ThisAssembly/blob/main/license.txt"><img src="https://img.shields.io/github/license/devlooped/ThisAssembly.svg?color=blue" alt="License" /></a>
<a href="https://github.com/devlooped/ThisAssembly/actions"><img src="https://github.com/devlooped/ThisAssembly/workflows/build/badge.svg?branch=main" alt="Build" /></a></p>
<!-- include https://github.com/devlooped/.github/raw/main/sponsorlinkr.md -->
<p><em>This project uses <a href="https://github.com/devlooped#sponsorlink">SponsorLink</a> to attribute sponsor status (direct, indirect or implicit).</em>
<em>For IDE usage, sponsor status is required. IDE-only warnings will be issued after a grace period otherwise.</em></p>
<!-- https://github.com/devlooped/.github/raw/main/sponsorlinkr.md -->
<!-- #meta -->
<p>Expose project and assembly level information as constants in the ThisAssembly
class using source generators powered by Roslyn.</p>
<p>The main generated entry point type is <code class="language-plaintext highlighter-rouge">ThisAssembly</code> in the global namespace (by default),
and is declared as partial so you can extend it too with manually created members.</p>
<blockquote>
<p>Use <code class="language-plaintext highlighter-rouge">$(ThisAssemblyNamespace)</code> MSBuild property to set a root namespace for <code class="language-plaintext highlighter-rouge">ThisAssembly</code>.</p>
</blockquote>
<p>Each package in turn extends this partial class to add their own nestes types
and members.</p>
<p>The <a href="https://nuget.org/packages/ThisAssembly">ThisAssembly</a> meta-package includes
all the other packages for convenience.</p>
<blockquote>
<p>For now, ThisAssembly only generates C# code.
<!-- #meta --></p>
</blockquote>
<h2 id="thisassemblyassemblyinfo">ThisAssembly.AssemblyInfo</h2>
<p><a href="https://www.nuget.org/packages/ThisAssembly.AssemblyInfo"><img src="https://img.shields.io/nuget/vpre/ThisAssembly.AssemblyInfo.svg?color=royalblue" alt="Version" /></a>
<a href="https://www.nuget.org/packages/ThisAssembly.AssemblyInfo"><img src="https://img.shields.io/nuget/dt/ThisAssembly.AssemblyInfo.svg?color=green" alt="Downloads" /></a></p>
<!-- include src/ThisAssembly.AssemblyInfo/readme.md#assembly -->
<!-- #assembly -->
<p>This package generates a static <code class="language-plaintext highlighter-rouge">ThisAssembly.Info</code> class with public
constants exposing the following attribute values generated by default for SDK style projects:</p>
<ul>
<li>AssemblyConfigurationAttribute</li>
<li>AssemblyCompanyAttribute</li>
<li>AssemblyTitleAttribute</li>
<li>AssemblyDescriptionAttribute</li>
<li>AssemblyProductAttribute</li>
<li>
<p>AssemblyCopyrightAttribute</p>
</li>
<li>AssemblyVersionAttribute</li>
<li>AssemblyInformationalVersionAttribute</li>
<li>AssemblyFileVersionAttribute</li>
</ul>
<p>If your project includes these attributes by other means, they will still be emitted properly
on the <code class="language-plaintext highlighter-rouge">ThisAssembly.Info</code> class.</p>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.AssemblyInfo.png" alt="" /></p>
<!-- #assembly -->
<!-- src/ThisAssembly.AssemblyInfo/readme.md#assembly -->
<h2 id="thisassemblyconstants">ThisAssembly.Constants</h2>
<p><a href="https://www.nuget.org/packages/ThisAssembly.Constants"><img src="https://img.shields.io/nuget/vpre/ThisAssembly.Constants.svg?color=royalblue" alt="Version" /></a>
<a href="https://www.nuget.org/packages/ThisAssembly.Constants"><img src="https://img.shields.io/nuget/dt/ThisAssembly.Constants.svg?color=green" alt="Downloads" /></a></p>
<!-- include src/ThisAssembly.Constants/readme.md#constants -->
<!-- #constants -->
<p>This package generates a static <code class="language-plaintext highlighter-rouge">ThisAssembly.Constants</code> class with public
constants for <code class="language-plaintext highlighter-rouge">@(Constant)</code> MSBuild items in the project.</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <span class="nt"><ItemGroup></span>
<span class="nt"><Constant</span> <span class="na">Include=</span><span class="s">"Foo.Bar"</span> <span class="na">Value=</span><span class="s">"Baz"</span> <span class="na">Comment=</span><span class="s">"Yay!"</span> <span class="nt">/></span>
<span class="nt"><Constant</span> <span class="na">Include=</span><span class="s">"Foo.Hello"</span> <span class="na">Value=</span><span class="s">"World"</span> <span class="na">Comment=</span><span class="s">"Comments make everything better 😍"</span> <span class="nt">/></span>
<span class="nt"></ItemGroup></span>
</code></pre></div></div>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.Constants.png" alt="" /></p>
<p>These constants can use values from MSBuild properties, making compile-time values configurable
via environment variables or command line arguments. For example:</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <span class="nt"><PropertyGroup></span>
<span class="nt"><HttpDefaultTimeoutSeconds></span>10<span class="nt"></HttpDefaultTimeoutSeconds></span>
<span class="nt"></PropertyGroup></span>
<span class="nt"><ItemGroup></span>
<span class="nt"><Constant</span> <span class="na">Include=</span><span class="s">"Http.TimeoutSeconds"</span>
<span class="na">Value=</span><span class="s">"$(HttpDefaultTimeoutSeconds)"</span>
<span class="na">Type=</span><span class="s">"int"</span>
<span class="na">Comment=</span><span class="s">"Default timeout in seconds for HTTP requests"</span> <span class="nt">/></span>
<span class="nt"></ItemGroup></span>
</code></pre></div></div>
<p>The C# code could consume this constant as follows:</p>
<div class="language-csharp highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">public</span> <span class="n">HttpClient</span> <span class="nf">CreateHttpClient</span><span class="p">(</span><span class="kt">string</span> <span class="n">name</span><span class="p">,</span> <span class="kt">int</span><span class="p">?</span> <span class="n">timeout</span> <span class="p">=</span> <span class="k">default</span><span class="p">)</span>
<span class="p">{</span>
<span class="n">HttpClient</span> <span class="n">client</span> <span class="p">=</span> <span class="n">httpClientFactory</span><span class="p">.</span><span class="nf">CreateClient</span><span class="p">(</span><span class="n">name</span><span class="p">);</span>
<span class="n">client</span><span class="p">.</span><span class="n">Timeout</span> <span class="p">=</span> <span class="n">TimeSpan</span><span class="p">.</span><span class="nf">FromSeconds</span><span class="p">(</span><span class="n">timeout</span> <span class="p">??</span> <span class="n">ThisAssembly</span><span class="p">.</span><span class="n">Constants</span><span class="p">.</span><span class="n">Http</span><span class="p">.</span><span class="n">TimeoutSeconds</span><span class="p">);</span>
<span class="k">return</span> <span class="n">client</span><span class="p">;</span>
<span class="p">}</span>
</code></pre></div></div>
<p>Note how the constant is typed to <code class="language-plaintext highlighter-rouge">int</code> as specified in the <code class="language-plaintext highlighter-rouge">Type</code> attribute in MSBuild.
The generated code uses the specified <code class="language-plaintext highlighter-rouge">Type</code> as-is, as well as the <code class="language-plaintext highlighter-rouge">Value</code> attribute in that
case, so it’s up to the user to ensure they match and result in valid C# code. For example,
you can emit a boolean, long, double, etc.. If no type is provided, <code class="language-plaintext highlighter-rouge">string</code> is assumed. Values
can also be multi-line and will use <a href="https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/raw-string">C# raw string literals</a>
if supported by the target language version (11+).</p>
<p>In this example, you could trivially change how your product behaves by setting the environment
variable <code class="language-plaintext highlighter-rouge">HttpDefaultTimeoutSeconds</code> in CI. This is particularly useful for test projects,
where you can easily change the behavior of the system under test without changing the code.</p>
<p>In addition to arbitrary constants via <code class="language-plaintext highlighter-rouge"><Constant ...></code>, it’s quite useful (in particular in test projects)
to generate constants for files in the project, so there’s also a shorthand for those:</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <span class="nt"><ItemGroup></span>
<span class="nt"><FileConstant</span> <span class="na">Include=</span><span class="s">"@(Content)"</span> <span class="nt">/></span>
<span class="nt"></ItemGroup></span>
</code></pre></div></div>
<p>Which results in:</p>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.Constants2.png" alt="" /></p>
<!-- #constants -->
<!-- src/ThisAssembly.Constants/readme.md#constants -->
<h2 id="thisassemblygit">ThisAssembly.Git</h2>
<p><a href="https://www.nuget.org/packages/ThisAssembly.Git"><img src="https://img.shields.io/nuget/vpre/ThisAssembly.Git.svg?color=royalblue" alt="Version" /></a>
<a href="https://www.nuget.org/packages/ThisAssembly.Git"><img src="https://img.shields.io/nuget/dt/ThisAssembly.Git.svg?color=green" alt="Downloads" /></a></p>
<!-- include src/ThisAssembly.Git/readme.md#git -->
<!-- #git -->
<p>This package generates a static <code class="language-plaintext highlighter-rouge">ThisAssembly.Git</code> class with constants
for the following Git properties from the current project:</p>
<ul>
<li>Commit</li>
<li>Sha (first 9 chars from Commit)</li>
<li>Root (normalized to forward slashes)</li>
<li>Url (if PublishRepositoryUrl=true)</li>
<li>Branch (from CI environment variables)</li>
</ul>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.Git.png" alt="" /></p>
<p>This package relies on your project’s installed
<a href="https://www.nuget.org/packages?q=Microsoft.SourceLink">Microsoft.SourceLink.*</a>
package reference according to your specific Git-based source control server
(such as GitHub, Azure DevOps, BitBucket, etc).</p>
<blockquote>
<p>NOTE: from .NET 8 SDK onwards, SourceLink is included by default, so you
don’t need to add it manually.</p>
</blockquote>
<p>The <code class="language-plaintext highlighter-rouge">Branch</code> property is populated from environment variables provided
by the currently supported CI systems: GitHub Actions, Azure DevOps,
AppVeyor, TeamCity, Travis CI, Circle CI, GitLab CI, Buddy, and Jenkins.</p>
<p>Whenever the CI system provides a pull request number, the branch name is
<code class="language-plaintext highlighter-rouge">pr[NUMBER]</code>, such as <code class="language-plaintext highlighter-rouge">pr123</code>. This makes it easy to use it as a semver
metadata label.</p>
<blockquote>
<p>Note: by default, the values of these constants are populated during
“real” builds (that is, not IDE/design-time builds used to populate
intellisense). This is to avoid negatively affecting the editor’s
performance. This means, however, that the properties will seem to
always be empty when inspecting them in the IDE (although never at
run-time). If you want to force population of these values for
design-time builds, set the <code class="language-plaintext highlighter-rouge">EnableSourceControlManagerQueries</code> property to <code class="language-plaintext highlighter-rouge">true</code>.
This property is defined and documented by
<a href="https://github.com/dotnet/sourcelink/blob/main/src/SourceLink.Common/build/Microsoft.SourceLink.Common.props#L14">dotnet/sourcelink</a>.</p>
</blockquote>
<p>At the MSBuild level, targets can take a dependency on the provided
<code class="language-plaintext highlighter-rouge">InitializeGitInformation</code> target, which sets the equivalent properties
named:</p>
<ul>
<li>RepositoryCommit</li>
<li>RepositorySha</li>
<li>RepositoryRoot</li>
<li>RepositoryUrl</li>
<li>RepositoryBranch</li>
</ul>
<p>The names of these properties were chosen on purpose to match the
properties used by <a href="https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#pack-target">nuget pack</a>
and <a href="https://github.com/devlooped/nugetizer">nugetizer</a> to populate
the relevant package metadata.</p>
<p>So if you have a GitHub repository, installing these three packages
will ensure you have the proper metadata out of the box and the simplest
packaging experience possible:</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><Project</span> <span class="na">Sdk=</span><span class="s">"Microsoft.NET.Sdk"</span><span class="nt">></span>
<span class="nt"><PropertyGroup></span>
<span class="nt"><TargetFramework></span>netstandard2.0<span class="nt"></TargetFramework></span>
<span class="nt"></PropertyGroup></span>
<span class="nt"><ItemGroup></span>
<span class="nt"><PackageReference</span> <span class="na">Include=</span><span class="s">"Microsoft.SourceLink.GitHub"</span> <span class="nt">/></span>
<span class="nt"><PackageReference</span> <span class="na">Include=</span><span class="s">"ThisAssembly.Git"</span> <span class="nt">/></span>
<span class="nt"><PackageReference</span> <span class="na">Include=</span><span class="s">"NuGetizer"</span> <span class="nt">/></span>
<span class="nt"></ItemGroup></span>
<span class="nt"></Project></span>
</code></pre></div></div>
<!-- #git -->
<!-- src/ThisAssembly.Git/readme.md#git -->
<h2 id="thisassemblymetadata">ThisAssembly.Metadata</h2>
<p><a href="https://www.nuget.org/packages/ThisAssembly.Metadata"><img src="https://img.shields.io/nuget/vpre/ThisAssembly.Metadata.svg?color=royalblue" alt="Version" /></a>
<a href="https://www.nuget.org/packages/ThisAssembly.Metadata"><img src="https://img.shields.io/nuget/dt/ThisAssembly.Metadata.svg?color=green" alt="Downloads" /></a></p>
<!-- include src/ThisAssembly.Metadata/readme.md#metadata -->
<!-- #metadata -->
<p>This package provides a static <code class="language-plaintext highlighter-rouge">ThisAssembly.Metadata</code> class with public
constants exposing each <code class="language-plaintext highlighter-rouge">[System.Reflection.AssemblyMetadata(..)]</code> defined in
the project file as <a href="https://learn.microsoft.com/en-us/dotnet/standard/assembly/set-attributes-project-file#set-arbitrary-attributes">supported by the .NET SDK</a>.</p>
<p>The metadata attribute is declared using MSBuild syntax in the project
(for .NET 5.0+ projects that have built-in support for <code class="language-plaintext highlighter-rouge">@(AssemblyMetadata)</code> items):</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <span class="nt"><ItemGroup></span>
<span class="nt"><AssemblyMetadata</span> <span class="na">Include=</span><span class="s">"Foo"</span> <span class="na">Value=</span><span class="s">"Bar"</span> <span class="nt">/></span>
<span class="nt"></ItemGroup></span>
</code></pre></div></div>
<p>And a corresponding <code class="language-plaintext highlighter-rouge">ThisAssembly.Metadata.Foo</code> constant with the value <code class="language-plaintext highlighter-rouge">Bar</code> is provided
for this example.</p>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.Metadata.png" alt="" /></p>
<!-- #metadata -->
<!-- src/ThisAssembly.Metadata/readme.md#metadata -->
<h2 id="thisassemblyproject">ThisAssembly.Project</h2>
<p><a href="https://www.nuget.org/packages/ThisAssembly.Project"><img src="https://img.shields.io/nuget/vpre/ThisAssembly.Project.svg?color=royalblue" alt="Version" /></a>
<a href="https://www.nuget.org/packages/ThisAssembly.Project"><img src="https://img.shields.io/nuget/dt/ThisAssembly.Project.svg?color=green" alt="Downloads" /></a></p>
<!-- include src/ThisAssembly.Project/readme.md#project -->
<!-- #project -->
<p>This package generates a static <code class="language-plaintext highlighter-rouge">ThisAssembly.Project</code> class with public
constants exposing project properties that have been opted into this mechanism by adding
them as <code class="language-plaintext highlighter-rouge">ProjectProperty</code> MSBuild items in the project file, such as:</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <span class="nt"><PropertyGroup></span>
<span class="c"><!-- Some arbitrary MSBuild property declared somewhere --></span>
<span class="nt"><Foo></span>Bar<span class="nt"></Foo></span>
<span class="nt"></PropertyGroup></span>
<span class="nt"><ItemGroup></span>
<span class="c"><!-- Opt-in to emitting that property value as a constant in ThisAssembly.Project --></span>
<span class="nt"><ProjectProperty</span> <span class="na">Include=</span><span class="s">"Foo"</span> <span class="na">Comment=</span><span class="s">"This comment replaces the default comment :)"</span> <span class="nt">/></span>
<span class="nt"></ItemGroup></span>
</code></pre></div></div>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.Project.png" alt="" /></p>
<!-- #project -->
<!-- src/ThisAssembly.Project/readme.md#project -->
<h2 id="thisassemblyresources">ThisAssembly.Resources</h2>
<p><a href="https://www.nuget.org/packages/ThisAssembly.Resources"><img src="https://img.shields.io/nuget/vpre/ThisAssembly.Resources.svg?color=royalblue" alt="Version" /></a>
<a href="https://www.nuget.org/packages/ThisAssembly.Resources"><img src="https://img.shields.io/nuget/dt/ThisAssembly.Resources.svg?color=green" alt="Downloads" /></a></p>
<p>This package generates a static <code class="language-plaintext highlighter-rouge">ThisAssembly.Resources</code> class with public
properties exposing shortcuts to retrieve the contents of embedded resources.</p>
<!-- include src/ThisAssembly.Resources/readme.md#resources -->
<!-- #resources -->
<p>This package generates a static <code class="language-plaintext highlighter-rouge">ThisAssembly.Resources</code> class with public
properties exposing typed APIs to retrieve the contents of embedded resources.</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <span class="nt"><ItemGroup></span>
<span class="nt"><EmbeddedResource</span> <span class="na">Include=</span><span class="s">"Content/Docs/License.md"</span> <span class="nt">/></span>
<span class="nt"></ItemGroup></span>
</code></pre></div></div>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.Resources.png" alt="" /></p>
<p>Since markdown files are text files, the API will expose a <code class="language-plaintext highlighter-rouge">Text</code> property property
for it that will read its content once and cache it:</p>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.Resources2.png" alt="" /></p>
<p>The <code class="language-plaintext highlighter-rouge">$(EmbeddedResourceStringExtensions)</code> MSBuild property allows customizing which
file extensions get treated as text files. By default, it’s defined as:</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <span class="nt"><PropertyGroup></span>
<span class="nt"><EmbeddedResourceStringExtensions></span>.txt|.cs|.sql|.json|.md<span class="nt"></EmbeddedResourceStringExtensions></span>
<span class="nt"></PropertyGroup></span>
</code></pre></div></div>
<p>You can append additional file extensions to this list, or override it completely.
The list must be pipe-separated.</p>
<p>You can always use the provided <code class="language-plaintext highlighter-rouge">GetStream</code> and <code class="language-plaintext highlighter-rouge">GetBytes</code> for more advanced scenarios (or for
non-text resources).</p>
<p>Optionally, you can specify the <code class="language-plaintext highlighter-rouge">Kind</code> metadata for a specific <code class="language-plaintext highlighter-rouge">EmbeddedResource</code> you want
treated as a text file:</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><ItemGroup></span>
<span class="nt"><EmbeddedResource</span> <span class="na">Include=</span><span class="s">"query.kql"</span> <span class="na">Kind=</span><span class="s">"Text"</span> <span class="nt">/></span>
<span class="nt"></ItemGroup></span>
</code></pre></div></div>
<p>You can also add a <code class="language-plaintext highlighter-rouge">Comment</code> item metadata attribute, which will be used as the <code class="language-plaintext highlighter-rouge"><summary></code> XML
doc for the generated member.</p>
<h2 id="adding-dynamic-resources">Adding dynamic resources</h2>
<p>You can also provide additional embedded resources dynamically, by running a target before
<code class="language-plaintext highlighter-rouge">PrepareEmbeddedResources</code>:</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code> <span class="nt"><Target</span> <span class="na">Name=</span><span class="s">"AddDynamicResources"</span> <span class="na">BeforeTargets=</span><span class="s">"PrepareEmbeddedResources"</span><span class="nt">></span>
<span class="nt"><ItemGroup></span>
<span class="nt"><EmbeddedResource</span> <span class="na">Include=</span><span class="s">"Content/Docs/$(Configuration).md"</span> <span class="nt">/></span>
<span class="nt"></ItemGroup></span>
<span class="nt"></Target></span>
</code></pre></div></div>
<h2 id="customizing-the-generated-code">Customizing the generated code</h2>
<p>The following MSBuild properties can be used to customize the generated code:</p>
<table>
<thead>
<tr>
<th>Property</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>ThisAssemblyNamespace</td>
<td>Sets the namespace of the generated <code class="language-plaintext highlighter-rouge">ThisAssembly</code> root class. If not set, it will be in the global namespace.</td>
</tr>
<tr>
<td>ThisAssemblyVisibility</td>
<td>Sets the visibility modifier of the generated <code class="language-plaintext highlighter-rouge">ThisAssembly</code> root class. If not set, it will be internal.</td>
</tr>
</tbody>
</table>
<!-- #resources -->
<!-- src/ThisAssembly.Resources/readme.md#resources -->
<h2 id="thisassemblystrings">ThisAssembly.Strings</h2>
<p><a href="https://www.nuget.org/packages/ThisAssembly.Strings"><img src="https://img.shields.io/nuget/vpre/ThisAssembly.Strings.svg?color=royalblue" alt="Version" /></a>
<a href="https://www.nuget.org/packages/ThisAssembly.Strings"><img src="https://img.shields.io/nuget/dt/ThisAssembly.Strings.svg?color=green" alt="Downloads" /></a></p>
<!-- include src/ThisAssembly.Strings/readme.md#strings -->
<!-- #strings -->
<p>This package generates a static <code class="language-plaintext highlighter-rouge">ThisAssembly.Strings</code> class with public
constants exposing string resources in .resx files or methods with the right number of
parameters for strings that use formatting parameters.</p>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.Strings.gif" alt="" /></p>
<p>In addition, it groups constants and methods in nested classes according to an optional
underscore separator to organize strings. For example, <em>User_InvalidCredentials</em> can be
accessed with <em>ThisAssembly.Strings.User.InvalidCredentials</em> if it contains a simple string,
or as a method with the right number of parametres if its value has a format string.</p>
<p>Given the following Resx file:</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Value</th>
<th>Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>Infrastructure_MissingService</td>
<td>Service {0} is required.</td>
<td>For logging only!</td>
</tr>
<tr>
<td>Shopping_NoShipping</td>
<td>We cannot ship {0} to {1}.</td>
<td> </td>
</tr>
<tr>
<td>Shopping_OutOfStock</td>
<td>Product is out of stock at this time.</td>
<td> </td>
</tr>
<tr>
<td>Shopping_AvailableOn</td>
<td>Product available on {date:yyyy-MM}.</td>
<td> </td>
</tr>
</tbody>
</table>
<p>The following code would be generated:</p>
<div class="language-csharp highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">partial</span> <span class="k">class</span> <span class="nc">ThisAssembly</span>
<span class="p">{</span>
<span class="k">public</span> <span class="k">static</span> <span class="k">partial</span> <span class="k">class</span> <span class="nc">Strings</span>
<span class="p">{</span>
<span class="k">public</span> <span class="k">static</span> <span class="k">partial</span> <span class="k">class</span> <span class="nc">Infrastructure</span>
<span class="p">{</span>
<span class="c1">/// <summary></span>
<span class="c1">/// For logging only!</span>
<span class="c1">/// => "Service {0} is required."</span>
<span class="c1">/// </summary></span>
<span class="k">public</span> <span class="k">static</span> <span class="kt">string</span> <span class="nf">MissingService</span><span class="p">(</span><span class="kt">object</span> <span class="n">arg0</span><span class="p">)</span>
<span class="p">=></span> <span class="kt">string</span><span class="p">.</span><span class="nf">Format</span><span class="p">(</span><span class="n">CultureInfo</span><span class="p">.</span><span class="n">CurrentCulture</span><span class="p">,</span>
<span class="n">Strings</span><span class="p">.</span><span class="nf">GetResourceManager</span><span class="p">(</span><span class="s">"ThisStore.Properties.Resources"</span><span class="p">).</span><span class="nf">GetString</span><span class="p">(</span><span class="s">"MissingService"</span><span class="p">),</span>
<span class="n">arg0</span><span class="p">);</span>
<span class="p">}</span>
<span class="k">public</span> <span class="k">static</span> <span class="k">partial</span> <span class="k">class</span> <span class="nc">Shopping</span>
<span class="p">{</span>
<span class="c1">/// <summary></span>
<span class="c1">/// => "We cannot ship {0} to {1}."</span>
<span class="c1">/// </summary></span>
<span class="k">public</span> <span class="k">static</span> <span class="kt">string</span> <span class="nf">NoShipping</span><span class="p">(</span><span class="kt">object</span> <span class="n">arg0</span><span class="p">,</span> <span class="kt">object</span> <span class="n">arg1</span><span class="p">)</span>
<span class="p">=></span> <span class="kt">string</span><span class="p">.</span><span class="nf">Format</span><span class="p">(</span><span class="n">CultureInfo</span><span class="p">.</span><span class="n">CurrentCulture</span><span class="p">,</span>
<span class="n">Strings</span><span class="p">.</span><span class="nf">GetResourceManager</span><span class="p">(</span><span class="s">"ThisStore.Properties.Resources"</span><span class="p">).</span><span class="nf">GetString</span><span class="p">(</span><span class="s">"NoShipping"</span><span class="p">),</span>
<span class="n">arg0</span><span class="p">,</span> <span class="n">arg1</span><span class="p">);</span>
<span class="c1">/// <summary></span>
<span class="c1">/// => "Product is out of stock at this time."</span>
<span class="c1">/// </summary></span>
<span class="k">public</span> <span class="k">static</span> <span class="kt">string</span> <span class="n">OutOfStock</span>
<span class="p">=></span> <span class="n">Strings</span><span class="p">.</span><span class="nf">GetResourceManager</span><span class="p">(</span><span class="s">"ThisStore.Properties.Resources"</span><span class="p">).</span><span class="nf">GetString</span><span class="p">(</span><span class="s">"OutOfStock"</span><span class="p">);</span>
<span class="c1">/// <summary></span>
<span class="c1">/// Product available on {date:yyyy-MM}.</span>
<span class="c1">/// </summary></span>
<span class="k">public</span> <span class="k">static</span> <span class="kt">string</span> <span class="nf">AvailableOn</span><span class="p">(</span><span class="kt">object</span> <span class="n">date</span><span class="p">)</span>
<span class="p">=></span> <span class="kt">string</span><span class="p">.</span><span class="nf">Format</span><span class="p">(</span><span class="n">CultureInfo</span><span class="p">.</span><span class="n">CurrentCulture</span><span class="p">,</span>
<span class="n">Strings</span><span class="p">.</span><span class="nf">GetResourceManager</span><span class="p">(</span><span class="s">"ThisAssemblyTests.Resources"</span><span class="p">).</span><span class="nf">GetString</span><span class="p">(</span><span class="s">"WithNamedFormat"</span><span class="p">).</span><span class="nf">Replace</span><span class="p">(</span><span class="s">"{date:yyyy-MM}"</span><span class="p">,</span> <span class="s">"{0}"</span><span class="p">),</span>
<span class="p">((</span><span class="n">IFormattable</span><span class="p">)</span><span class="n">date</span><span class="p">).</span><span class="nf">ToString</span><span class="p">(</span><span class="s">"yyyy-MM"</span><span class="p">,</span> <span class="n">CultureInfo</span><span class="p">.</span><span class="n">CurrentCulture</span><span class="p">));</span>
<span class="p">}</span>
<span class="p">}</span>
<span class="p">}</span>
</code></pre></div></div>
<h2 id="customizing-the-generated-code-1">Customizing the generated code</h2>
<p>The following MSBuild properties can be used to customize the generated code:</p>
<table>
<thead>
<tr>
<th>Property</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>ThisAssemblyNamespace</td>
<td>Sets the namespace of the generated <code class="language-plaintext highlighter-rouge">ThisAssembly</code> root class. If not set, it will be in the global namespace.</td>
</tr>
<tr>
<td>ThisAssemblyVisibility</td>
<td>Sets the visibility modifier of the generated <code class="language-plaintext highlighter-rouge">ThisAssembly</code> root class. If not set, it will be internal.</td>
</tr>
</tbody>
</table>
<!-- #strings -->
<!-- src/ThisAssembly.Strings/readme.md#strings -->
<h2 id="thisassemblyvsix">ThisAssembly.Vsix</h2>
<p><a href="https://www.nuget.org/packages/ThisAssembly.Vsix"><img src="https://img.shields.io/nuget/vpre/ThisAssembly.Vsix.svg?color=royalblue" alt="Version" /></a>
<a href="https://www.nuget.org/packages/ThisAssembly.Vsix"><img src="https://img.shields.io/nuget/dt/ThisAssembly.Vsix.svg?color=green" alt="Downloads" /></a></p>
<!-- include src/ThisAssembly.Vsix/readme.md#vsix -->
<!-- #vsix -->
<p>Allows consuming VSIX manifest properties from code, as well as
MSBuild project properties from the VSIX manifest. For example:</p>
<p><img src="https://raw.githubusercontent.com/devlooped/ThisAssembly/main/img/ThisAssembly.Vsix.png" alt="" /></p>
<p>In addition to making the <a href="https://learn.microsoft.com/en-us/visualstudio/extensibility/vsix-extension-schema-2-0-reference?view=vs-2022#metadata-element">VSIX manifest metadata</a>
properties available as constants, the package also provides targets for those properties
with sensible defaults from project properties so that the manifest can leverage
<a href="https://learn.microsoft.com/en-us/visualstudio/extensibility/vsix-extension-schema-2-0-reference?view=vs-2022#metadata-element">placeolder syntax</a>
and avoid duplication in the <code class="language-plaintext highlighter-rouge">source.extension.vsixmanifest</code>:</p>
<div class="language-xml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><PackageManifest</span> <span class="na">Version=</span><span class="s">"2.0.0"</span> <span class="err">...</span><span class="nt">></span>
<span class="nt"><Metadata></span>
<span class="c"><!-- You can use the |ProjectName;TargetName| syntax throughout this manifest, BTW --></span>
<span class="nt"><Identity</span> <span class="na">Id=</span><span class="s">"|%CurrentProject%;VsixId|"</span> <span class="na">Version=</span><span class="s">"|%CurrentProject%;VsixVersion|"</span> <span class="na">Language=</span><span class="s">"|%CurrentProject%;VsixLanguage|"</span> <span class="na">Publisher=</span><span class="s">"|%CurrentProject%;VsixPublisher|"</span> <span class="nt">/></span>
<span class="nt"><DisplayName></span>|%CurrentProject%;VsixDisplayName|<span class="nt"></DisplayName></span>
<span class="nt"><Description></span>|%CurrentProject%;VsixDescription|<span class="nt"></Description></span>
<span class="nt"></Metadata></span>
...
<span class="nt"></PackageManifest></span>
</code></pre></div></div>
<p>The available properties and their default values are:</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Default Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>VsixID</td>
<td><code class="language-plaintext highlighter-rouge">$(PackageId)</code> or <code class="language-plaintext highlighter-rouge">$(AssemblyName)</code></td>
</tr>
<tr>
<td>VsixVersion</td>
<td><code class="language-plaintext highlighter-rouge">$(Version)</code></td>
</tr>
<tr>
<td>VsixDisplayName</td>
<td><code class="language-plaintext highlighter-rouge">$(Title)</code></td>
</tr>
<tr>
<td>VsixDescription</td>
<td><code class="language-plaintext highlighter-rouge">$(Description)</code></td>
</tr>
<tr>
<td>VsixProduct</td>
<td><code class="language-plaintext highlighter-rouge">$(Product)</code></td>
</tr>
<tr>
<td>VsixPublisher</td>
<td><code class="language-plaintext highlighter-rouge">$(Company)</code></td>
</tr>
<tr>
<td>VsixLanguage</td>
<td><code class="language-plaintext highlighter-rouge">$(NeutralLanguage)</code> or ‘en-US’</td>
</tr>
</tbody>
</table>
<p>As shown in the example above, the syntax for using these properties from the <code class="language-plaintext highlighter-rouge">source.extension.vsixmanifest</code> is
<code class="language-plaintext highlighter-rouge">|%CurrentProject%;[PROPERTY]|</code>. This is because the package defines a corresponding target to
retrieve each of the above properties. You can provide a different value for each property via
MSBuild as usual, of course.</p>
<p>Since the <code class="language-plaintext highlighter-rouge">$(PackageId)</code> property can be used as the VSIX ID, the <code class="language-plaintext highlighter-rouge">Pack</code> target is redefined to
mean <code class="language-plaintext highlighter-rouge">CreateVsixManifest</code>, so “packing” the VSIX is just a matter of right-clicking the VSIX
project and selecting “Pack”.</p>
<!-- #vsix -->
<!-- src/ThisAssembly.Vsix/readme.md#vsix -->
<!-- include src/visibility.md -->
<h2 id="customizing-the-generated-code-2">Customizing the generated code</h2>
<p>Set the <code class="language-plaintext highlighter-rouge">$(ThisAssemblyNamespace)</code> MSBuild property to set the namespace of the
generated <code class="language-plaintext highlighter-rouge">ThisAssembly</code> root class. Otherwise, it will be generated in the global namespace.</p>
<p>The generated root <code class="language-plaintext highlighter-rouge">ThisAssembly</code> class is partial and has no visibility modifier by default,
making it internal by default in C#.</p>
<p>You can set the <code class="language-plaintext highlighter-rouge">$(ThisAssemblyVisibility)</code> MSBuild property to <code class="language-plaintext highlighter-rouge">public</code> to make it public.
This will also change all constants to be static readonly properties instead.</p>
<p>Default:</p>
<div class="language-csharp highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">partial</span> <span class="k">class</span> <span class="nc">ThisAssembly</span>
<span class="p">{</span>
<span class="k">public</span> <span class="k">partial</span> <span class="k">class</span> <span class="nc">Constants</span>
<span class="p">{</span>
<span class="k">public</span> <span class="k">const</span> <span class="kt">string</span> <span class="n">Hello</span> <span class="p">=</span> <span class="s">"World"</span><span class="p">;</span>
<span class="p">}</span>
<span class="p">}</span>
</code></pre></div></div>
<p>In this case, the compiler will inline the constants directly into the consuming code at
the call site, which is optimal for performance for the common usage of constants.</p>
<p>Public:</p>
<div class="language-csharp highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">public</span> <span class="k">partial</span> <span class="k">class</span> <span class="nc">ThisAssembly</span>
<span class="p">{</span>
<span class="k">public</span> <span class="k">partial</span> <span class="k">class</span> <span class="nc">Constants</span>
<span class="p">{</span>
<span class="k">public</span> <span class="k">static</span> <span class="kt">string</span> <span class="n">Hello</span> <span class="p">=></span> <span class="s">"World"</span><span class="p">;</span>
<span class="p">}</span>
<span class="p">}</span>
</code></pre></div></div>
<p>This makes it possible for consuming code to remain unchanged and not require
a recompile when the the values of <code class="language-plaintext highlighter-rouge">ThisAssembly</code> are changed in a referenced assembly.</p>
<p>If you want to keep the properties as constants, you can instead extend the generated
code by defining another partial that can modify its visibility as needed (or add
new members).</p>
<div class="language-csharp highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c1">// makes the generated class public</span>
<span class="k">public</span> <span class="k">partial</span> <span class="n">ThisAssembly</span>
<span class="p">{</span>
<span class="c1">// Nested classes are always public since the outer class </span>
<span class="c1">// already limits their visibility</span>
<span class="k">partial</span> <span class="k">class</span> <span class="nc">Constants</span>
<span class="p">{</span>
<span class="c1">// add some custom constants</span>
<span class="k">public</span> <span class="k">const</span> <span class="kt">string</span> <span class="n">MyConstant</span> <span class="p">=</span> <span class="s">"This isn't configurable via MSBuild"</span><span class="p">;</span>
<span class="c1">// generated code will remain as constants</span>
<span class="p">}</span>
<span class="p">}</span>
</code></pre></div></div>
<!-- src/visibility.md -->
<h1 id="dogfooding">Dogfooding</h1>
<p><a href="https://pkg.kzu.io/index.json"><img src="https://img.shields.io/endpoint?url=https://shields.kzu.io/vpre/Stunts/main&label=nuget.ci&color=brightgreen" alt="CI Version" /></a>
<a href="https://github.com/devlooped/ThisAssembly/actions"><img src="https://github.com/devlooped/ThisAssembly/workflows/build/badge.svg?branch=main" alt="Build" /></a></p>
<p>We also produce CI packages from branches and pull requests so you can dogfood builds as quickly as they are produced.</p>
<p>The CI feed is <code class="language-plaintext highlighter-rouge">https://pkg.kzu.io/index.json</code>.</p>
<p>The versioning scheme for packages is:</p>
<ul>
<li>PR builds: <em>42.42.42-pr</em><code class="language-plaintext highlighter-rouge">[NUMBER]</code></li>
<li>Branch builds: <em>42.42.42-</em><code class="language-plaintext highlighter-rouge">[BRANCH]</code>.<code class="language-plaintext highlighter-rouge">[COMMITS]</code></li>
</ul>
<!-- include https://github.com/devlooped/sponsors/raw/main/footer.md -->
<h1 id="sponsors">Sponsors</h1>
<!-- sponsors.md -->
<p><a href="https://github.com/clarius"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/clarius.png" alt="Clarius Org" title="Clarius Org" /></a>
<a href="https://github.com/KirillOsenkov"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KirillOsenkov.png" alt="Kirill Osenkov" title="Kirill Osenkov" /></a>
<a href="https://github.com/MFB-Technologies-Inc"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MFB-Technologies-Inc.png" alt="MFB Technologies, Inc." title="MFB Technologies, Inc." /></a>
<a href="https://github.com/torutek-gh"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek-gh.png" alt="Torutek" title="Torutek" /></a>
<a href="https://github.com/drivenet"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/drivenet.png" alt="DRIVE.NET, Inc." title="DRIVE.NET, Inc." /></a>
<a href="https://github.com/Keflon"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png" alt="Keith Pickford" title="Keith Pickford" /></a>
<a href="https://github.com/tbolon"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png" alt="Thomas Bolon" title="Thomas Bolon" /></a>
<a href="https://github.com/kfrancis"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png" alt="Kori Francis" title="Kori Francis" /></a>
<a href="https://github.com/twenzel"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png" alt="Toni Wenzel" title="Toni Wenzel" /></a>
<a href="https://github.com/unoplatform"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/unoplatform.png" alt="Uno Platform" title="Uno Platform" /></a>
<a href="https://github.com/dansiegel"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dansiegel.png" alt="Dan Siegel" title="Dan Siegel" /></a>
<a href="https://github.com/rbnswartz"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png" alt="Reuben Swartz" title="Reuben Swartz" /></a>
<a href="https://github.com/jfoshee"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png" alt="Jacob Foshee" title="Jacob Foshee" /></a>
<a href="https://github.com/eajhnsn1"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Mrxx99.png" alt="" title="")](https://github.com/Mrxx99)
[![Eric Johnson](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eajhnsn1.png "Eric Johnson" /></a>
<a href="https://github.com/IxTechnologies"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png" alt="Ix Technologies B.V." title="Ix Technologies B.V." /></a>
<a href="https://github.com/davidjenni"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png" alt="David JENNI" title="David JENNI" /></a>
<a href="https://github.com/Jonathan-Hickey"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png" alt="Jonathan " title="Jonathan " /></a>
<a href="https://github.com/akunzai"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/akunzai.png" alt="Charley Wu" title="Charley Wu" /></a>
<a href="https://github.com/jakobt"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jakobt.png" alt="Jakob Tikjøb Andersen" title="Jakob Tikjøb Andersen" /></a>
<a href="https://github.com/tinohager"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tinohager.png" alt="Tino Hager" title="Tino Hager" /></a>
<a href="https://github.com/ploeh"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ploeh.png" alt="Mark Seemann" title="Mark Seemann" /></a>
<a href="https://github.com/KenBonny"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KenBonny.png" alt="Ken Bonny" title="Ken Bonny" /></a>
<a href="https://github.com/SimonCropp"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SimonCropp.png" alt="Simon Cropp" title="Simon Cropp" /></a>
<a href="https://github.com/agileworks-eu"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/agileworks-eu.png" alt="agileworks-eu" title="agileworks-eu" /></a>
<a href="https://github.com/sorahex"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png" alt="sorahex" title="sorahex" /></a>
<a href="https://github.com/arsdragonfly"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png" alt="Zheyu Shen" title="Zheyu Shen" /></a>
<a href="https://github.com/vezel-dev"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png" alt="Vezel" title="Vezel" /></a>
<a href="https://github.com/ChilliCream"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png" alt="ChilliCream" title="ChilliCream" /></a>
<a href="https://github.com/4OTC"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png" alt="4OTC" title="4OTC" /></a>
<a href="https://github.com/v-limo"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/v-limo.png" alt="Vincent Limo" title="Vincent Limo" /></a>
<a href="https://github.com/jordansjones"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jordansjones.png" alt="Jordan S. Jones" title="Jordan S. Jones" /></a>
<a href="https://github.com/DominicSchell"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/DominicSchell.png" alt="domischell" title="domischell" /></a></p>
<!-- sponsors.md -->
<p><a href="https://github.com/sponsors/devlooped"><img src="https://raw.githubusercontent.com/devlooped/sponsors/main/sponsor.png" alt="Sponsor this project" title="Sponsor this project" /></a>
</p>
<p><a href="https://github.com/sponsors">Learn more about GitHub Sponsors</a></p>
<!-- https://github.com/devlooped/sponsors/raw/main/footer.md -->
</section>
</div>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">ThisAssembly maintained by <a href="https://github.com/devlooped">devlooped</a></p>
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
</footer>
</div>
</body>
</html>