Skip to content

Commit

Permalink
Fixed the source generators not pulling in all scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronMayne committed Jan 25, 2024
1 parent c9bce25 commit 3ad6714
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
<Import_RootNamespace>SGF</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)Configuration\ResourceConfiguration.cs" Pack="True" PackagePath="sgf/src/Configuration\ResourceConfiguration.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Reflection\AssemblyNameComparer.cs" Pack="True" PackagePath="sgf/src/Reflection\AssemblyNameComparer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Reflection\AssemblyResolver.cs" Pack="True" PackagePath="sgf/src/Reflection\AssemblyResolver.cs" />
<Compile Include="$(MSBuildThisFileDirectory)IncrementalGenerator.cs" Pack="True" PackagePath="sgf/src/IncrementalGenerator.cs" />
<Compile Include="$(MSBuildThisFileDirectory)SgfInitializationContext.cs" Pack="True" PackagePath="sgf/src/SgfInitializationContext.cs" />
<Compile Include="$(MSBuildThisFileDirectory)SgfSourceProductionContext.cs" Pack="True" PackagePath="sgf/src/SgfSourceProductionContext.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Polyfills/**/*.cs" Pack="True" PackagePath="sgf/src/Polyfills/%(RecursiveDir)%(Filename)%(Extension)" />
<Compile Include="$(MSBuildThisFileDirectory)**\*.cs" Pack="True" PackagePath="sgf/src/%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@
</ItemGroup>
<ItemGroup Condition="'$(IsNuGetPackage.ToLower())' == 'true'">
<SGF_EmbeddedAssembly Include="$(MSBuildThisFileDirectory)..\sgf\embedded\assemblies\*.*"/>
<SGF_Polyfills Include="$(MSBuildThisFileDirectory)..\sgf\src\Polyfills\**.cs"/>

<!-- Core -->
<Compile Include="$(MSBuildThisFileDirectory)..\sgf\src\**.cs" Exclude="$(SGF_Polyfills)" Visible="$(SgfShowImports)">
<Compile Include="$(MSBuildThisFileDirectory)..\sgf\src\Core\**\*.cs" Visible="$(SgfShowImports)">
<Link>SGF/%(RecursiveDir)%(Filename)%(Extension)</Link>
</Compile>
<!-- Polyfills: Nullable-->
Expand Down

0 comments on commit 3ad6714

Please sign in to comment.