<分区>
我今天下午正在使用安装在 Windows 8 上的 VS 2012 开发一个 C# 项目。它运行良好,我在回家之前将我的代码上传到 TFS。
但是当我使用安装在 Windows 7 上的 VS 2012 下载并打开这个项目时,我收到了以下错误消息。
The C# project is targeting ".Net Framework, Version =v4.5",which is not installed on this machine. To proceed, select an option below.
- Change the target to .Net Framework 4.5. You can change back to ".Net Framework, Version=v4.5" at later time.
- Download the targeting pack for ".Net Framework, Version=v4.5". The project will not change.
- Do not load the project.
我确信我已经在我的 Windows 7 笔记本电脑上安装了 .Net Framework 4.5。 现在,我无法加载我的项目。任何人都知道如何解决这个问题?
非常感谢!
----------------更新--------
对于有同样问题的人:
我卸载了 VS 2012 和 .Net Framework 4.5 并重新安装了它们。问题已经解决了。现在我可以加载我的项目了。