File tree Expand file tree Collapse file tree
Web.Stubs/AttributeStubGenerator Expand file tree Collapse file tree Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff line change 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 >
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 >
You can’t perform that action at this time.
0 commit comments