Skip to content

Commit 181864b

Browse files
committed
Adopt SponsorLink v2
Related to #166
1 parent ae7e915 commit 181864b

53 files changed

Lines changed: 3979 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.netconfig

Lines changed: 299 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,302 @@
155155

156156
etag = 013a47739e348f06891f37c45164478cca149854e6cd5c5158e6f073f852b61a
157157
weak
158+
[file "src/SponsorLink"]
159+
url = https://github.com/devlooped/sponsorLink/tree/main/samples/dotnet/
160+
[file "src/SponsorLink/Analyzer/Analyzer.csproj"]
161+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Analyzer/Analyzer.csproj
162+
sha = 8f0e6216360f3f8700b4845f3ec2310aabd996f3
163+
164+
etag = 671a82f0f6770a990f9364ecf321eeea75bd6092f98c009039af02df172152df
165+
weak
166+
[file "src/SponsorLink/Analyzer/GraceApiAnalyzer.cs"]
167+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Analyzer/GraceApiAnalyzer.cs
168+
sha = 4638da914b0527c156227f3705ca60a85c1871e4
169+
170+
etag = 6603b004f41e023d03b86f175d9fc4e0a462d1b2519406e46b4831e36c378e6f
171+
weak
172+
[file "src/SponsorLink/Analyzer/Properties/launchSettings.json"]
173+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Analyzer/Properties/launchSettings.json
174+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
175+
176+
etag = 6c59ab4d008e3221e316c9e3b6e0da155b892680d48cdc400a39d53cb9a12aac
177+
weak
178+
[file "src/SponsorLink/Analyzer/StatusReportingAnalyzer.cs"]
179+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Analyzer/StatusReportingAnalyzer.cs
180+
sha = eceeb2c5596285c95db4d1a031cc36238a7cd22d
181+
182+
etag = db37e051eeea1a0e368ccc8bfdf59c373486a583c57ad8301d6be9ab21da4e0d
183+
weak
184+
[file "src/SponsorLink/Analyzer/StatusReportingGenerator.cs"]
185+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Analyzer/StatusReportingGenerator.cs
186+
sha = 08d80dd734525b1e6f46adbffd2aab77d73afb71
187+
188+
etag = 09f466f0a23877a980ec01a7b15330c6c36c44960028188d826a8ef48f8756aa
189+
weak
190+
[file "src/SponsorLink/Analyzer/buildTransitive/SponsorableLib.targets"]
191+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Analyzer/buildTransitive/SponsorableLib.targets
192+
sha = eceeb2c5596285c95db4d1a031cc36238a7cd22d
193+
194+
etag = 727bd941b7a8be190c7f17a41c791ef2248be5e25a36460a0457bc080a7d4503
195+
weak
196+
[file "src/SponsorLink/Directory.Build.props"]
197+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Directory.Build.props
198+
sha = 7b5109b5b5a53a2cc16759b776c4a092aec5ca57
199+
200+
etag = 5d4e433c71291ea953d328aa26b2d93cdf4708271f0eb024138ba2e0db93ab15
201+
weak
202+
[file "src/SponsorLink/Directory.Build.targets"]
203+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Directory.Build.targets
204+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
205+
206+
etag = 9938f29c3573bf8bdb9686e1d9884dee177256b1d5dd7ee41472dd64bfbdd92d
207+
weak
208+
[file "src/SponsorLink/Library/Library.csproj"]
209+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Library/Library.csproj
210+
sha = 0f551e3be564625ee4d078649c55363bf35954ba
211+
212+
etag = 1ba2df85e2aae342f575b9ea08c38b2117f43c131b24d38082d1d4394716f3d0
213+
weak
214+
[file "src/SponsorLink/Library/MyClass.cs"]
215+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Library/MyClass.cs
216+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
217+
218+
etag = b5b3ccd6cd14bb90dd9702b9d7e52cc22c11e601c039617738d688f9fd45d49b
219+
weak
220+
[file "src/SponsorLink/Library/Resources.resx"]
221+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Library/Resources.resx
222+
etag = aff6051733d22982e761f2b414173aafeab40e0a76a142e2b33025dced213eb2
223+
weak
224+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
225+
226+
[file "src/SponsorLink/Library/readme.md"]
227+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Library/readme.md
228+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
229+
230+
etag = 5002ac8c5bbeee60c13937a32c1b6c1a5dbf0065617c8f2550e6eca6fded256d
231+
weak
232+
[file "src/SponsorLink/SponsorLink.Analyzer.Tests.targets"]
233+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink.Analyzer.Tests.targets
234+
sha = 8a4082211918b604ad95ef0f3da3cd414747c46a
235+
236+
237+
etag = ac4e82c24d5a812eb7a1ad20d2d076b7aeedddd90c8196eaea0c227693a2ede6
238+
weak
239+
[file "src/SponsorLink/SponsorLink.Analyzer.targets"]
240+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink.Analyzer.targets
241+
sha = 8a4082211918b604ad95ef0f3da3cd414747c46a
242+
243+
244+
245+
etag = b75dd01945453c3ccd9eb96f65959ff1607a2cf11226fac5014b01b7cb6314d7
246+
weak
247+
[file "src/SponsorLink/SponsorLink/AnalyzerOptionsExtensions.cs"]
248+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/AnalyzerOptionsExtensions.cs
249+
sha = 38a11504cc9cbd994fb7380fd580102e7514b3b5
250+
251+
etag = 9d0e3495b4db00915f79f7e0549b20f2ffff38865741a69810251550686102cc
252+
weak
253+
[file "src/SponsorLink/SponsorLink/AppDomainDictionary.cs"]
254+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/AppDomainDictionary.cs
255+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
256+
257+
etag = 4a70f86e73f951bca95618c221d821e38a31ef9092af4ac61447eab845671a28
258+
weak
259+
[file "src/SponsorLink/SponsorLink/DiagnosticsManager.cs"]
260+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/DiagnosticsManager.cs
261+
sha = 29921560c73bb91c2a21a21800daf0b250773598
262+
263+
etag = a5d79dbc0ed9fac4fb1879fb3790b9ebab18e47c14c454554ce9f53f21487bb5
264+
weak
265+
[file "src/SponsorLink/SponsorLink/Resources.es-AR.resx"]
266+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/Resources.es-AR.resx
267+
sha = 586398c3e650495f36601ecc8983a14ed745e058
268+
269+
etag = 1d6ca61601815a20581fc13f9efdad151ee0e5cf952318723265d5c183d3e1cc
270+
weak
271+
[file "src/SponsorLink/SponsorLink/Resources.es.resx"]
272+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/Resources.es.resx
273+
etag = 89a7bb797aeacca43e043196a00eea91f282df4caf9bbe937749026a03f707ad
274+
weak
275+
sha = 21d8dac3077c75cd07d7cc7f9e10f2620afce834
276+
277+
[file "src/SponsorLink/SponsorLink/Resources.resx"]
278+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/Resources.resx
279+
sha = 21d8dac3077c75cd07d7cc7f9e10f2620afce834
280+
281+
etag = 8902652b8907de2fbccf73f3738d0fce503fc667a084171d6b88bf3373e559e7
282+
weak
283+
[file "src/SponsorLink/SponsorLink/SponsorLink.cs"]
284+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/SponsorLink.cs
285+
sha = a755e4be0f7cb73cfde208857e28f7cfeba2dcc3
286+
287+
etag = 402e2beb11cf64c07be3d0fc3e89115fd09fc24133c08a8951bf0e784909c510
288+
weak
289+
[file "src/SponsorLink/SponsorLink/SponsorLink.csproj"]
290+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/SponsorLink.csproj
291+
sha = e8ec200934a3b3788c2e31d7022c717f5fd152fa
292+
293+
etag = 1a58baf82b1813f68610272aa6161a18a70d5c619154734039a0d48fce6d735a
294+
weak
295+
[file "src/SponsorLink/SponsorLink/SponsorLinkAnalyzer.cs"]
296+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/SponsorLinkAnalyzer.cs
297+
sha = 46e9abe02e5a6abadda66ef050ddc5b9859aa2b8
298+
299+
etag = 062a02b6eb45e5e49cc73c77c25d66bf2695fc365e13ce7dc39f813a030fc370
300+
weak
301+
[file "src/SponsorLink/SponsorLink/SponsorManifest.cs"]
302+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/SponsorManifest.cs
303+
etag = 55ef89e8441156541c1c74a50675b7f56633b56493031f0ffa877460839e3536
304+
weak
305+
sha = a755e4be0f7cb73cfde208857e28f7cfeba2dcc3
306+
307+
[file "src/SponsorLink/SponsorLink/SponsorStatus.cs"]
308+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/SponsorStatus.cs
309+
sha = 29921560c73bb91c2a21a21800daf0b250773598
310+
311+
etag = 419a823edb42d9175ae96d66a8b0191d8fc91921268c2a5340cf8d34519d4535
312+
weak
313+
[file "src/SponsorLink/SponsorLink/SponsorableLib.targets"]
314+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/SponsorableLib.targets
315+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
316+
317+
etag = 2f923a97081481a6a264d63c8ff70ce5ba65c3dbaf7ea078cbe1388fb0868e1c
318+
weak
319+
[file "src/SponsorLink/SponsorLink/Tracing.cs"]
320+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/Tracing.cs
321+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
322+
323+
etag = 29d6c0362f4c47eedfebea5018d563adb04a8f7b30da87495c5c8a4561e2c4ed
324+
weak
325+
[file "src/SponsorLink/SponsorLink/buildTransitive/Devlooped.Sponsors.targets"]
326+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/buildTransitive/Devlooped.Sponsors.targets
327+
sha = 697e210b68c7d6f0ececca7673d13f4309df6cd7
328+
329+
etag = e2cb4d1bbf4096f4b3fcfa0b20abccb33520442b656f19e01e5da928fd927da8
330+
weak
331+
[file "src/SponsorLink/SponsorLink/sponsorable.md"]
332+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLink/sponsorable.md
333+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
334+
335+
etag = 9c275d50705a2e661f0f86f1ae5e555c0033a05e86e12f936283a5b5ef47ae77
336+
weak
337+
[file "src/SponsorLink/SponsorLinkAnalyzer.sln"]
338+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/SponsorLinkAnalyzer.sln
339+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
340+
341+
etag = fc2928c9b303d81ff23891ee791a859b794d9f2d4b9f4e81b9ed15e5b74db487
342+
weak
343+
[file "src/SponsorLink/Tests/.netconfig"]
344+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/.netconfig
345+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
346+
347+
etag = 0323e19eb4582113dd409853ba83e9845069bf35733ed84a0bdc9fb6990502a9
348+
weak
349+
[file "src/SponsorLink/Tests/AnalyzerTests.cs"]
350+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/AnalyzerTests.cs
351+
sha = 697e210b68c7d6f0ececca7673d13f4309df6cd7
352+
353+
etag = 44ef3022d2ebe1251896542b697baa9dcef9b9805b68845ccc9d0ff0181ba9d1
354+
weak
355+
[file "src/SponsorLink/Tests/Attributes.cs"]
356+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/Attributes.cs
357+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
358+
359+
etag = 1d7c17a2c9424db73746112c338a39e0000134ac878b398e2aa88f7ea5c0c488
360+
weak
361+
[file "src/SponsorLink/Tests/Extensions.cs"]
362+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/Extensions.cs
363+
etag = 9e51b7e6540fae140490a5283b1e67ce071bd18a267bc2ae0b35c7248261aed1
364+
weak
365+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
366+
367+
[file "src/SponsorLink/Tests/JsonOptions.cs"]
368+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/JsonOptions.cs
369+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
370+
371+
etag = 17799725ad9b24eb5998365962c30b9a487bddadca37c616e35b76b8c9eb161a
372+
weak
373+
[file "src/SponsorLink/Tests/Resources.resx"]
374+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/Resources.resx
375+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
376+
377+
etag = 13d1bb8b0de32a8c9b5dbdc806a036ed89d423cd7c0be187b8c56055c9bf7783
378+
weak
379+
[file "src/SponsorLink/Tests/Sample.cs"]
380+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/Sample.cs
381+
sha = ca82a9d6298a933192c5dfd2c5881ebadb85d0fe
382+
383+
etag = 1875555adb7eab21acf1e730b6baeb8c095d9f6f9f07303a87ad9c16e0f6490d
384+
weak
385+
[file "src/SponsorLink/Tests/SponsorManifestTests.cs"]
386+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/SponsorManifestTests.cs
387+
sha = a755e4be0f7cb73cfde208857e28f7cfeba2dcc3
388+
389+
etag = 82ae1c417265f2e136544980b4f687a1cc2c1bfb24df93d354c259053550f4a3
390+
weak
391+
[file "src/SponsorLink/Tests/SponsorableManifest.cs"]
392+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/SponsorableManifest.cs
393+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
394+
395+
etag = eb2292c6d7bf53a56acbb73d7c89ccc78fd8bec2e2198d70e36da93c01d36374
396+
weak
397+
[file "src/SponsorLink/Tests/Tests.csproj"]
398+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/Tests.csproj
399+
sha = e8ec200934a3b3788c2e31d7022c717f5fd152fa
400+
401+
etag = eb34fc9fe25b0169f069ff692379a19c59673727d8abb6f45816012661329df5
402+
weak
403+
[file "src/SponsorLink/Tests/keys/kzu.key"]
404+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/keys/kzu.key
405+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
406+
407+
etag = bd8f5b16d248829e9cf4d8695677b2b7c09607d2b50b1cda05dbaa48c2a3fe04
408+
weak
409+
[file "src/SponsorLink/Tests/keys/kzu.key.jwk"]
410+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/keys/kzu.key.jwk
411+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
412+
413+
etag = dca60d636ab866adf211662a5aa597e4d1f477a280f6ee82cd7f7b390535a458
414+
weak
415+
[file "src/SponsorLink/Tests/keys/kzu.key.txt"]
416+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/keys/kzu.key.txt
417+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
418+
419+
etag = 7553487806f6dbd219b4dbda5d6fb097b8047a1d1856255a339e049c7496da43
420+
weak
421+
[file "src/SponsorLink/Tests/keys/kzu.pub"]
422+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/keys/kzu.pub
423+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
424+
425+
etag = 75c544bb911372c909a58d6d07e89abe776ef618861f6d580915b0e79c6bb2fe
426+
weak
427+
[file "src/SponsorLink/Tests/keys/kzu.pub.jwk"]
428+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/keys/kzu.pub.jwk
429+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
430+
431+
etag = 9a2829bf01fe53089c0f4ff46f5bca60955338bbfc7a2354482cde05dc750806
432+
weak
433+
[file "src/SponsorLink/Tests/keys/kzu.pub.txt"]
434+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/keys/kzu.pub.txt
435+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
436+
437+
etag = 6308869899eb7efeee34dc4daa71ee04a06f21cc09199beb74a78af8e213f576
438+
weak
439+
[file "src/SponsorLink/Tests/keys/sponsorlink.jwt"]
440+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/Tests/keys/sponsorlink.jwt
441+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
442+
443+
etag = af05cc803434a0e22b67521be8bb66676c5c0ca0795afb4430bd26751ce307e1
444+
weak
445+
[file "src/SponsorLink/jwk.ps1"]
446+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/jwk.ps1
447+
etag = f399e05ecb56adaf41d2545171f299a319142b17dd09fc38e452ca8c5d13bd0d
448+
weak
449+
sha = f47528874a6d9192b5546f84b455f5ccc474a707
450+
451+
[file "src/SponsorLink/readme.md"]
452+
url = https://github.com/devlooped/SponsorLink/blob/main/samples/dotnet/readme.md
453+
sha = 697e210b68c7d6f0ececca7673d13f4309df6cd7
454+
455+
etag = 3f3bb07d204d2539d90a28145653c4b48c1f373d7186b39d2593338cebcd3299
456+
weak

