AppDomain.CurrentDomain.GetAssemblies()没有precompiledviews.dll

时间:2019-12-22 03:08:12

标签: asp.net-mvc asp.net-core

在将PrecompiledViews.dll加载到AppDomain.CurrentDomain时遇到问题。

我将项目设置为<html> <title>Page title</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- import w3.css from w3schools, or better still, download a copy and host it on your own site --> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <body> <div class="w3-third w3-container"> <h2>w3-third</h2> <p>The w3-twothird class uses 33% of parent container.</p> <p>On screens smaller than 601 pixels it resizes to full screen.</p> </div> <div class="w3-twothird w3-container w3-red"> <h2>w3-twothird</h2> <p>The w3-twothird class uses 66% of the parent container.</p> <p>On screens smaller than 601 pixels it resizes to full screen.</p> </div> </body> </html> ,并且正确发布了PrecompiledViews.dll,但是当我在启动时加载PrecompiledViews.dll时,AppDomain.CurrentDomain.Load()抛出FileNotFound异常。

有人对此有任何想法吗?

0 个答案:

没有答案