VS2013 - 无法建立(新建窗体项目) [英] VS2013 - Failed to build (New Forms Project)

查看:156
本文介绍了VS2013 - 无法建立(新建窗体项目)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在与VS2013的一个问题,因为它不会建任何项目,新的或现有的。

我总是遇到错误:


  

...请生成项目,然后重试,或设置输出路径和性能的AssemblyName在目标装配正确的位置点。


我的输出窗口显示:


  

1>项目'WindowsFormsApplication3'不是最新的。缺少输出文件'C:\\用户\\ ... \\ WindowsFormsApplication3 \\ BIN \\调试\\ WindowsFormsApplication3.exe。


  
  

1> ------启动生成:项目:WindowsFormsApplication3,配置:调试任何CPU ------


  
  

==========生成:0成功,1失败,0了最新,0已跳过==========


我已搜索周围,pretty很多大家似乎认为解决这个我应该有建我的配置管理器中检查 - 这是

此外,在选项 - >项目和解决方案 - >生成和运行 - 我应该有上的运行时项目已经过时了:设置为提示或总是建立 - 它是。它也设置为任何CPU(当设置为86等,虽然即使失败,仍)。

最后,我的输出路径设置正确,这是斌\\调试。

我伤透我的脑子在这一块,我很为难。这一切都开始在PC重启后发生的事情,并有在此之前,没有任何问题。新的VB应用程序将打造精品,它只是Windows窗体/控制台项目的人多数民众赞成在给我的地狱。

== ==编辑

在试图安装一个修复,对它在所有没有任何影响,也不具有复位所有设置。

我可以建立在命令行但是(的MSBuild) - 清洁​​/构建将建立没有错误,但是如果你修改了该项目,并尝试从应用程序正确,它会再次出错建设,像一个错误


  

项目WindowsFormsApplication3'不是最新的。输入文件。C:\\用户\\ ... \\ WindowsFormsApplication3 \\ BIN \\调试\\ WindowsFormsApplication3.pdb



解决方案

有完全相同同样的问题。后来我们不得不以更高权限运行VS - 尽管它看上去就像是正在作为管理员(甚至宣称在标题栏中的事实)

我们用Avecto Defendpoint提供标高是否有帮助。

I'm having a problem with VS2013, in that it won't build any projects, new or existing.

I'm always met with the error:

... Please build the project and retry, or set the output path and assemblyname properties to point at the correct location for the target assembly.

My output window shows:

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 ==========

I've searched around and pretty much everyone seems to think to solve this I should have "build" checked within my configuration manager - it is.

Also, that in the Options -> Projects and Solutions -> Build and Run - I should have "on Run when projects are out of date:" set to prompt or always build - it is. It's also set to any cpu (although even fails still when set to x86 etc).

And finally, that my output path is set correctly, which it is "bin\Debug".

I'm racking my brain over this one, and I'm stumped. This all started happening after a reboot of the PC, and there were no issues before that. New VB apps will build fine, it's just the windows forms / console projects ones thats giving me hell.

== Edit ==

Tried a repair on the installation, had no effect on it at all, neither has a reset all settings.

I can build from the command line however (msbuild) - a clean/build will build with no errors, however if you then modify the project and try and build from the application proper it'll error again, with an error like:

Project 'WindowsFormsApplication3' is not up to date. Input file 'c:\users\ ... \WindowsFormsApplication3\bin\Debug\WindowsFormsApplication3.pdb'.

解决方案

Had exactly the same problem. Turned out we had to run VS with elevated privileges - even though it looked like it was running as admin (even declared the fact in the title bar).

We were using Avecto Defendpoint to provide the elevation if that helps.

这篇关于VS2013 - 无法建立(新建窗体项目)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