nuget-package

TFS Automatic Build : Nuget Pack fail with code(1)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 09:59:44
问题 I'm trying to implement automatic builds in TFS for a WPF project. The automatic build works great, but I can't prepare a nuget package with the project. Here is my build process in TFS : If I remove NuGet pack and NuGet push, it works without trouble. Here is the messages I get by TFS: Found packages.config. Using packages listed as dependencies NuGet.CommandLine.CommandLineException: Unable to find 'Extended.Wpf.Toolkit.3.3.0.nupkg'. Make sure the project has been built. at NuGet

.NETcore, UWP - can't install NuGet package

妖精的绣舞 提交于 2019-12-24 08:37:23
问题 I try to create project using Universal Windows Platform. I did a few of them but after download .NET Core i have problem with NuGet Packages. When i try to Install MySql.Data i get Package restore failed. Output: MySql.Data 6.9.9 is not compatible with UAP,Version=v10.0. Some packages are not compatible with UAP,Version=v10.0. MySql.Data 6.9.9 is not compatible with UAP,Version=v10.0 (win10-arm). Some packages are not compatible with UAP,Version=v10.0 (win10-arm). MySql.Data 6.9.9 is not

How to inherit referenced assemblies in NuGet package

旧城冷巷雨未停 提交于 2019-12-24 06:49:41
问题 Simple question. I have a NuGet package project. This project references other class library projects (they are not NuGet Packages). I would like my NuGet package to load its references DLL's into the project installing the package. Is this possible, or do all my referenced class libraries need to be NuGet packages in order to specify them as dependencies? TIA 回答1: You can add your referenced dlls as files to nuspec and can set immediately source path file and target path file inside a nuget

UWP Windows-10 Cannot add Microsoft.NETCore.UniversalWindowsPlatform to my C# app

做~自己de王妃 提交于 2019-12-24 06:19:12
问题 I have a C# app targeting windows UWP. It was all working fine couple month's ago. When I opened it today, it cannot find this reference: Microsoft.NETCore.UniversalWindowsPlatform . I am unable to install this reference as well. Here are my project details & the steps I have followed: My VS details: MS VS Professional 2015 Version 14.0.25123.00 Update 2 Microsoft .NET Framework Version 4.6.01038 When I try to install this reference: Referencs(right click)->Manage NuGet Packages , & then by

UWP Windows-10 Cannot add Microsoft.NETCore.UniversalWindowsPlatform to my C# app

混江龙づ霸主 提交于 2019-12-24 06:19:08
问题 I have a C# app targeting windows UWP. It was all working fine couple month's ago. When I opened it today, it cannot find this reference: Microsoft.NETCore.UniversalWindowsPlatform . I am unable to install this reference as well. Here are my project details & the steps I have followed: My VS details: MS VS Professional 2015 Version 14.0.25123.00 Update 2 Microsoft .NET Framework Version 4.6.01038 When I try to install this reference: Referencs(right click)->Manage NuGet Packages , & then by

UWP Windows-10 Cannot add Microsoft.NETCore.UniversalWindowsPlatform to my C# app

人走茶凉 提交于 2019-12-24 06:19:06
问题 I have a C# app targeting windows UWP. It was all working fine couple month's ago. When I opened it today, it cannot find this reference: Microsoft.NETCore.UniversalWindowsPlatform . I am unable to install this reference as well. Here are my project details & the steps I have followed: My VS details: MS VS Professional 2015 Version 14.0.25123.00 Update 2 Microsoft .NET Framework Version 4.6.01038 When I try to install this reference: Referencs(right click)->Manage NuGet Packages , & then by

Is there a way to automatically update an installed NuGet package in Visual Studio?

浪子不回头ぞ 提交于 2019-12-24 05:15:35
问题 As the title says, I'd like to know if there is a way to automatically update an installed NuGet package as soon as a new version becomes available in the package source. The use case is a package that applies certain company policies (code analysis, signing, ...) to our projects, and as soon as this package is updated, I'd like to be able to configure an automatic update for this package. I do know that there is a package restore feature for NuGet which will automatically download the

Azure DevOps SourceLink and Symbol Server with Release DLL in Nuget package

有些话、适合烂在心里 提交于 2019-12-24 03:37:14
问题 I have a .NET Standard 2.0 TestSouceLink project with the following configuration in the .csproj : <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <RestoreProjectStyle>PackageReference</RestoreProjectStyle> <Authors>Jérôme MEVEL</Authors> <Description>Just a test package for SourceLink</Description> <Version>1.1.1</Version> <PublishRepositoryUrl>true</PublishRepositoryUrl> <EmbedUntrackedSources>true</EmbedUntrackedSources> </PropertyGroup> <PropertyGroup Condition="'$

teamcity error MSB4057: The target “pack” does not exist in the project

送分小仙女□ 提交于 2019-12-24 03:20:29
问题 Unable to create packages for a Dot Net Core project using 4.7 framework. I am using msbuild /t:pack /p:COnfiguration=Release command in teamcity to create a package. <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net471</TargetFramework> </PropertyGroup> </Project> NuGet.Build.Tasks.Pack is installed in the project. we use only .net core csproj structure but not .net core as target framework so it can't be compiled via .net CLI - that's why we build projects via MSBuild

How can I have assemblies (dll) for local packages in the NuGet v3 API?

别说谁变了你拦得住时间么 提交于 2019-12-24 02:48:07
问题 Introduction Hello everyone, I found a way to find the local NuGet packages using the NuGet v3 API. I don't know if I do it the correct way, but it works... There isn't a lot of documentation. The only interesting documentation I found is this blog. So, I don't know if I do it the correct way. I try to find some issues about my problem on the official NuGet GitHub. I didn't find anything interesting even on Google. So, I kept my code and I tried to find a way to get the assemblies (dlls) when