Clr Assembly must have main file specified error

给你一囗甜甜゛ 提交于 2019-12-25 05:04:13

问题


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


回答1:


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!



来源:https://stackoverflow.com/questions/11459186/clr-assembly-must-have-main-file-specified-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!