开发者

NDjango throws TypeLoadException

开发者 https://www.devze.com 2022-12-25 11:33 出处:网络
I\'m just trying to get started with NDjango but am having issues running a basic test app. When running the page in either debug or release the following exception is thrown:

I'm just trying to get started with NDjango but am having issues running a basic test app. When running the page in either debug or release the following exception is thrown:

Could not load type 'Microsoft.FSharp.Core.CompilerMessageAttribute' from assembly 'FSharp.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

This is thrown when the NDjangoHandle is created in the HttpApplication ctor. The fsharp assemblies are definitely all there in the gac (and they seem to be distributed with NDjango too) so I'm a bit confused about this one. Googling this turns up zip.

开发者_开发知识库

I'm using NDjango 0.9.7.0 for .NET 4.0 in vis studio 2010

Cheers


Did you install FSharpPowerPack? I am not sure if it was stated clear enough in the installation package but it is required and it does not come with the standard installation.

Also - by any chance do you have a side by side installation of VS2010/VS2008? The FSharp installation package has a bug which can cause similar problems

Let me know if you need further help. You can communicate with us directly through bug tracker and/or mailing list

0

精彩评论

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