首页 > 代码库 > unity3d web.config设置

unity3d web.config设置

原地址:http://www.cnblogs.com/88999660/archive/2013/03/22/2976105.html

<?xml version="1.0"?>
<!--
  有关如何配置 ASP.NET 应用程序的详细信息,请访问
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.0"/>
    <httpRuntime/>
    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
  </system.web>
  <system.webServer>
   <staticContent>
            <mimeMap fileExtension=".unity3d" mimeType="application/octet-stream" />
            <mimeMap fileExtension=".meta" mimeType="application/octet-stream" />
            <mimeMap fileExtension=".assetbundle" mimeType="application/octet-stream" />
  </staticContent>
  </system.webServer>
</configuration>