在asp.net App_Code目录中使用Nemerle
发布时间:2021-01-12 05:54:48 所属栏目:asp.Net 来源:互联网
导读:我想在ASP.NET应用程序中使用Nemerle.具体来说,将.n文件放入App_Code. 我将其添加到我的web.config system.codedom / compilers部分: compiler language=n;Nemerle extension=.n type=Nemerle.Compiler.NemerleCodeProvider, Nemerle.Compil
我想在ASP.NET应用程序中使用Nemerle.具体来说,将.n文件放入App_Code. 我将其添加到我的web.config system.codedom / compilers部分: <compiler language="n;Nemerle" extension=".n" type="Nemerle.Compiler.NemerleCodeProvider,Nemerle.Compiler"/> 运行时我得到这个例外: 程序集“”已经加载到另一个应用程序域中.在machine.config中设置可以帮助解决这个问题. 堆栈跟踪 [HttpException (0x80004005): The assembly '' is already loaded in another appdomain. Setting <deployment retail="true" /> in machine.config can help solve this issue.] System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir,CodeDirectoryType dirType,String assemblyName,StringSet excludedSubdirectories,Boolean isDirectoryAllowed) +8809675 System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir,StringSet excludedSubdirectories) +128 System.Web.Compilation.BuildManager.CompileCodeDirectories() +265 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +320 [HttpException (0x80004005): The assembly '' is already loaded in another appdomain. Setting <deployment retail="true" /> in machine.config can help solve this issue.] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager,IApplicationHost appHost,IConfigMapPathFactory configMapPathFactory,HostingEnvironmentParameters hostingParameters) +729 [HttpException (0x80004005): The assembly '' is already loaded in another appdomain. Setting <deployment retail="true" /> in machine.config can help solve this issue.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8890735 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259 我究竟做错了什么? 解决方法使用Visual Studio 2010发现偶尔的问题.停止任何正在运行的虚拟Web服务器主机进程并重新启动Visual Studio.(编辑:岳阳站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net – 如何设置显示内联的Div元素的固定宽度?
- asp.net-mvc – 如何在ASP.NET MVC中传递页面的元标记?
- ASP.NET:从C#代码隐藏显示警报
- asp.net – 哪个控件导致回发?
- asp.net – 如何使用resxresourcewriter写入所有三个值?
- asp.net-web-api – 在ASP.NET Web API控制器的nunit测试中
- ASP.NET中XML转JSON的方法实例
- asp.net-mvc – 如何在RegularExpression中忽略大小写?
- asp.net – Session Timeout .NET
- asp.net-mvc – 如何在多个Asp.net MVC应用程序中使用通用布
推荐文章
站长推荐
- asp.net – 测试Oracle存储过程的最简单的方法
- asp.net – Html.BeginForm()类型的扩展名
- 在ASP.NET 2.0中的特定时间清除缓存
- asp.net-mvc – ASP.NET MVC 3列表到IEnumerable
- ASP.NET拒绝访问该路径
- 在mvc4 asp.net中的Razor View中的模型声明
- entity-framework-4 – 当超出范围时,Ninject不调
- asp.net-mvc – 程序集使用System.Web.Http 5.1,
- asp.net-mvc – 在ASP.NET MVC中的LinkButton
- asp.net – 我们可以在视图状态中放置哪些类型的
热点阅读