How to solve issues while installing the NuGet AdDuplex pack into the windows phone 8 project.

Today I came through a weird problem while installing NuGet AdDuplex control to my windows phone 8 project. I tried almost everything but couldn’t figure out the actual reason to not getting installed AdDuplex pakage in my project.

Error –
This is what error I was getting while adding NuGet AdDuplex pack

RRK-Addduplexerror

even I tried to install AdDuplex package from package manager console( VS 2012 Tools – library package manager -Click package manager console ) by using below command but got same error as mentioned earlier.

PM>Install-Package AdDuplexWindows

Solution – We can solve this weird problem just by Updating NuGet in Visual Studio. Sometime updating NuGet can solve the compatibility issues.

You can update NuGet using the Visual Studio Extension Manager. Navigate to the Extension Manager and click on the Updates tab to check for updates.

If there is a new version of NuGet you will see it in the list of available updates.

rrk-nugetupdate

Click on Install button.
rrk-nugetupdate2
Select NuGet in the list and click Update. When the update is complete, close and re-open all open instances of Visual Studio.

Now again come to ¬†Manage NuGet package manager and In the Online portion search for “AdDuplexWP8” and click install
rrk-nugetupdate3

 

Now we can see that AdDuplex package is successfully installed and existing in reference of Windows Phone 8 project.

rrk-adduplex4

 

Keep learning and keep sharing :)

Share Knowledge

Leave a Reply