Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all 3157 articles
Browse latest View live

Is it possible to change the location of packages for NuGet?

$
0
0

I have the following convention for most of my projects:

/src    /Solution.sln    /SolutionFolder        /Project1        /Project2        /etc../lib    /Moq        moq.dll        license.txt    /Yui-Compressor        yui.compressor.dll/tools    /ILMerge        ilmerge.exe

You'll notice that I do not keep external libraries inside the source folder. I'm also very interested in using NuGet but don't want these external libraries inside the source folder. Does NuGet have a setting to change the directory that all packages are loaded into?


Unable to find package . No packages exist with this id in source. .NET core

$
0
0

I am trying to use a project as nuget package in other solution. The project i want to use has 2 references to other projects in the solution he is at.I am creating the .nupkg file using the cli command dotnet pack in the path of the project i want to use as a nuget package.When adding the .nupkg file to the other solution using the command dotnet add package i get the error in the post title with the name of the 2 references projects.

change output directory of nuget package

$
0
0

I created a NuGet package from my project. The output directory of the package is the solution directory. I would like to output it to a specific directory. I tried a target in the csproj file and in the nuspec file. None worked. How do I get the package generated in the specified folder?

In my .csproj:

<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"><PropertyGroup><ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText></PropertyGroup><Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" /></Target>

In my .nuspec:

<?xml version="1.0"?><package ><metadata><id>MyPackage.dll</id><version>1.0.0</version><authors>me</authors><owners>me</owners><requireLicenseAcceptance>false</requireLicenseAcceptance><description>Package description</description><releaseNotes>Summary of changes made in this release of the package.</releaseNotes><copyright>Copyright 2016</copyright><files><file src="bin\MyPackage.dll" target="C:\LocalPackageRepository" /></files></metadata></package>

Nuget packages with both debug and release

$
0
0

In our work we have one team that develops libraries and other teams that develop projects using those libraries.

The libraries team has much more experience than the projects one.

We created this environment here:

All the libraries are in nuget packages, in a nuget server, in azure devops.We have source link in Azure devops.

But when we deploy the libraries, we have to choose between debug or release, and we have the pros and cons of each.

My ideal nuget package would have both debug and release, and would select the same as the project running it.

this way I would have better debugging for the projects team, and maximum performance on the releases.

I talked with https://twitter.com/rrelyea and he gave some ideas, but they seem to complicated for the other teams to implement, or complex do manage.

Like 2 nuget servers, one for debug, and one for release, and configure those different ones on the machines and on the build server.

Or 2 nuget packages, with .debug and .release on the name of the package, and configure the project to load a diffent one on each mode.

The real problem is that I need a guarantee that all the packages have the same id and version on both servers.

Isn't there a more automatic way to pack the packages?

Simple if it's debug use the debug, if it's the release use the release.

By the way, how much performance difference is between debug and release in this case?

NuGet Package restore failed for project

$
0
0

I'm a new xamarin developer.I ran into an error while running my first project:

NuGet Package restore failed for project Project.Droid: Unable to find version '2019' of package 'syncfusion.xamarin.linq.Android' not found.

Package is not found in the following primary source

$
0
0

I have a build pipeline set up to create Nuget packages and publish them to a feed in artifacts.

I was able to use the feed successfully.

However when I ran the pipeline again, causing the packages to publish again I am not able to update the consuming project successfully.

Even though I can see the correct new version number in the Package Manager (Visual Studio -> Tools-> Nuget Package Manager -> Manage Nuget Packages for solution)

When I click install I get an error

Package '<mypackagename with version number>' is not found in the following primary source<correct feed nuget/v3/index.json> Please verify all your online package sources are available (OR) package id, version are specified correctly.

NuGet CLI throw error Unable to find .nupkg

$
0
0

I try to build a package using NuGet CLI. I run next command :

.\nuget.exe pack D:\projects\CloudStorage.Client.csproj -OutputDirectory D:\packages -Build -Symbols -Properties Configuration=Release;

But always get next error:

Error NU5012: Unable to find 'Autofac.4.9.4.nupkg'. Make sure the project has been built.

But the solution is built.

I'm using the latest version of NuGet (v5.2.0)

