ApiIntegrationTestSamples icon indicating copy to clipboard operation
ApiIntegrationTestSamples copied to clipboard

System.InvalidOperationException.

Open KKica opened this issue 5 years ago • 0 comments

I am trying to use this sample for my own project but when running the tests I get this error

System.InvalidOperationException : No method 'public static IWebHostBuilder CreateWebHostBuilder(string[] args)' found on 'AutoGeneratedProgram'. Alternatively, WebApplicationFactory1 can be extended and 'protected virtual IWebHostBuilder CreateWebHostBuilder()' can be overridden to provide your own IWebHostBuilder instance.

KKica avatar Jan 27 '20 22:01 KKica