关于解决 C# CSC: Assembly generation failed -- Referenced assembly ... does not have a strong name
来源:互联网 发布:淘宝餐饮制售合法吗 编辑:程序博客网 时间:2024/05/20 16:01
问题描述:
当在checkin 已有的dll时, 如果dll没有签名(Sign)TFS可能会提示如题的错误。
解决方案(在可以自己build dll的情况下):
1) 打开dll对应project的property, 点 Signing, 勾选 Sign the assembly, 在 Choose a strong name key file: 下点new(如果没有的话)
2) 针对要创建的key file 可以选择加密或不加密(可勾选Protect my key file with a password), 如图
3) 针对所建的 snk(未加密的key file), 可以点选其属性, 并设置其 Build Action 为 Embedded Resource, 如此其他人就可以在不需要snk file的情况下使用你的dll
(提示,在步骤3的操作痕迹也可以在.csproj 中找到。)
, 如图
- 关于解决 C# CSC: Assembly generation failed -- Referenced assembly ... does not have a strong name
- Giving a .NET Assembly a Strong Name
- 关于.net assembly的strong name问题
- Sign a .NET Assembly with a Strong Name Without Recompiling
- C# Issues and Solutions -- Method get_XXX from assembly YYYY does not have an implementation
- Sign Assembly with strong name
- HOW TO: Create an Assembly with a Strong Name
- 引用三方Dll时,产生“does not have a strong name”错误
- 关于System.Security.SecurityException: That assembly does not allow partially trusted callers.问题的解决!
- C#解决类似System.Data.SQLite.SQLiteParameter' is defined in an assembly that is not referenced. You must
- Referenced Assembly could not be resolved because it has a dependency conflict 解决方法
- Activity does not have a parent activity name specified.
- 如何创建强命名程序集(Strong Name Assembly
- C# Assembly
- C# Assembly
- 如何解决The following assembly name can not be resolved automatically 提示
- Could not load file or assembly '***' or one of its does not match the assembly reference
- The located assembly's manifest definition does not match the assembly reference.
- 在WEB应用下实现定时任务的简便方法
- Java JDBC
- “黑马程序员”IO流RandomAccessFile的用法
- nginx反向代理配置及优化
- 手把手教你mysql(六)连接查询
- 关于解决 C# CSC: Assembly generation failed -- Referenced assembly ... does not have a strong name
- IRasterStretch2接口的StretchStats属性的真实面目是什么
- 百度官方提供的API详细帮助文档说明
- 全面介绍Windows内存管理机制及C++内存分配实例(二):内存状态查询
- JS得到页面的各种尺寸
- bin_log的一些特性
- UIWebView加载本地HTML文件中有本地图片的索引
- Asp.net微信公众平台模拟登陆
- JS跳转方法