Clr Assembly必须指定主文件的错误 [英] Clr Assembly must have main file specified error
问题描述
Clr程序集必须具有主文件指定的错误
该DLL应该像一个ssas存储过程,所以我可以为ssas设置一个角色的权限。
谢谢!
Ethan
我终于想出了一个解决方案!我相信由于msmgdsv.dll是框架2.0,我不喜欢这个文件,所以我将项目属性下的目标框架从Framework 4.0改为Framework 2.0。然后,我从BIDS部署所有内容,而不是出现错误,部署了!
This is the first dll I have made. It's purpose is to grab territory names from a database and return as an mdx set. The dll compiled perfectly fine, but when I go to deploy the dll as an assembly in bids to my cube, I get the following error:
Clr Assembly must have main file specified error
The dll is supposed to be like a ssas stored procedure so I can set permission in a role for ssas.
Thanks! Ethan
I finally figured out a solution! I believe that because of the msmgdsv.dll being of framework 2.0 I didn't like the file, so I changed the target framework under the project properties to Framework 2.0 from Framework 4.0. I then went to deploy everything from BIDS and instead of an error, It deployed!
这篇关于Clr Assembly必须指定主文件的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!