Skip to content

1.0.3 Service key fixed for NET8.0

Choose a tag to compare

@imvulpi imvulpi released this 31 Mar 10:36
· 19 commits to master since this release

1.0.3

it's 1.0.2 with added service key fix for net8.0, because of 1.0.2 you can use global namespaces and no namespaces

The following zip files contain GodInject and GodInject.Analyzer, you need both of them.

File name explanation:

  • Debug - includes .pdb and .deps.json files, is compiled for Debug, allows options for debugging the analyzer
    • for debugging include <CompilerVisibleProperty Include="AIG_EnableDebug"></CompilerVisibleProperty> in .csproj file
  • Release - Includes ONLY .dll files, is smaller, there is no debugging the analyzer.
  • NET6/NET7/NET8 - NET Version the GodInject .dll was compiled for (for Analyzer its always netstandard2.0)

The library itself is very small (~20KB), but it has to be used with DryIoc.dll which is ~770kb
Total will be something ~800KB

--
Debugging tips in some projects:
In some engines and projects the generated files will be automatically consumed not returning any output, for an output run the build with:
dotnet build /p:EmitCompilerGeneratedFiles=true
if this doesn't work then run dotnet clean and try again
or use a tag in csproj:
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>

For Installation see README file