We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since yesterday I'm getting an error 'The type initializer for 'LiquidTemplate' threw an exception..', so no OpenAPI class is created.
I'm using: Visual Studio 2022 NSwag 13.19.0.0 Unchase.OpenAPI.Connectedservice 1.9.0
[07.06.2023 09:19:08.678] Warning:Failed loading the Unchase.OpenAPI.ConnectedService_Settings.xml user settings [07.06.2023 09:20:17.350] Warning:Failed loading the Unchase.OpenAPI.ConnectedService_Settings.xml user settings [07.06.2023 09:20:17.474] Adding Unchase OpenAPI (Swagger) Connected Service to the project. [07.06.2023 09:20:17.475] Adding service instance for "https://ebswebsvclbeut1:55603/swagger/IndikoMasterWebServiceSpecificationCorrEmail/swagger.json"... [07.06.2023 09:20:17.478] Adding Nuget Packages for OpenAPI (Swagger) CSharp Client... [07.06.2023 09:20:17.481] Nuget Package "Newtonsoft.Json" for OpenAPI (Swagger) already installed. [07.06.2023 09:20:17.484] Nuget Package "System.Net.Http" for OpenAPI (Swagger) already installed. [07.06.2023 09:20:17.488] Nuget Package "System.ComponentModel.Annotations" for OpenAPI (Swagger) already installed. [07.06.2023 09:20:17.490] Nuget Packages for OpenAPI (Swagger) CSharp Client were installed. [07.06.2023 09:20:17.492] Generating NSwag-file for OpenAPI (Swagger)... [07.06.2023 09:20:17.987] NSwag-file "OpenAPI.nswag" for OpenAPI (Swagger) was generated. [07.06.2023 09:20:17.990] Generating Client Proxy for OpenAPI (Swagger) Client... [07.06.2023 09:20:18.192] Warning:Error: The type initializer for 'LiquidTemplate' threw an exception.. [07.06.2023 09:20:18.199] Client Proxy for OpenAPI (Swagger) Client was generated. [07.06.2023 09:20:18.201] Adding service instance complete! [07.06.2023 09:20:18.410] Finished adding Unchase OpenAPI (Swagger) Connected Service to the project.
The text was updated successfully, but these errors were encountered:
Hi, @Heinzman
The error is likely related to the latest update of the Connected Service. Try installing the previous version of the extension.
Sorry, something went wrong.
Thank you,
with previous version it works again.
125976b
No branches or pull requests
Since yesterday I'm getting an error 'The type initializer for 'LiquidTemplate' threw an exception..', so no OpenAPI class is created.
I'm using:
Visual Studio 2022
NSwag 13.19.0.0
Unchase.OpenAPI.Connectedservice 1.9.0
[07.06.2023 09:19:08.678] Warning:Failed loading the Unchase.OpenAPI.ConnectedService_Settings.xml user settings
[07.06.2023 09:20:17.350] Warning:Failed loading the Unchase.OpenAPI.ConnectedService_Settings.xml user settings
[07.06.2023 09:20:17.474] Adding Unchase OpenAPI (Swagger) Connected Service to the project.
[07.06.2023 09:20:17.475] Adding service instance for "https://ebswebsvclbeut1:55603/swagger/IndikoMasterWebServiceSpecificationCorrEmail/swagger.json"...
[07.06.2023 09:20:17.478] Adding Nuget Packages for OpenAPI (Swagger) CSharp Client...
[07.06.2023 09:20:17.481] Nuget Package "Newtonsoft.Json" for OpenAPI (Swagger) already installed.
[07.06.2023 09:20:17.484] Nuget Package "System.Net.Http" for OpenAPI (Swagger) already installed.
[07.06.2023 09:20:17.488] Nuget Package "System.ComponentModel.Annotations" for OpenAPI (Swagger) already installed.
[07.06.2023 09:20:17.490] Nuget Packages for OpenAPI (Swagger) CSharp Client were installed.
[07.06.2023 09:20:17.492] Generating NSwag-file for OpenAPI (Swagger)...
[07.06.2023 09:20:17.987] NSwag-file "OpenAPI.nswag" for OpenAPI (Swagger) was generated.
[07.06.2023 09:20:17.990] Generating Client Proxy for OpenAPI (Swagger) Client...
[07.06.2023 09:20:18.192] Warning:Error: The type initializer for 'LiquidTemplate' threw an exception..
[07.06.2023 09:20:18.199] Client Proxy for OpenAPI (Swagger) Client was generated.
[07.06.2023 09:20:18.201] Adding service instance complete!
[07.06.2023 09:20:18.410] Finished adding Unchase OpenAPI (Swagger) Connected Service to the project.
The text was updated successfully, but these errors were encountered: