Visual Studio项目无法在解决方案中访问

时间:2014-01-30 14:47:28

标签: visual-studio

所以我已经看到这个问题出现在这里,但我仍然无法得到我的解决方案来编译。这是最奇怪的事情。

我有一个多项目解决方案:

  • 服务
  • 存储库
  • 基础设施
  • 申请
  • 网站。

我正在巡视这个项目,有一天,我开始使用电脑并开始使用VS2010。按 F5 启动网站并开始收到前一天不存在的错误。

它抱怨的事情就像它认为不存在的单个参数构造函数,但我和智能感知都知道它确实存在。我对其他项目所做的任何更改似乎都没有被编译器识别。

我尝试过干净的东西。解决方案和每个项目,但没有。我也吹走了解决方案并重新创建它仍然是同样的错误。我甚至复制了这个项目,并在另一台装有VS2010的PC上尝试过,但问题仍然存在。

任何建议都将不胜感激!

这是我重建的其中一个项目的输出。有一个警告。不确定它有多重要:

------ Rebuild All started: Project: FoodTruck.Infrastructure, Configuration: Debug Any CPU ------
  FoodTruck.Infrastructure -> C:\Users\eric.downey\Documents\Visual Studio 2010\Projects\FoodTruck\FoodTruck\FoodTruck.Infrastructure\bin\Debug\FoodTruck.Infrastructure.dll
------ Rebuild All started: Project: FoodTruck.Domain, Configuration: Debug Any CPU ------
  FoodTruck.Domain -> C:\Users\eric.downey\Documents\Visual Studio 2010\Projects\FoodTruck\FoodTruck\FoodTruck.Domain\bin\Debug\FoodTruck.Domain.dll
------ Rebuild All started: Project: FoodTruck.Services, Configuration: Debug Any CPU ------
  FoodTruck.Services -> C:\Users\eric.downey\Documents\Visual Studio 2010\Projects\FoodTruck\FoodTruck\FoodTruck.Services\bin\Debug\FoodTruck.Services.dll
------ Rebuild All started: Project: FoodTruck.Infrastructure.Repository, Configuration: Debug Any CPU ------
c:\windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "log4net", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
  FoodTruck.Infrastructure.Repository -> C:\Users\eric.downey\Documents\Visual Studio 2010\Projects\FoodTruck\FoodTruck\FoodTruck.Infrastructure.Repository\bin\Debug\FoodTruck.Infrastructure.Repository.dll
========== Rebuild All: 4 succeeded, 0 failed, 0 skipped ==========

0 个答案:

没有答案