在asp.net App_Code目录中使用Nemerle
发布时间:2020-12-15 20:08:53 所属栏目:asp.Net 来源:网络整理
导读:我想在ASP.NET应用程序中使用Nemerle.具体来说,将.n文件放入App_Code. 我将其添加到我的web.config system.codedom / compilers部分: compiler language="n;Nemerle" extension=".n" type="Nemerle.Compiler.NemerleCodeProvider,Nemerle.Compiler"/ 运行时
我想在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-mvc – System.Web.Mvc.dll发生了什么?
- asp.net-mvc – 将ASP.NET MVC布局应用于Jquery.Mobile页面
- asp.net – Web Api – 如何直接从OnActionExecuting过滤器
- ASP.Net MVC路线映射
- asp.net – VS2012 intellisense不适用于自定义控件
- 如何配置ASP.NET OutputCache与http vs https不同?
- ASP.NET知识点总结4
- asp.net-mvc – 保存为“BodyPart_3ded2bfb-40be-4183-b789
- asp.net-mvc – MVC4 Razor对大括号感到困惑
- IIS 7中的应用程序池不显示.NET Framework 3.5
推荐文章
站长推荐
- entity-framework – 序列化时如何忽略导航属性
- asp.net-mvc – 使JSON.NET和Serializable属性一
- asp.net-mvc – 如何在不给每个控制器放置注释的
- asp.net-mvc – 如何使用ASP.net MVC实现动态面包
- asp.net – 当我禁用提交按钮以防止双击时,为什么
- asp.net – 如何限制文本框中允许的字符数?
- asp.net-mvc-3 – MVC3 – 为什么回发时导航属性
- asp.net-mvc-4 – 如何在一个Web应用程序中最好地
- asp.net – 仅为某些路径设置RAMMFAR
- asp.net – GridView不记得回发之间的状态
热点阅读