开发者

Error 2908 when installing assemblies into GAC


Hi, I'm receiving 2908 (0x80131047: The given assembly name or code-base is invalid) error when running my MSI package.

The problem occures when the MSI tries to deploy a component with .NET assembly into a GAC. NOTE: only assemblies with dependencies fail. The MSI is created with IS 2010.

I am able to deploy the assembly manually with GACUTIL. I verified .NET Fram开发者_运维技巧ework (all versions upto 3,5)is installed. I verified assembly properties are identical with MsiAssemblyName table properties.

However, somehow I had made the installation working fine before. But when the product was moved to Visual Studio 2008 and .NET 3.0 I started facing the problem.

Do you guys have any thought on this. Any ideas are appreciated. Thanks much!


It sounds like you've covered the basics.... CLR version installed, Files key files of own components, destdir set to GAC, files are strong named and deployable via GACUTIL.

Hmmm. Nothing is jumping out at me. What does the MSI log say when it comes time to call MsiPublishAssemblies? Do these files have companion resources ( that need to belong to the same component. )

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