I use MongoDb in my Windows Phone project, and I want to connect MongoDB.Bson.dll and MongoDB.Driver.dll. But I have error "Can not add a link because the project was not built with runtime Windows Phone. Projects Windows Phone can only work with assemblies Windows Phone". I add with button Add reference.. What am I doing wrong? Thank you in advance.
            Asked
            
        
        
            Active
            
        
            Viewed 559 times
        
    0
            
            
        - 
                    maybe that can help you: http://stackoverflow.com/questions/9484359/build-a-net-dll-to-wp7 – Darin Kolev Dec 20 '12 at 12:38
 - 
                    Darin, thank for the link! Sorry, I don't understand which code I need copy? What do after created new Windows Phone Library project? – Alexandr Dec 20 '12 at 13:23
 
1 Answers
0
            
            
        Take a look at https://stackoverflow.com/questions/16151351/how-can-i-use-mongodb-in-windows-phone-project. There is no MongoDB driver for Windows Phone, you need to wrap your MongoDB with a server-side API and make the Windows Phone app communicate with the API.
        Community
        
- 1
 - 1
 
        Igor Kulman
        
- 16,211
 - 10
 - 57
 - 118