我正在尝试使用 mvcMusicStore 进行项目,并安装了框架 v4.0 客户端。
当我试图从项目中将框架定位到 v4.0 时,找不到它,问题出在哪里?
我正在尝试使用 mvcMusicStore 进行项目,并安装了框架 v4.0 客户端。
当我试图从项目中将框架定位到 v4.0 时,找不到它,问题出在哪里?
I think you will need to download the complete .Net 4.0 Framework in order to get the environment needed to be used in Visual Studio. The client profile from what I can find does not have what is necessary for development.
If the above doesn't work I would suggest trying a repair of Visual Studio as suggested by this SO question.
The Full Framework:
The Microsoft .NET Framework 4 web installer package downloads and installs the .NET Framework components required to run on the target machine architecture and OS. An Internet connection is required during the installation. .NET Framework 4 is required to run and develop applications to target the .NET Framework 4.
Tne Client Profile:
The Microsoft .NET Framework 4 Client Profile redistributable package installs the .NET Framework runtime and associated files that are required to run most client applications.