MSDN Examples

  • Thread starter Thread starter Manjree Garg
  • Start date Start date
M

Manjree Garg

Hi

Whenever I download MSDN examples and then try to build them It says 'Build
skipped' and never builds them. Hence I can not run them.

What am I doing wrong???

Cheers.

Manj.
 
Hi Manj,

Do you use VS2005 or VS2008? Can you show us link of the problematic MSDN
sample? Also, can you provide the steps for reproduce your problem?

Also, if you use the VS to create a new project and build, do you still get
this problem? Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi MAnjree,

Thanks for your feedback.

Can you tell me what error do you get during compiling or linking? I have
downloaded this sample and tested it on two machines; one with VS2005 and
the other with VS2008. Both build the project successfully without any
error.

I suspect this problem may be your VS IDE configuration or machine specific
problem, so I need the details error for analysis. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Jefferey

Thanks for your reply.

When I build the sample I get the following:

1>------ Skipped Build: Project: modeless ------
1>
========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped =========

and when I compile any .cpp file I get

"Operation could not be completed. Unspecified error."

Are there some settings that should be done in VS IDE configuration????

cheers.

Manj.
 
Hi Bob,

Thanks for your feedback.

Do you just select "Build"->"Rebuild Solution" to build the entire
solution? Or do you use command line to build the solution? I find one
internal record reporting this error while build project using the command
line.

Also, if you create a new sample project, does this problem still exist? Or
the problem only occurs with this project?

Finally, I would recommend you to download and install VS2005 SP1 since a
lot of bugs have been fixed in the SP1:
http://www.microsoft.com/downloads/details.aspx?FamilyId=BB4A75AB-E2D4-4C96-
B39D-37BAF6B5B1DC&displaylang=en

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Hi Jeffrey

The problem exists only with the MSDN examples. Nothing works in the
"Build" menu (Build/Rebuild/Clean) and I get the same error every time
("Build/Rebuild/Clean skipped").

If I create new project it works fine.

I've got VS2005 Professional edition and Vc++2005 Redistributable installed
on my system. The link you suggested is not working.

I checked the download center. There is Microsoft Visual C++ 2005 SP1
Redistributable Package (x86). Do I need to install it? It is to run
applications developed with Visual C++ on a computer that does not have
Visual C++ 2005 installed. (I've got VC++ 2005 installed on my computer).

By the way it's Manjree not BOb :)

Cheers.

Manjree
 
Manjree Garg said:
Hi Jeffrey

The problem exists only with the MSDN examples. Nothing works in the
"Build" menu (Build/Rebuild/Clean) and I get the same error every time
("Build/Rebuild/Clean skipped").

If I create new project it works fine.

I've got VS2005 Professional edition and Vc++2005 Redistributable
installed
on my system. The link you suggested is not working.

The link works fine. Make sure you paste it into your browser on a single
line.
I checked the download center. There is Microsoft Visual C++ 2005 SP1
Redistributable Package (x86). Do I need to install it? It is to run
applications developed with Visual C++ on a computer that does not have
Visual C++ 2005 installed. (I've got VC++ 2005 installed on my computer).

The right download is "Microsoft® Visual Studio® 2005 Team Suite Service
Pack 1"
By the way it's Manjree not BOb :)

Cheers.

Manjree

"Jeffrey Tan[MSFT]" said:
Hi Bob,

Thanks for your feedback.

Do you just select "Build"->"Rebuild Solution" to build the entire
solution? Or do you use command line to build the solution? I find one
internal record reporting this error while build project using the
command
line.

Also, if you create a new sample project, does this problem still exist?
Or
the problem only occurs with this project?

Finally, I would recommend you to download and install VS2005 SP1 since a
lot of bugs have been fixed in the SP1:
http://www.microsoft.com/downloads/details.aspx?FamilyId=BB4A75AB-E2D4-4C96-
B39D-37BAF6B5B1DC&displaylang=en

Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
 
Hi Manjree,

Oh, sorry for the wrong name in last reply :-(

You should paste the URL in a single line, then it should navigate you to
the correct download page. If you still fail to get it work, you may search
title "Microsoft? Visual Studio? 2005 Team Suite Service Pack 1" in google.

Actually, I recommend you to install the SP1 for the Visual Studio Team
Suite IDE(In the link above). This will help to fix a lot of compiler/IDE
bugs. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Oh, sorry for the wrong name in last reply :-(

You should paste the URL in a single line, then it should navigate you to
the correct download page. If you still fail to get it work, you may
search
title "Microsoft? Visual Studio? 2005 Team Suite Service Pack 1" in
google.

Actually, I recommend you to install the SP1 for the Visual Studio Team
Suite IDE(In the link above). This will help to fix a lot of compiler/IDE
bugs. Thanks.

Hi

I get the exact same error as the OP using Visual Studio 2005 with service
pack 1 installed. I am using the IDE to compile the code.

1>------ Skipped Build: Project: modeless ------

1>

========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ==========
 
Hi Peter!
I get the exact same error as the OP using Visual Studio 2005 with service
pack 1 installed. I am using the IDE to compile the code.

1>------ Skipped Build: Project: modeless ------

1>

========== Build: 0 succeeded or up-to-date, 0 failed, 1 skipped ==========

You need to go to "Build | Configuration Manager..." and check the
"Build" Checkbox for each Project...

Greetings
Jochen
 
You need to go to "Build | Configuration Manager..." and check the
"Build" Checkbox for each Project...

Ahh ignore the other reply. I just found that the Platform in that screen
was set to Itanium, changing it to win32 enabled it to compile.
 
Back
Top