src/Directory.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<PackageProjectUrl>https://www.clarius.org/Merq</PackageProjectUrl>
4+
<Product>Merq</Product>
45
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
56
<NoWarn>NU1507;$(NoWarn)</NoWarn>
67
</PropertyGroup>

src/Merq.CodeAnalysis/Merq.CodeAnalysis.csproj

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@
1010
<SignAssembly>false</SignAssembly>
1111
<IsRoslynComponent>true</IsRoslynComponent>
1212
</PropertyGroup>
13-
13+
14+
<PropertyGroup Label="SponsorLink">
15+
<CustomAfterMicrosoftCSharpTargets>$(MSBuildThisFileDirectory)..\SponsorLink\SponsorLink.Analyzer.targets</CustomAfterMicrosoftCSharpTargets>
16+
<FundingPackageId>Merq;Merq.Abstractions;Merq.VisualStudio</FundingPackageId>
17+
<FundingPrefix>MERQ</FundingPrefix>
18+
<FundingGrace>30</FundingGrace>
19+
</PropertyGroup>
20+
1421
<ItemGroup>
1522
<PackageReference Include="NuGetizer" />
1623
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Pack="false" />
@@ -20,4 +27,8 @@
2027
<PackageReference Include="PolySharp" Pack="false" />
2128
</ItemGroup>
2229

