不可用项目 - 在多个解决方案

时间:2016-04-06 08:40:02

标签: c#

我在解决方案下的多个项目中遇到了一些错误。

CS0246  C# The type or namespace name could not be found (are you missing a using directive or an assembly reference?)

项目标记为(不可用) 这被标记为不兼容之前虽然不太确定为什么它改变了状态但是同样的错误。试图清理/构建和重建解决方案,但错误仍然相同。

此外,我尝试了目标框架,但不太确定如何做到这一点。 我尝试的另一个解决方案是添加引用,但无法确定要添加的引用。

我不确定我是否遗漏了一些更新或者是什么。试图安装fix / azure和visual studio 2015更新。

输出错误:

Line 67:        {
Line 68:            if (_traceWriter == null) InitWriter();
Line 69:            lock (_traceWriter)
Line 70:            {
Line 71:                // If the date has changed, close the current stream and create a new file for today's date

错误列表。

Severity    Code    Description Project File    Line    Suppression State
Error   CS0234  The type or namespace name '***' does not exist in the namespace '***' (are you missing an assembly reference?) 

其他错误说明

Severity    Code    Description Project File    Line    Suppression State
Error   CS0246  The type or namespace name '***' could not be found (are you missing a using directive or an assembly reference?)   

Severity    Code    Description Project File    Line    Suppression State
Error   CS0103  The name '***' does not exist in the current context    

通过解决方案加载时的一般输出w /构建解决方案

Deserializing the project state for project 'database.sqlproj'...
Detecting file changes for project 'database.sqlproj'...
Deserialization has been completed for project 'database.sqlproj'.

升级日期here在.wixproj上有一些错误,虽然我安装了最新的wix驱动程序,但不确定是否需要设置除此之外的任何其他内容。

0 个答案:

没有答案