我遇到了VS2013的问题,因为它不会构建任何新的或现有的项目。VS2013 - 无法构建(新表格项目)
我总是遇到错误:
... Please build the project and retry, or set the output path and assemblyname properties to point at the correct location for the target assembly.
我的输出窗口显示:
1>Project 'WindowsFormsApplication3' is not up to date. Missing output file 'c:\users\ ... \WindowsFormsApplication3\bin\Debug\WindowsFormsApplication3.exe'.
1>------ Build started: Project: WindowsFormsApplication3, Configuration: Debug Any CPU ------
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
我已搜索周围,几乎每个人都似乎认为解决这个我应该有在我的配置管理器中检查“构建” - 这是。
此外,在选项 - >项目和解决方案 - >构建和运行 - 我应该有“在项目过期时运行:”设置为提示或始终构建 - 它是。它也设置为任何CPU(尽管甚至在设置为x86等时仍然失败)。
最后,我的输出路径设置正确,它是“bin \ Debug”。
我正在绞尽脑汁对这一个,我很难过。这一切都是在PC重新启动后开始发生的,在此之前没有问题。新的VB应用程序将生成良好,这只是窗体/控制台项目给我的地狱。
== ==编辑
试戴安装维修,有没有影响它在所有,既不具有复位所有设置。
但是我可以从命令行构建,但是(msbuild) - 一个清理/构建会生成没有错误,但是如果您然后修改该项目并尝试从应用程序正确构建它会再次出错,出现错误像:
Project 'WindowsFormsApplication3' is not up to date. Input file 'c:\users\ ... \WindowsFormsApplication3\bin\Debug\WindowsFormsApplication3.pdb'.
可能是写入权限问题。你是否能够在Visual Studio的输出文件夹中创建一个文件? – KeatsPeeks
它已经有一些文件在那里,即使是新的应用程序 - 只是不是所有的(包括.exe) – BenOfTheNorth
尝试命令行来进一步调查您的问题。那是VB还是C#? – KeatsPeeks