开发者

X64 ASP.net failing to find assembly

开发者 https://www.devze.com 2023-02-03 16:20 出处:网络
I am having an issue with something that seems like it should be simple.I am just trying to use the sharepoint object model from an ASP.net page.It\'s running on Framework 3.5 (required by sharepoint)

I am having an issue with something that seems like it should be simple. I am just trying to use the sharepoint object model from an ASP.net page. It's running on Framework 3.5 (required by sharepoint), and I realize it needs to be set to build on x64 (also required by sharepoint from what I understand). The issue is when I do this it returns "Could not load file or assemply ". If I switch it to any CPU then it reports that the call to build SPSite can't find the site address.

Basically if I open a brand new web ap开发者_StackOverflow中文版p project and switch it to framework 3.5 and build target x64 it will report this same error. It seems like I am doing something stupid but I have no idea what it could be.


Ensure your IIS AppPool is set to x64.


The DLL's project build output / platform should be set to Any CPU.

X64 ASP.net failing to find assembly

0

精彩评论

暂无评论...
验证码 换一张
取 消