由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - biuld error of C# reference of namespace in two projects
相关主题
请问如何在简历里突出自己擅长的东西?Urgent Fill - UI developer
error of create ASP.net project in Visual Studio 2013又fail掉一个onsite(续,贴面试经历)
平时用c++的,用什么unit test求google refer
leetcode OJ 不能使用exception?C# no output of ConsoleWriteLine Visual Studio 2013
test C# lib with developed by others in visual studio 2013 (转载)求data visualization的refer
我找工作有点郁闷分享一些reference check HR会问之前雇主的问题吧
面试一周以后被要references,说明什么?C++ online Test 一题
菜鸟找cs工作求解question about the references
相关话题的讨论汇总
话题: namespace话题: error话题: testname1话题: project2话题: c#
进入JobHunting版参与讨论
1 (共1页)
l******9
发帖数: 579
1
I am doing C# programming on Visual Studio 2013 win 7.
in project 1 :
using test.name.abc; // error: type or namespace "test" cannot be found.
public class testName2 : testName1 // build error here
{
public int id;
}
in project 2 :
namespace test.name.abc
{
public class testName1
{
public int dd;
}
}
I have added reference of dll file generated from project2 in project1. I
also made the build dependence as project1 depends on project2.
But, I always got build error of
Error 10 The type or namespace name 'testName1' could not be found (
are you missing a using directive or an assembly reference?) C:my_pathmyFile
.cs
Any help would be appreciated.
R*****i
发帖数: 2126
2
错误信息跟您贴出来的code不大匹配, testName1明明是个Class, 怎么就变成了
namespace?
您既然在project1的reference里加了project2, 能不能在project1的references里,用
鼠标右键选project2, 并点击"View in Object Browser", 看看project2里究竟有神马
?
1 (共1页)
进入JobHunting版参与讨论
相关主题
question about the referencestest C# lib with developed by others in visual studio 2013 (转载)
小公司PM和BA职位refer我找工作有点郁闷
老板要叫我们写360 reivew, 求几个例句面试一周以后被要references,说明什么?
请问谷歌家的executive comm一般会因什么原因拒人菜鸟找cs工作求解
请问如何在简历里突出自己擅长的东西?Urgent Fill - UI developer
error of create ASP.net project in Visual Studio 2013又fail掉一个onsite(续,贴面试经历)
平时用c++的,用什么unit test求google refer
leetcode OJ 不能使用exception?C# no output of ConsoleWriteLine Visual Studio 2013
相关话题的讨论汇总
话题: namespace话题: error话题: testname1话题: project2话题: c#