Guest User

Untitled

a guest
Jan 23rd, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. FileNotFoundException: Could not find file 'D:homesitewwwrootWeb.xml'.
  2.  
  3. System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
  4. System.IO.FileStream..ctor(string path, FileMode mode, FileAccess access,
  5. FileShare share, int bufferSize, FileOptions options)
  6. System.IO.FileStream..ctor(string path, FileMode mode, FileAccess access,
  7. FileShare share, int bufferSize)
  8. System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials,
  9. IWebProxy proxy, RequestCachePolicy cachePolicy)
  10. System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn)
  11. System.Xml.XmlTextReaderImpl.OpenUrl()
  12. System.Xml.XmlTextReaderImpl.Read()
  13. System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
  14. System.Xml.XPath.XPathDocument..ctor(string uri, XmlSpace space)
  15. Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions+<>c__DisplayClass25_0.<IncludeXmlComments>b__0()
  16. Swashbuckle .AspNetCore.SwaggerGen.SwaggerGenOptions
  17. .CreateSwaggerProvider(IServiceProvider serviceProvider)
  18. Microsoft.Extensions.DependencyInjection
  19. .SwaggerGenServiceCollectionExtensions.CreateSwaggerProvider(IServiceProvider serviceProvider)
  20. Microsoft.Extensions.DependencyInjection.ServiceLookup
  21. .CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, ServiceProvider provider)
  22. Microsoft.Extensions.DependencyInjection.ServiceLookup
  23. .CallSiteVisitor.VisitCallSite(IServiceCallSite callSite, TArgument argument)
  24. Microsoft.Extensions.DependencyInjection.ServiceLookup
  25. .CallSiteRuntimeResolver.VisitTransient(TransientCallSite transientCallSite, ServiceProvider provider)
  26. Microsoft.Extensions.DependencyInjection.ServiceLookup
  27. .CallSiteVisitor.VisitCallSite(IServiceCallSite callSite, TArgument argument)
  28. Microsoft.Extensions.DependencyInjection.ServiceProvider+<>c__DisplayClass22_0.<RealizeService>b__0(ServiceProvider provider)
  29. Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)
  30. Microsoft.Extensions.Internal.ActivatorUtilities+ConstructorMatcher
  31. .CreateInstance(IServiceProvider provider)
  32. Microsoft.Extensions.Internal.ActivatorUtilities
  33. .CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters)
  34. Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass4_0.<UseMiddleware>b__0(RequestDelegate next)
  35. Microsoft.AspNetCore.Builder.Internal.ApplicationBuilder.Build()
  36. Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
  37.  
  38. var basePath = PlatformServices.Default.Application.ApplicationBasePath;
  39. var xmlPath = Path.Combine(basePath, "Web.xml");
  40. c.IncludeXmlComments(xmlPath);
  41.  
  42. var basePath = AppContext.BaseDirectory;
Add Comment
Please, Sign In to add comment