vs2010 express c++ installed OK, but cant build anything
-
14 มกราคม 2555 4:43
-
<input id="02aa76d1-ad4f-441b-a619-f851d196b416_attachments" type="hidden" />Hi! scratching my head at this one... trying to get started building a desktop windows app (for windows) on Windows7.
installed WIN7 SDK
installed VS10 express C++
opened visual studio and made a new "test app" from the examples.. all seemed OK ( no errors )
tried to BUILD, and got this error:
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(847,9): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
huh??
DOTNET Ver4 was installed with VC10!
I went and got the latest greatest .NET 4 runtime ( VS10sp1-KB983509) and service pack (VS10SP1-KB2544525-x86) hoping this will fix the problem.
Installed them both, but still get the same error. Anyone know the fix?PS: i tried the BUG REPORT built in to VS, but it gives me a blank page...
-
ตอบทั้งหมด
-
14 มกราคม 2555 4:16Hi! scratching my head at this one... trying to get started building a desktop windows app (for windows) on Windows7.
installed WIN7 SDK
installed VS10 express C++
opened visual studio and made a new "test app" from the examples.. all seemed OK ( no errors )
tried to BUILD, and got this error:
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(847,9): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.
huh??
DOTNET Ver4 was installed with VC10!
I went and got the latest greatest .NET 4 runtime ( VS10sp1-KB983509) and service pack (VS10SP1-KB2544525-x86) hoping this will fix the problem.
Installed them both, but still get the same error. Anyone know the fix?- รวมโดย Barry WangMicrosoft, Moderator 16 มกราคม 2555 2:37 The same topic
-
14 มกราคม 2555 18:35
You have to install the multi-targeting pack I guess.
try to download http://www.microsoft.com/download/en/details.aspx?id=13890 install it, but after instalition 1 is done (multi targeting pack)
you can cancel it normally. Maybe that will fix it?
friendly regards
- แก้ไขโดย XeppeX 14 มกราคม 2555 18:36
-
14 มกราคม 2555 19:55
Not the fix in this case - (Its already installed)... I'm trying now to remove and replace VS :-(
- แก้ไขโดย rockandroller 14 มกราคม 2555 19:58
-
14 มกราคม 2555 19:59
PS: all this stuff is installed already:
-
16 มกราคม 2555 6:28ผู้ดูแล
Hi rockandroller,
Welcome to MSDN forum.
I can see that your warning is like this:
warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. Also, I find Microsoft Windows SDK for Windows 7(7.1) from your control panel. So your Visual C++ compilers and libraries may have been removed by installing these two products (Windows SDK and Visual Studio).
Then I suggest you try this tool to fix your compiler http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4422
Although you meet this error without installing Visual Studio 2010 SP1, you can give it a try.
Hope this can help.
Best regards,
Barry Wang [MSFT]
MSDN Community Support | Feedback to us
- แก้ไขโดย Barry WangMicrosoft, Moderator 16 มกราคม 2555 6:28
- ทำเครื่องหมายเป็นคำตอบโดย Barry WangMicrosoft, Moderator 25 มกราคม 2555 8:54