Error trying to generate CSharp Client: Could not load type 'System.Runtime.CompilerServices.TaskAwaiter'
See original GitHub issueIt was working before this version (sorry, I don’t know exactly what version exactly I upgraded from)
I’m using 11.7.2.0
now.
The project is asp.net core 2.0
and all references are netstandard 2.0
.
I get this error even if I don’t select any controller.
Any clues?
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Could not load type 'System.Runtime.CompilerServices. ...
The pre-application start initialisation method Run on type WebActivator.ActivationManager threw an exception with the following error message ...
Read more >Error loading assembly using Graph API
I am trying to write a function app that uses the Graph SDK. ... but was not handled in user code: 'Could not...
Read more >Cannot load file or assembly 'System.Runtime'
When I try to run the application, I get this error: Could not load file or assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, ...
Read more >AWS Lambda function errors in C# - ...
This page describes how to view Lambda function invocation errors for the C# runtime using the Lambda console and the AWS CLI.
Read more >Error when changing Scripts - Unity Forum
I'm getting the DirectoryNotFoundException on it : Code (CSharp):. System.IO.DirectoryNotFoundException: Could not ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes and i think you also dont need to dotnet publish selfcontained - dotnet build should be enough
v11.8 has been released, please test your projects with it:
The wiki has been updated: https://github.com/RSuter/NSwag/wiki/Assembly-loading