30+
<Target Name="VerifySponsorLink" AfterTargets="Build">
31+
<Error Condition="'$(SponsorLinkImported)' != 'true'" Text="SponsorLink was not imported." />
32+
</Target>
33+
2334
</Project>

src/Merq.Tests/Merq.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,7 @@
4848
<CompilerVisibleProperty Include="DebugMerqAnalyzer" Condition="'$(BuildingInsideVisualStudio)' != true" />
4949
</ItemGroup>
5050

51+
<Import Project="..\SponsorLink\SponsorLink\buildTransitive\Devlooped.Sponsors.targets" />
52+
<Import Project="..\SponsorLink\SponsorLink.Analyzer.Tests.targets" />
53+
5154
</Project>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<AssemblyName>SponsorableLib.Analyzers</AssemblyName>
5+
<TargetFramework>netstandard2.0</TargetFramework>
6+
<IsRoslynComponent>true</IsRoslynComponent>
7+
<PackFolder>analyzers/dotnet/roslyn4.0</PackFolder>
8+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
9+
<MergeAnalyzerAssemblies>false</MergeAnalyzerAssemblies>
10+
<MergeAnalyzerAssemblies Condition="'$(CI)' == 'true'">true</MergeAnalyzerAssemblies>
11+
<CustomAfterMicrosoftCSharpTargets>$(MSBuildThisFileDirectory)..\SponsorLink.Analyzer.targets</CustomAfterMicrosoftCSharpTargets>
12+
<ImplicitUsings>disable</ImplicitUsings>
13+
<FundingPackageId>SponsorableLib</FundingPackageId>
14+
</PropertyGroup>
15+
16+
<ItemGroup>
17+
<PackageReference Include="NuGetizer" Version="1.2.4" />
18+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.3.1" Pack="false" />
19+
<PackageReference Include="PolySharp" Version="1.15.0" PrivateAssets="all" />
20+
<PackageReference Include="ThisAssembly.AssemblyInfo" Version="2.0.11" PrivateAssets="all" />
21+
</ItemGroup>
22+
23+
<ItemGroup>
24+
<None Update="buildTransitive\SponsorableLib.targets" Pack="true" />
25+
</ItemGroup>
26+
27+
<ItemGroup>
28+
<InternalsVisibleTo Include="Tests" />
29+
</ItemGroup>
30+
31+
<!-- To support tests, fake an extra sponsorable with the test key -->
32+
<Target Name="ReadTestJwk" BeforeTargets="GetAssemblyAttributes">
33+
<PropertyGroup>
34+
<!-- Read public key we validate manifests against -->
35+
<TestJwk>$([System.IO.File]::ReadAllText('$(MSBuildThisFileDirectory)..\Tests\keys\kzu.pub.jwk'))</TestJwk>
36+
</PropertyGroup>
37+
<ItemGroup>
38+
<AssemblyMetadata Include="Funding.GitHub.kzu" Value="$(TestJwk)" />
39+
</ItemGroup>
40+
</Target>
41+
42+
</Project>

0 commit comments

Comments
 (0)