Adding NuGet AdDuplex AdControl to windows phone 8 project - visual-studio-2012

I tried to add the AdDuplex AdControl in Visual Studio 2012 for a Windows Phone 8 app by following this Link.
But it shows the error in the image.
How could i install this Adduplex pack into the project.

In Your VS 2012 Tools => library package manager => CLick package manager console
Now Enter
PM>Install-Package AdDuplexWindows

The issue (most likely) is that you are adding this to a project that used to be a Windows Phone 7.x project, right? In this case nuget gets confused and displays this error.
A fix is to remove all the nuget references from your project and re-add them.

I had the same issue. Fixed it by updating NuGet first:
http://docs.nuget.org/docs/start-here/installing-nuget
"Updating NuGet in Visual Studio"
After updating NuGet I was able to install AdDuplex.

Related

configure your forms app unable to select iOS on target platform

Hi all new to this but just downloaded and installed xamarin studio to my mac but iOS on the target platforms: section on the configure your forms app page is greyed out and cant be selected
any idea how to solve this please
The Xamarin studio don't install everything you need automatically.
1 - Install the latest iOS SDK.
2 - Install the latest version of Xcode.
3 - Install the Xamarin Studio.
Full Guide:
https://developer.xamarin.com/guides/ios/getting_started/installation/mac/
I had the same issue Visual Studio 7.2.2, the iOS box was disabled. There were couple of issues I had
I had the Xcode app named as XCode9.app in the application folder so VS was unable to find the location, so I fixed that one.
I then searched for installed components About VisualStudio--> ShowDetails and found that Xamarin.iOS10 was installed which seem to have incompatibility with XCode9 so I ran the VS installer once again and found that Xamarin.iOS11 was out and after installing the update and restarting, everything worked.
Download the visual studio for mac again and run the installer. It will show you the missing components and give you a way to install them correctly. Worked for me here. It will check what is already installed, you won't have to install everything again.

Azure.CloudService 2.7 incompatible with Visual Studio 2015

For some reason after I installed VS 2015 the project CloudService of azure SDK incompatible and can't be opened.
I tried to setup new project but then it throws this error:
Should I install something specific for Azure SDK 2.7? Why we have this issue?
Figured out! Eventually! If Azure SDK 2.7 (in my case) was installed before VS2015 (in my case), then you need to run the SDK installer again after you install VS and then select "Repair" option. Then it will install proper links to the project templates to new VS

NuGet; unable to get package as wrong version reported in Visual Studio 2012

I'm trying to build a solution but I get this error,
he 'Microsoft.Bcl.Build 1.0.14' package requires NuGet client version '2.8.1' or above, but the current NuGet version is '2.6.40619.9041'.
I've just upgraded NuGet package manager in Tools/"Extensions and Updates" which reports the version as 2.8.50313.31.
I've restarted VS2012, restarted the computer, cleaned the project and rebuilt, but I still can't get Visual Studio to recognise the new version and hence can't compile.
Thanks
Run Console (cmd) as Administrator
Locate your .nuget folder that contains the NuGet.exe file (you may check error message to locate the path)
execute this command NuGet.exe update -self
Took me all day to find that NuGet was bound to the individual project.
I had to use the package manager console and run
Install-Package Microsoft.Bcl.Build -Version 1.0.14
to get it to work manually.
Edit (5/11/2014). The problem is actually that Nuget gets bundled with the solution and it is this that needs upgrading. I did this by finding the directory in the project with the nuget.exe file in it (.nuget for me, YMMV) going to that directory and running nuget update -self. If you go with the original solution, you have to do this manually for each package. HTH.
This worked for me in VS 2017 Enterprise-
Right click your solution and go to "Manage NuGet Packages for Solution..."
In the window that opens up, click the gear icon at the top right corner.
Select "General" and click the "Clear Clear All NuGet Cache(s)" button. This will run for a few seconds depending on the size of your
cache.
Clean and rebuild your solution.

Manage NuGet Packages not visible on menu

Using Visual Studio 2012 Premium on Win 7 x64, I make a new project (an MVC 4 project). When right-clicking on the project, I see no 'Manage NuGet Packages' option. A packages folder exists in the solution directory, as does a package.config file in the project directory. When going to Tools, there is no Manage NuGet Packages option, either. When going to Tools->Extensions and Updates..., the NuGet Package Manager is installed and up to date.
Any idea why my project is unable to manage the NuGet packages for itself?
Here's a screenshot of the menu:
I had a similar problem. The problem was next:
I've installed NuGet Packager instead of NuGet Package Manager (from Extensions and Updates). Once I've installed the last one, it appeared in the context menu. Maybe you faced the same problem.
I had to uninstall the Nuget Package Manager from Extensions and Updates, and then reinstall it. After restarting Visual Studio, the missing menu entries appeared.
My solution came in the form of wiping out all traces of the NuGet Package Manager, including all registry files. Because the registry files have weird names, searching for things like NuGet.Core as well as just about anything in the Program Files\Microsoft Visual Studio\11.0\Common7\IDE\Extensions folder. After clearing those out, restarting the computer, reinstalling NuGet, and then restarting again seemed to clear up the issue.
First of all there are something's you should check
Make sure you are in debug mode
Make sure your not running the debugger
The 'NuGet Package Manager' is installed and not the 'NuGet
Packager'
Your project was created using the VS IDE - to check this, you can
simply create a new solution in VS and see that you are still
missing the 'Manage NuGet Packages' option in the menu.
Now if this issue still appears you can try taking the following steps:
Clean out your Extensions folder.
Extensions folder can be found
under the VS folder \Common7\IDE\Extensions. i.e. if vs2013 in 64
bit, then C:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\IDE\Extensions
Uninstall the NuGet Package Manager from Extensions and Updates
Restart VS
Install the NuGet Package Manager from Extensions and Updates
Hope this was helpful
Because of reasons, It seems that Nuget Package Manager was not installed on my fresh Visual Studio Professionnal 2013 edition.
Installing it fixed the problem.
You can also check your Extensions folder in [if vs2013 in 64 bit, then C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions]
Each extension has folder in here with manifest file extension.manifest, check these xml files - node "Name" and if found duplicate, remove duplicate folders, restart Visual Studio.
If there is same extension in different folder, VS is confused and will not load it...
In my case the project was running. When stopped, the menu items appeared.

Adding NuGet ndef library to windows phone 8 project

So I tried to add the NDEF library for proximity application in Visual Studio 2012 for a Windows Phone 8 app. In Package Manager I checked Allow NuGet to download missing packages during build and in the Solution Explorer I selected Enable NuGet Package Restore.
So far so good, but when i try to install the package I get the following error:
Could not install package 'NdefLibrary 0.9.0.1'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author.
This works fine on my dev box. Here's the output from my NuGet package manager on a WP8 project:
PM> Install-Package NdefLibrary
You are downloading NdefLibrary from Andreas Jakl, the license agreement to which is available at https://ndef.codeplex.com/license. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'NdefLibrary 0.9.0.1'.
Successfully added 'NdefLibrary 0.9.0.1' to Wp8TestApp.
What you're probably missing is to update your NuGet package manager to the latest version. Go to Visual Studio File Menu --> Tools --> Extensions and Updates --> Updates --> Visual Studio Gallery --> NuGet --> Update and finally you'll need to restart. The reason why this update is needed is that the NuGet version that ships with VS2012 RTM doesn't support WP8 since WP8 didn't RTM before VS2012 did.

Resources