Thursday, June 28, 2012 9:57 AM
I am looking for some advice on trying to build the Simple Blog Reader C++ metro tutorial.
I am pretty sure I followed all the tutorial steps up to try to first build the solution on the page below
When I do this I get an error stating that FeedData is not known in file MainPage.xaml.h.
I checked to see if I had included FeedData.h correctly and had cut and pasted to that file properly. I noticed that it included the definitions within the SimpleBlogReader namespace.
Now when I put the following line in MainPage.xaml.h I can build properly.
using namespace SimpleBlogReader;
I am curious if other people have found this problem and what they did to fix this?
Is my hack the recommended solution or is there a better one?
Friday, June 29, 2012 7:19 AMModerator
Would you please provide us the whole codes to reproduce this issue,
You can upload your project to skydriver
It is not necessary that you send out the whole of your project. We just need a simplest sample to reproduce the problem. You can remove any confidential information or business details from it.
On the other hand, you can try to download other sample codes, there is no sample code download for that document. You can try XAML data binding sample
Jesse Jiang [MSFT]
MSDN Community Support | Feedback to us
Friday, June 29, 2012 10:09 AM
Thanks for the reply.
In actual fact I moved on from the codebase that I had and resolved this problem.
I noticed that in some places the namespace was referred to as SimpleBlogReader and in other places as simpleBlogReader.
I then went back and build the tutorial from scratch and it worked ok.
I believe my mistake was to name the project simpleBlogReader and not SimpleBlogReader.
I suppose by doing this I created two different namespaces. One via the project name and the other via the cut and pasted code from the tutorial.
- Marked As Answer by naughtyscotty Friday, June 29, 2012 10:10 AM
Sunday, July 01, 2012 1:03 PM
Saturday, January 05, 2013 5:58 PM
Please check the properties of the class(Feed Item) and then check the data source of your atom pub URI. There may be a chance that your properties are not present in the data source of your atom pub URI.