You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This issue causes loads of warnings when running the MVC functional tests from the command line.
Should use AppContext.BaseDirectory (easiest), Assembly.Location (for some assembly in the app), or AppDomain.CurrentDomain.BaseDirectory (if available) instead.
Note MvcWebApplicationBuilder uses both Directory.GetCurrentDirectory() and AppContext.BaseDirectory. WebApplicationTestFixture<TStartup> uses only the unreliable Directory.GetCurrentDirectory().
The text was updated successfully, but these errors were encountered:
This issue causes loads of warnings when running the MVC functional tests from the command line.
Should use
AppContext.BaseDirectory
(easiest),Assembly.Location
(for some assembly in the app), orAppDomain.CurrentDomain.BaseDirectory
(if available) instead.Note
MvcWebApplicationBuilder
uses bothDirectory.GetCurrentDirectory()
andAppContext.BaseDirectory
.WebApplicationTestFixture<TStartup>
uses only the unreliableDirectory.GetCurrentDirectory()
.The text was updated successfully, but these errors were encountered: