Skip to content

Commit f49fa26

Browse files
linkdotnetegil
authored andcommitted
fix ci errors
1 parent f5cd8a2 commit f49fa26

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

src/bunit.generators/Web.Stubs/AttributeStubGenerator/StubAttributeGenerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public class StubAttributeGenerator : IIncrementalGenerator
1414
{
1515
private const string AttributeFullQualifiedName = "Bunit.StubAttribute";
1616

17+
/// <inheritdoc />
1718
public void Initialize(IncrementalGeneratorInitializationContext context)
1819
{
1920
context.RegisterPostInitializationOutput(ctx => ctx.AddSource(

src/bunit.generators/bunit.generators.csproj

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@
77
<RootNamespace>Bunit</RootNamespace>
88
</PropertyGroup>
99

10+
<PropertyGroup Label="Build instructions">
11+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
12+
<!-- Creates a regular package and a symbols package -->
13+
<IncludeSymbols>true</IncludeSymbols>
14+
<!-- Creates symbol package in the new .snupkg format -->
15+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
16+
<!--
17+
Instruct the build system to embed project source files that are not tracked by the source control
18+
or imported from a source package to the generated PDB.
19+
-->
20+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
21+
<!-- Recommended: Embed symbols containing Source Link in the main file (exe/dll) -->
22+
<DebugType>embedded</DebugType>
23+
<Deterministic>true</Deterministic>
24+
25+
<EnablePackageValidation>true</EnablePackageValidation>
26+
<GenerateCompatibilitySuppressionFile>true</GenerateCompatibilitySuppressionFile>
27+
</PropertyGroup>
28+
1029
<PropertyGroup Label="NuGet package information">
1130
<PackageId>bunit.generators</PackageId>
1231
<Title>bUnit.generators</Title>
@@ -55,5 +74,7 @@
5574
<PrivateAssets>all</PrivateAssets>
5675
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
5776
</PackageReference>
77+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
78+
<PackageReference Include="Nerdbank.GitVersioning" Version="3.6.133" PrivateAssets="All" />
5879
</ItemGroup>
5980
</Project>

0 commit comments

Comments
 (0)