Skip to content

Commit 2e658ac

Browse files
committed
fix: documentation was not bundled in nuget
1 parent 7b76ed2 commit 2e658ac

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Catglobe.ResXFileCodeGenerator/Catglobe.ResXFileCodeGenerator.csproj

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,33 @@
1313
<Description>Converts Resx files into ultra fast runtime lookups using Source Generator.</Description>
1414
<PackageId>Catglobe.ResXFileCodeGenerator</PackageId>
1515
<IncludeBuildOutput>false</IncludeBuildOutput>
16-
<IncludeSymbols>false</IncludeSymbols>
1716
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1817
<NoWarn>$(NoWarn);NU5128</NoWarn>
1918
<DevelopmentDependency>true</DevelopmentDependency>
20-
<Version>3.3.0</Version>
19+
<Version>4.0.2</Version>
2120
<RepositoryCommit>frombuild</RepositoryCommit>
2221
<ImplicitUsings>enable</ImplicitUsings>
2322
<IsRoslynComponent>true</IsRoslynComponent>
2423
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
24+
25+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
26+
<EmbedUntrackedSources>false</EmbedUntrackedSources>
27+
<IncludeSymbols>true</IncludeSymbols>
28+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
29+
<NuGetAudit>true</NuGetAudit>
30+
<NuGetAuditMode>all</NuGetAuditMode>
31+
<NuGetAuditLevel>low</NuGetAuditLevel>
32+
<DeterministicSourcePaths>true</DeterministicSourcePaths>
33+
<PackageReadmeFile>README.md</PackageReadmeFile>
34+
<DevelopmentDependency>true</DevelopmentDependency>
2535
</PropertyGroup>
2636

2737
<ItemGroup>
2838
<None Include="build\**">
2939
<Pack>true</Pack>
3040
<PackagePath>build\</PackagePath>
3141
</None>
42+
<None Include="..\README.md" Pack="true" PackagePath="" />
3243
</ItemGroup>
3344

3445
<ItemDefinitionGroup>

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ Remember: the ResxSettings attribute can only be applied once per basename. If y
100100

101101
We’ve supercharged the evaluation chain to boost generator’s memoization engine! Now, it regenerates code far less often during your editing sessions—meaning a faster, more responsive experience every time you code.
102102

103+
### Upgrade from older versions
104+
105+
You may need to change your package reference to have `PrivateAssets="all"` such as this, otherwise the compiler may not be able to find the new Attribute:
106+
107+
`<PackageReference Include="Catglobe.ResXFileCodeGenerator" Version="4.0.1" PrivateAssets="all" />`
108+
103109
## New in version 3
104110

105111
* The generator now utilizes the IIncrementalGenerator API to instantly update the generated code, thus giving you instant intellisense.

0 commit comments

Comments
 (0)