In bin/Release folder Autofac is present or I don't understand correctly of the difference between missed '.nupkg' and present assemblies?

enter image description here

Also for the mentioned project, there are present CloudStorage.Client.nuspec file


This issue was detected when I updated one nuget package(https://www.nuget.org/packages/Z.EntityFramework.Extensions/) in solution that requires now SemVer 2.0.0 package... In order to build it, I upgrade Nuget to 4.3.0+ version. The result is above.


Project nuspec content:

<?xml version="1.0"?><package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"><metadata><id>CloudStorage.Client</id><version>$version$</version><description>CloudStorage Client</description><authors>MyTeam</authors><tags>$branch$</tags></metadata></package>

UPD

I've created test project, where include Autofac 4.9.4 and try to build pack for it. It was successfully created. From console I see that for Autofac was copied all 3 files to bin folder .pdb, .dll and .xml files... while in my "problem" project only .dll is copied.

ProjectReference not getting included in the packed nuget

$
0
0

I am new to the C# and nuget world.

I have the issue with https://www.nuget.org/packages/Cumulocity.SDK.Client . Cumulocity.SDK.Client internally has a ProjectReference to Cometd.NetStandard.csproj . And I want to pack and publish the Cumulocity.SDK.Client nuget in such a way that it contains the .dll for Cometd.NetStandard and doesn't search Cometd.NetStandard as nuget dependency after publishing it to nuget repository.Below is the link and screenshots to understand the issue -

The undesired current behaviour - https://www.nuget.org/packages/Cumulocity.SDK.Client/1006.6.1 . The dependencies [screenshot][1] for this shows cometd.NetStandard as a dependency. So when someone tries to download this version of Cumulocity.SDK.Client then they are not able to do it.

The desired old behaviour - https://www.nuget.org/packages/Cumulocity.SDK.Client/0.1.1 . The dependencies [screenshot][2] for this version of nuget shows no dependencies and downloads with no issues and the nuget works fine when there is any usage of cometd.NetStandard within the code then also it works with no issues.

The repository where you find the projects is https://bitbucket.org/m2m/cumulocity-sdk-cs/src/master/ and these are the 2 projects i have have this issue with https://bitbucket.org/m2m/cumulocity-sdk-cs/src/master/REST-SDK/src/ . You can download the projects from these repositories and suggest me how i should pack and publish to get the desired behaviour.

You will be able to help me only after you download this code and understand the issue.I have tried using below command with some variations to pack the nuget , I am expecting exact dotnet pack command and(or) change in .csproj file to get the desired behaviour of nuget.

dotnet pack Cumulocity.SDK.Client.csproj --include-symbols --configuration Release --force --include-source

Thanks in Advance.[1]: https://i.stack.imgur.com/AcAC8.png[2]: https://i.stack.imgur.com/0DZHP.png


Could not install package '--'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5'

$
0
0

I created this package, I need it in a project but couldn't install it, this error appears:

Could not install package 'Mshwf.NiceLinq 1.0.9'. You are trying to install this package into a project that targets'.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author

I don't know why this happen, in another project (Console) I changed the framework to 4.6 and other versions and it wasn't a problem, but this only happen in this project (MVC and Web API):

this is the nuspec file:

<?xml version="1.0"?><package ><metadata><id>Mshwf.NiceLinq</id><version>1.0.9</version><title>Nice LINQ</title><authors>MShawaf</authors><owners>Mshawaf</owners><projectUrl>https://github.com/mshwf/NiceLinq</projectUrl><iconUrl>https://raw.githubusercontent.com/mshwf/NiceLinq/master/logo.png</iconUrl><requireLicenseAcceptance>false</requireLicenseAcceptance><description>See it as: WHERE ID IN (1, 2, 3, 7, 9, 22, 30, 101)</description><releaseNotes>Minor changes.</releaseNotes><copyright>Copyright 2016</copyright><tags>LINQ IEnumerable Where Contains Search Filter</tags></metadata></package>

Why is .NET Framework 4.6.1 and .NET Standard 2.0 listed as dependencies in NuGet?

$
0
0

I found this when looking at a NuGet package.

Why are these 2 special? What about all the other .NET framework and .NET Standard versions?

enter image description here

Select Nuget package from local rather than downloading from the repo

$
0
0

I have a Nuget package N in private repo R.The .Net core project P uses N and is deployed to a server that doesn't have access to R.How can I add N to P locally so it doesn't have to install N from R whenever built?

Manually loading of assemblies and dependencies at runtime (nuget dependencies & FileNotFoundException)

$
0
0

I currently have an issue with loading assemblies at runtime using Assembly.LoadFrom(String).While the specified assembly is loaded just fine, referenced third-party assemblies (e.g. nuget packages) are not loaded when the targeted framework is either netcoreapp or netstandard.

To figure out the problem i have created a simple solution consisting of three projects.Each project contains exactly one class.I'm using Newtonsoft.Json as a nuget example here but it could be any other assembly.

ClassLibrary0.csproj

<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><TargetFrameworks>net20;netstandard1.0</TargetFrameworks></PropertyGroup></Project>
namespace ClassLibrary0 {    public class Class0 {        public System.String SomeValue { get; set; }    }}

ClassLibrary1.csproj

Has a package reference to Newtonsoft.Json via nuget.Has a reference to additional assembly ClassLibrary0 depending on TargetFramework (shitty conditional ItemGroups).

<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><TargetFrameworks>net20;net35;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;netstandard1.0;netstandard1.1;netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;netstandard1.6;netstandard2.0;netcoreapp1.0;netcoreapp1.1;netcoreapp2.0;netcoreapp2.1</TargetFrameworks></PropertyGroup><ItemGroup><PackageReference Include="Newtonsoft.Json" Version="12.0.3" /></ItemGroup><ItemGroup Condition="'$(TargetFramework)'=='net20' OR '$(TargetFramework)'=='net35' OR '$(TargetFramework)'=='net40' OR '$(TargetFramework)'=='net45' OR '$(TargetFramework)'=='net451' OR '$(TargetFramework)'=='net452' OR '$(TargetFramework)'=='net46' OR '$(TargetFramework)'=='net461' OR '$(TargetFramework)'=='net462' OR '$(TargetFramework)'=='net47' OR '$(TargetFramework)'=='net471' OR '$(TargetFramework)'=='net472'"><Reference Include="ClassLibrary0"><HintPath>..\net20\ClassLibrary0.dll</HintPath></Reference></ItemGroup><ItemGroup Condition="'$(TargetFramework)'=='netstandard1.0' OR '$(TargetFramework)'=='netstandard1.1' OR '$(TargetFramework)'=='netstandard1.2' OR '$(TargetFramework)'=='netstandard1.3' OR '$(TargetFramework)'=='netstandard1.4' OR '$(TargetFramework)'=='netstandard1.5' OR '$(TargetFramework)'=='netstandard1.6' OR '$(TargetFramework)'=='netstandard2.0'"><Reference Include="ClassLibrary0"><HintPath>..\netstandard1.0\ClassLibrary0.dll</HintPath></Reference></ItemGroup><ItemGroup Condition="'$(TargetFramework)'=='netcoreapp1.0' OR '$(TargetFramework)'=='netcoreapp1.1' OR '$(TargetFramework)'=='netcoreapp2.0' OR '$(TargetFramework)'=='netcoreapp2.1'"><Reference Include="ClassLibrary0"><HintPath>..\netstandard1.0\ClassLibrary0.dll</HintPath></Reference></ItemGroup></Project>
namespace ClassLibrary1 {    public class Class1 {        public System.String SomeValue { get; set; }        public Class1() {            var tmp = new ClassLibrary0.Class0();            var tmp2 = new Newtonsoft.Json.DefaultJsonNameTable();        }    }}

ClassLibrary2.csproj

Has a project reference to ClassLibrary1.

<Project Sdk="Microsoft.NET.Sdk"><PropertyGroup><TargetFrameworks>net20;net35;net40;net45;net451;net452;net46;net461;net462;net47;net471;net472;netstandard1.0;netstandard1.1;netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;netstandard1.6;netstandard2.0;netcoreapp1.0;netcoreapp1.1;netcoreapp2.0;netcoreapp2.1</TargetFrameworks></PropertyGroup><ItemGroup><ProjectReference Include="..\ClassLibrary1\ClassLibrary1.csproj" /></ItemGroup></Project>
namespace ClassLibrary2 {    public class Class2 {        public System.String SomeValue { get; set; }        public Class2() {            var tmp = new ClassLibrary1.Class1();        }    }}

After running dotnet restore and rebuilding the solution the root problem can be observed in the output directories:

The Problem:

  • Copies of ClassLibrary0.dll are present in all output directories (=> references to third-party are good).
  • Copies of ClassLibrary1.dll are present in all output directories of ClassLibrary2 (=> project references are good too).
  • Copies of Newtonsoft.Json are only present in net output directories but are missing in all netcoreapp and netstandard.
  • All netcoreapp and netstandard output directories contain a *.deps.json file that correctly mentions the Newtonsoft.Json package as a dependency.

A call to Assembly.LoadFrom(String) however won't load these dependencies to Newtonsoft.Json in case of netcoreapp and netstandard.This results in FileNotFoundException at runtime after running code from the specified loaded assemblies.

What i've tried:

I am trying to resolve those by attaching to the AppDomain.AssemblyResolve event but so far i'm out of luck.Those *.deps.json don't contain a location path of the dependency.

I've tried looking for the assembly in all the locations within the Path environment variable but the nuget package location doesn't seem to be listed there.The location on all my machines seems to be %userprofile%\.nuget\packages\package-name\version\.However i'm not 100% positive that this will always be the correct location for nuget packages on all machines that might execute my code.

The actual question:

Is there a solid way to resolve nuget dependencies at runtime when manually loading assemblies?

Restrictions:

  • This needs to be an offline solution, no downloading of package versions on the fly.
  • Cannot rely on <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> in the original projects.
  • Cannot rely on me having references to the dependencies in question.The whole point of doing this is to be able to dynamically load assemblies that i can't know about at compile time.

npm version analogue for NuGet

$
0
0

Is there any npm version analogue for NuGet packages?

What I am trying to find is a CLI utility (let's say nuget-version) to manually bump NuGet package versions. So that I would type in :

nuget-version minor

in the command line and it will read previous version of a package in current directory, for example it is 0.1.0, do all the checks and write an incremented version 0.2.0, publish it etc. etc. Or if I type patch instead of minor the new version would be 0.1.1. There are lots of recommendations where to update the number. That would be fine to setup a config file with all the information to automate that.Also, that utility could publish to a package server, create a tag in git and so on, like npm-version does.

Is there something like this for NuGet packages around?

Install a second NuGet from the first

$
0
0

I've created my own NuGet package, but I would also like the user to install another NuGet package alongside the one I install. Is there a way to automate this process in an install.ps1 script, or some way like that? For example, let's say when someone installs my nuget, I also want them to install "Newtonsoft.Json." Or is there a way to add another package as a dependency for the first one?

Publishing Nuget packages

$
0
0

How to publish nuget packages from teamcity to jfrog artifactory using plug ins. Can any one help me please.

I have done Continuou integration for my project setup through team city. I wanted to push my nuget packages to jfrog repository using plug in from teamcity.

Thanks,Shafi


How to install fontawesome.sharp icons in Visual Studio 2015, I'm building a Windows form and need fontawesome.sharp tools

$
0
0

I'm building a windows form in Visual Studio 2015, I'm trying to add font-awesome.sharp tools in my project. I've installed font-awesome.sharp using NuGet package manager but it doesn't add it to my tools menu.

I tried to find some .dll file for it but can't find the correct file. How can I do the installation?

How can I clear the NuGet package cache using the command line?

$
0
0

I can clear my development computer's NuGet package cache using Visual Studio menu ToolsOptionsNuGet Package ManagerGeneral: Clear Package Cache button.

I would like to do this on the command line. Unfortunately, I can not find a related command line switch for nuget.exe.

Did I miss something?

Create multi-target Xamarin.Forms NuGet package

$
0
0

I'm trying to build a single NuGet package that can be installed in Xamarin.Android, Xamarin.iOS, Xamarin.UWP and Xamarin.Forms (.NET Standard) projects. I can't use .NET Standard since I need to have a custom Activity for my Android project, custom AppDelegate for my iOS project, and a custom MainPage for my UWP project. In the initiators I want to use the ServiceCollection as DI provider.

In the docs they still mention the Portable Class Library (explicitly mentioned legacy, doesn't exist anymore in VS), or Manually Creating Packages (can't figure out what to do here), and then you also have websites mentioning the Xamarin.Forms Plugin, which also doesn't exist anymore.

I already made a solution with all 4 projects, but I can't figure out how I can create a single NuGet package for all 4 projects (all 3 target platforms).

Does anyone have an idea how we can build a multi-target NuGet package containing code for Android, iOS, and UWP, just like the Xamarin.Forms NuGet package?

I've also seen discussions like this: How does one create a project to create a Nuget package for Xamarin Forms supporting iOS, Android, and UWP?, but I'm not sure if this is still relevant, since the build.props and build.targets no longer exist in the MvvmCross repo.

the file @(ReferenceCopyLocalPath->; WithMetadatavalue('ReferenceSourceTarget', 'ProjectReference')-> to be packed was not found on disk

$
0
0

I am creating a nuget package using the pack command that is in dot net standard and its generating the following error:

the file @(ReferenceCopyLocalPath->; WithMetadatavalue('ReferenceSourceTarget','ProjectReference')-> to be packed was not found on disk 

Below is my csproj file

<Project Sdk="Microsoft.NET.Sdk">    <PropertyGroup><Version>1.4.3.8</Version><PackageVersion>$(Version)</PackageVersion><PackageOutputPath>..\build_output\packages</PackageOutputPath><TargetFrameworks>net461;netstandard2.0;netcoreapp2.1;netcoreapp3.0;net462;net47;net471;net472;netstandard2.1</TargetFrameworks><GeneratePackageOnBuild>false</GeneratePackageOnBuild><AssemblyVersion>$(Version)</AssemblyVersion><FileVersion>$(Version)</FileVersion><IncludeSymbols>true</IncludeSymbols><Authors>sn.synergy</Authors><Company>Gyldendal™</Company><PackageTags>Logger;Logging;Manager</PackageTags><Copyright>© Gyldendal</Copyright><PackageProjectUrl>https://gyldendaldenmark.visualstudio.com/Common     Components/_git/logger</PackageProjectUrl><RepositoryUrl>https://gyldendaldenmark.visualstudio.com/Common Components/_git/logger</RepositoryUrl><RootNamespace>LoggingManager</RootNamespace>    </PropertyGroup>    <PropertyGroup     Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"><DefineConstants>DEBUG;TRACE</DefineConstants><DebugType>full</DebugType><DebugSymbols>true</DebugSymbols>    </PropertyGroup>    <ItemGroup><None Include="NLog.config"><Pack>true</Pack></None>    </ItemGroup>    <ItemGroup><None Update="NLog.xsd"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></None>    </ItemGroup>    <!--Common Package-->    <ItemGroup><PackageReference Include="NLog" Version="4.6.7" />    </ItemGroup>    <!--Trageting .NET CORE (2.1, 3.0) && .NET STANDARD     (2.0,2.1) -->    <ItemGroup     Condition="$(TargetFramework.StartsWith('netcore')) OR     $(TargetFramework.StartsWith('netstandard'))"><PackageReference Include="Newtonsoft.Json" Version="12.0.3" /><PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" /><!--<PackageReference Include="Microsoft.AspNet.WebApi.Core" Version="5.2.7" />--><PackageReference Include="NLog.Extensions.Logging" Version="1.6.1" /><PackageReference Include="NLog.WindowsEventLog" Version="4.6.7" /><PackageReference Include="System.Diagnostics.EventLog" Version="4.6.0" /><PackageReference Include="System.Configuration.ConfigurationManager" Version="4.6.0" /><PackageReference Include="System.Data.SqlClient" Version="4.7.0" /><PackageReference Include="System.Linq" Version="4.3.0" /><PackageReference Include="Microsoft.Win32.Registry" Version="4.6.0" />    </ItemGroup>    <!--Targeting .NET FRAMEWORK     (4.6.1 4.6.2)  -->    <ItemGroup Condition="'$(TargetFramework)' =='net461' OR '$(TargetFramework)' == 'net462'"><PackageReference Include="Newtonsoft.Json" Version="10.0.3" /><PackageReference Include="Microsoft.AspNet.WebApi.Client" version="5.2.3" /><PackageReference Include="Microsoft.AspNet.WebApi.Core" version="5.2.3" /><PackageReference Include="NLog.Extensions.Logging" Version="1.5.4" /><PackageReference Include="NLog.WindowsEventLog" Version="4.6.7" /><PackageReference Include="System.Diagnostics.EventLog" Version="4.5.0" /><PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" /><PackageReference Include="System.Data.SqlClient" Version="4.6.1" /><PackageReference Include="System.Linq" Version="4.3.0" /><PackageReference Include="Microsoft.Win32.Registry" Version="4.5.0" />    </ItemGroup>    <!--Targeting .NET FRAMEWORK     (4.7, 4.7.1, 4.7.2)-->    <ItemGroup Condition="'$(TargetFramework)'     == 'net47' OR '$(TargetFramework)' == 'net471' OR '$(TargetFramework)' == 'net472'"><PackageReference Include="Newtonsoft.Json" Version="12.0.2" /><PackageReference Include="Microsoft.AspNet.WebApi.Client" version="5.2.3" /><PackageReference Include="Microsoft.AspNet.WebApi.Core" version="5.2.3" /><PackageReference Include="NLog.Extensions.Logging" Version="1.5.4" /><PackageReference Include="NLog.WindowsEventLog" Version="4.6.7" /><PackageReference Include="System.Diagnostics.EventLog" Version="4.5.0" /><PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" /><PackageReference Include="System.Data.SqlClient" Version="4.6.1" /><PackageReference Include="System.Linq" Version="4.3.0" /><PackageReference Include="Microsoft.Win32.Registry" Version="4.5.0" />    </ItemGroup>    <ItemGroup><Folder Include="Properties\" />    </ItemGroup>    <ItemGroup><ProjectReference Include="..\LoggingManager.Nlog.RabbitMQ.Target\LoggingManager.Nlog.RabbitMQ.Target.csproj"><PrivateAssets>all</PrivateAssets></ProjectReference>    </ItemGroup>    <PropertyGroup><TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput><!-- include PDBs in the NuGet package --><AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder></PropertyGroup>    <Target Name="CopyProjectReferencesToPackage"     DependsOnTargets="ResolveReferences"><ItemGroup><BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->;WithMetadataValue('ReferenceSourceTarget','ProjectReference')->;WithMetadataValue('PrivateAssets', 'all'))" /></ItemGroup>    </Target>    <ItemGroup><Content Include="NLog.config"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>    </ItemGroup>    <Target Name="PostBuild" AfterTargets="pack"><Exec Command="nuget push &quot;$(PackageOutputPath)\$(PackageId).$(PackageVersion).nupkg&quot;     -ApiKey 24FCB347-75E6-41D6-BF80-E49CB142C092 -Source &quot;https://gyldendalnugetserver.azurewebsites.net/nuget&quot;     -ConfigFile &quot;..\.nuget\nuget.config&quot;&#xD;&#xA;nuget push &quot;$(PackageOutputPath)\$(PackageId).$(PackageVersion).symbols.nupkg&quot;     -ApiKey 24FCB347-75E6-41D6-BF80-E49CB142C092 -Source &quot;https://gyldendalnugetserver.azurewebsites.net/nuget&quot;     -ConfigFile &quot;..\.nuget\nuget.config&quot;&#xD;&#xA;Exit /B 0&#xD;&#xA;" />    </Target> </Project>

Firebase dynamic link is not resolving in Xamarin Forms iOS

$
0
0

I am using Xamarin.Firebase.iOS.DynamicLinks 2.3.1.1 for dynamic links, Earlier it was working fine but recently it is not working. While trying to extract the short link, long link getting null. Is anyone knows why it is not working?

I have updated to the latest version (4.0.1) and its working fine. It not working any of the previous version of NuGet packages.

Viewing all 3157 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>