Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

What are required dependencies? #8

Open
karpikpl opened this issue Feb 25, 2022 · 1 comment
Open

What are required dependencies? #8

karpikpl opened this issue Feb 25, 2022 · 1 comment

Comments

@karpikpl
Copy link

I followed the readme but after adding

    <PackageReference Include="Liquid.Serverless.AzureFunctions" Version="2.0.2-alpha" />

the sample doesn't compile

error CS0234: The type or namespace name 'Context' does not exist in the namespace 'Liquid.Core' (are you missing an assembly reference?) 
error CS0234: The type or namespace name 'Telemetry' does not exist in the namespace 'Liquid.Core' (are you missing an assembly reference?) 
error CS0234: The type or namespace name 'DependencyInjection' does not exist in the namespace 'Liquid.Core' (are you missing an assembly reference?) 
error CS0246: The type or namespace name 'ILightContext' could not be found (are you missing a using directive or an assembly reference?) 
error CS0246: The type or namespace name 'ILightTelemetry' could not be found (are you missing a using directive or an assembly reference?) 
@karpikpl
Copy link
Author

looks like Serverless works only with <PackageReference Include="Liquid.Core" Version="2.0.2-alpha" /> but all other packages already updated to 2.1.0.
It's very hard to figure out what depends on what.

There also seems to be a hard dependency on appsettings.json not covered in wiki

System.Private.CoreLib: The configuration file 'appsettings.json' was not found and is not optional.

but azure functions don't use appsettings.json

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant