Visual Studio 2010: how to force ASP.NET website to use x86 instead of “Any CPU”?

前端 未结 1 1053
感动是毒
感动是毒 2021-01-12 04:18

When using SharePoint DLLs (which are x86 only) from a non-ASP.NET app, you can set the \"Platform target\" to x86 (instead of \"Any CPU\") so both Visual Studio 2010 and th

1条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-12 04:53

    You can set custom compiler option on web.config on the

    compilerOptions="/platform:string"
    

    where string can be found here: http://msdn.microsoft.com/en-us/library/zekwfyz4(VS.80).aspx

    0 讨论(0)
提交回复
热议问题