当前位置:网站首页>VS同一解决方案的不同项目的命名空间名字唯一
VS同一解决方案的不同项目的命名空间名字唯一
2022-08-06 08:18:00 【qq_16215957】
VS同一解决方案的不同项目的命名空间名字要不一样。譬如开发一个DLL,命名空间是Viewer,为了测试DLL,又建立了一个测试项目,命名空间名字也是Viewer,会触发异常:
System.TypeLoadException
HResult=0x80131522
Message=未能从程序集“Viewer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”中加载类型“Viewer.map”。
Source=Viewer
StackTrace:
在 Viewer.ViewerFrm..ctor() 在 E:\Projects\Viewer\DViewer\ViewerFrm.cs 中: 第 18 行
在 Viewer.Program.Main() 在 E:\Projects\Viewer\Viewer\Program.cs 中: 第 19 行
程序运行不了。
边栏推荐
- Parameter ‘courseId’ not found. Available parameters are [arg1, arg0, param1, para
- 【基于simulink的二阶电路仿真】
- 关于np.zeros()第三个参数:c代表与c语言类似,行优先;F代表列优先的记录
- 第十九章 自动化理论
- 标准C语言16
- 七夕玫瑰花合集
- R语言:决策树结果可视化
- js simulates the function of dynamically deleting messages
- How to limit command length to bounce shell
- CSDN official plug-in
猜你喜欢
随机推荐
从幻核疑似裁撤看如何保证NFT的安全
【FirmAE论文节译】FirmAE: Towards Large-Scale Emulation of IoT Firmware for Dynamic Analysis
按钮只能点击一次
LeetCode——345. 反转字符串中的元音字母
【Redhat】新系统yum源配置
Simulate the realization of strcpy function (including multiple optimization ideas)
深度学习——怎样读取本地数据作为训练集和测试集
为何面试官总是将你简历上的技术问题问到回答不出来为止?
More than 40 a joke
dalle2:hierarchical text-conditional image generation with clip
JMeter集合点
selenium4.0以上元素被定位
快速学会文件操作模块
2022-08-05: What does the following go code output?A: 65, string; B: A, string; C: 65, int; D: error.
QT custom event
bpe Chinese tokens
超好用R包(grafify)
凹语言——名字的由来和寓意
Hands-on Deep Learning_Batch Normalization
VLAN实验









