Cant find Adwords api v201809 - google-api

installed api package version 24.2.0 via nuget in visual studio, still does not find api version v201809
get-package doesn't show any conflicting packages, so im not sure why this isnt showing up when I try to include it.

use nuget to remove package (uninstall-package google.adwords)
manually look at and remove references
check project settings and make sure framework target > 4.5.2
install package (install-package google.adwords)

Related

Could not find a part of the path nuget\packages\xamarin.firebase.ios.core\8.10.0.1\lib\net6.0-ios15.4

I want to download MTAdmob plugin from NuGet for visual studio 2022 but at the end of downloading giving this error, please someone help me how to fix it.
Could not find a part of the path
'C:\Users\PC.nuget\packages\xamarin.firebase.ios.core\8.10.0.1\lib\net6.0-ios15.4\Firebase.Core.resources\GoogleUtilitiesComponents.xcframework\ios-arm64_i386_x86_64-simulator\GoogleUtilitiesComponents.framework\Headers\GoogleUtilitiesComponents-umbrella.h'.
Did you upgrade your xamarin project to the .net6.0 or migrate it to the maui? If so, you can download the package named Plugin.MauiMTAdmob.
If you project is just a xamarin.Forms, you can download the nuget package named MarcTron.Admob which is supported for the xamarin.

How to get NuGet/Visual Studio to recognise *_AuthenticodeSigned lib files in a package?

So pulling in version 18.9.0 of Aspose.Cells to a netcoreapp project results in the following error
warning NU1701: Package 'Aspose.Cells 18.9.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.
And if you open that nuget you can see that the netstandard target is suffixed with _AuthenticodeSigned.
If you look at the dependencies in the nuget gallery it lists netstandard2.0 as supported
So is _AuthenticodeSigned a valid convention? If so where is the doco? and how do i get NuGet/Visual Studio to recognise it?
We have been able to notice the problem on our end. An issue with ID CELLSNETCORE-9 is already logged in our issue management system for further investigations. Once, we will have some news for you, we will update you here.
Note: I am working as Support developer/ Evangelist at Aspose.
#Simon,
This is to inform you that issue with ID CELLSNETCORE-9 is resolved and updated version Aspose.Cells for .NET Core 18.10.0 is available via NuGet Package Manager. You may please try to update the package and provide your feedback.

Nuget-package not adding package reference

I am trying to install MySql.Data and MySql.Data.Entity to my class lib.
Somehow there is no reference added to the project.
Things I've tried:
Update-Package -reinstall (does not help)
packages.config contains the correct entries
*.csproj also has the correct entries
Cleared NuGet-Cache
This is the output:
Package 'MySql.Data.6.10.6' already exists in folder
'C:\Users\MYUSERNAME\Documents\Repositories\XXXXXXX\packages'
Added package 'MySql.Data.6.10.6' to 'packages.config'
Successfully installed 'MySql.Data 6.10.6' to XXXXXXXX.Persistence
Executing nuget actions took 1,6 sec
Strange thing is that NuGet creates that \docs in my project which is part of MySql
Nuget-package not adding package reference
I agree with Matt`s comment. You project targets framework should be .NET 4.5.1 or below. Because the package MySql.Data only contain assembly reference to .NET framework 4.5.2 for .NET framework:
However, this package also have the content files, which are compatible with .net framework. So when you add this package to the project(target framework 4.5.1 or below), nuget will install this nuget package without any error, just add the content file (\docs) but not add any reference to the project.
To resolve this issue, you can change the target framework to 4.5.2 and above of this project or you should use the nuget package MySql.Data with the version 6.9.11, which contain assembly reference to .NET framework 4.0 and 4.5:
Note: If you change the target framework to the .net framework 4.5.2 and above, you may get the error "The package 'MySql.Data' tried to add a framework reference to 'System.ComponentModel' which was not found in the GAC.", please add a manually reference to missed library:
Package tried to add reference to System.Runtime which was not found in the GAC
Hope this helps.
I experienced this problem even though I had the correct Framework.
It was solved by Migrating the Nuget Format to Package References
For visual studio latest versions you have to right click on Dependencies > Manage NuGet Packages > click in the settings button with a flower-like shape, then in NuGet Package Manager option choose General, and change Default package management format from packages.config to PackageReference.
If that does not do the trick, then you will have to add the packages through the CLI tools, looking into the nuget gallery and pasting the comand directly with the desired version, like for example:
dotnet add package Microsoft.EntityFrameworkCore.Design --version 6.0.10

What assembly contains the BreezeControllerAttribute?

I'm just trying out Breeze.js and decided to convert an existing Web API 2.2 (.net 4.5.2) project to Breeze. I went to NuGet and installed the Breeze.ContextProvider and Breeze.ContextProvider.EF6 packages, since I used EF6 for this project. When I add the [BreezeController] attribute to my controllers Visual Studio (2015 CTP) doesn't know what it is ("Cannot resolve symbol 'BreezeController'" error). So I tried installing other NuGet packages that might contain this attribute (i.e. Breeze.Server.WebApi2), but couldn't find any. The docs don't seem to show what assembly I need to use for that attribute, so I'm stuck. Any help for this? Is that attribute deprecated? I can't find any mention of it in the docs... Thanks!
The BreezeControllerAttribute class is part of the Breeze.ContextProvider assembly. ( and is available as a standalone nuget package: Breeze.Server.ContextProvider or as part of the Breeze.Server.WebApi2 nuget) Not sure why you are having this issue, but nuget can be a little flaky... It might be worth removing all nugets and reinstalling them.
I just searched and installed "breeze.webapi2" and had the same issue. When I did a search for "breeze.server.webapi2", I noticed that that package wasn't installed (I thought it was a dependency on the "breeze.webapi2" package).
Installing just the "breeze.server.webapi2" currently doesn't do anything.
I'm doing this via VS2015 CTP6. My coworker was able to install the very same package using VS2013.

Failed to add reference to WikiNetParser. Please make sure that it is in the Global Assembly Cache

I am trying to add a reference to a project in Visual Studio 2012, by using 'Manage Nuget References'. The package is 'Wiki .NET Parser' (version 2.5.2.0).
When I try to add it, I get the below:
Successfully installed 'WikiNetParser 2.5.2.0'.
Successfully uninstalled 'WikiNetParser 2.5.2.0'.
Install failed. Rolling back...
Failed to add reference to 'WikiNetParser'. Please make sure that it is in the Global Assembly Cache.
I have also tried to create a clean, blank console project - But I still get the same problem. Any ideas?
A search on Google returned nothing specific to this component
The package appears to have a malformed manifest. I've reported this issue to the author of the package.
Specifically: The Manifest contains this node:
<frameworkAssemblies>
<frameworkAssembly assemblyName="WikiNetParser" targetFramework=".NETFramework4.0" />
</frameworkAssemblies>
Which tells NuGet to look for the "WikiNetParser" in the Core .Net 4.0 libraries, which of course does not exist. The node can simply be removed and the package should install successfully. If you want to try cracking the package open yourself, you can try using NuGet Package Explorer.

Resources