nuspec Questions
3
Solved
Please consider the following nuspec file:
<?xml version="1.0"?>
<package >
[SOME METADATA]
<files>
<file src="bin\x64\$configuration$\GR*.filetype" target="content\" />...
Aleurone asked 25/6, 2017 at 15:19
2
Solved
I've created a .nuspec file which packages a bunch of .proto files for sharing between projects. This is great. Unfortunately, for the .proto files to be built, they need to be actually copied over...
Candie asked 18/3, 2021 at 17:20
2
Solved
I'm working on setting up a new organization where we are currently using VS 2017 and creating many SQL Server (2016) DB projects.
I've set up a private NuGet server on Azure to be able to use pac...
Feoff asked 22/5, 2020 at 14:58
12
Working on creating a nuget pkg for a project (A.csproj) which depends on another project (B.csprojec) added as a project reference.
Here is the .nuspec ,
<?xml version="1.0"?>
<package ...
4
Solved
I have a DLL addressing the .NET 4.7.1 library.
Probably irrelevant, but it's written in C# and consumes NuGet packages using the "packages.config" pattern, rather than the newer PackageReference...
Rhearheba asked 16/2, 2020 at 15:16
4
Solved
I tried to create .nuspec file in a different folder by giving path but
it is giving me error
Nuget.exe spec ..\MYDEMOFOLDER
Nuget.exe pack ..\MYDEMOFOLDER\MYPROJECT.csproj
pause
want to creat...
Hoptoad asked 18/6, 2015 at 7:7
3
I have a web project (mvc5) with a project.json inside.
Also, I have a nuget package. Inside this package (besides the dll reference) I have some Content files (cshtml files, css, javascript etc)....
Prevenient asked 28/8, 2017 at 14:36
3
Solved
The nuspec reference says about the releaseNotes tag
v1.5 A description of the changes made in each release of the package. This field only shows up when the Updates tab is selected and the packag...
Smalley asked 3/6, 2015 at 6:9
1
First of all I read a few articles in this regards like https://learn.microsoft.com/en-us/nuget/create-packages/supporting-multiple-target-frameworks but they don't cover my scenario and whatever I...
Parasiticide asked 20/7, 2018 at 18:57
2
When using dotnet pack, how do I pass a variable to my nuspec file?
I am trying to pass the version. Here is the nuspec:
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.x...
Scandal asked 26/11, 2018 at 16:32
1
Solved
I am creating a nuget package from some code, but also need to deploy some tools with the package.
In a .nuspec file, I can do this with the <files> element, and this all works well.
However ...
Nisus asked 19/9, 2020 at 12:9
1
Solved
I have a .Net Framework 4.6.1 project from which I make a nuget package. This nuget package simply installs 2 dlls and a couple of content files which is working fine.
The problem is that I now add...
Lash asked 19/8, 2020 at 14:52
3
Solved
Yesterday NuGet 3.3 was released (release notes) and there is a new contentFiles element supported (docs). However, I can't seem to get this working.
I'm using the NuGet.exe as the build process. ...
1
So currently you could configure the branch and commit a .nuspec (see reference):
<repository type="git"
url="https://github.com/NuGet/NuGet.Client.git"
branch="dev"
commit="e1c65e4524cd7...
Westmoreland asked 30/7, 2019 at 20:16
1
Solved
I know, you should not change the Package ID of a NuGet Package. But I did, because of a big refactoring.
Now I want to know if there is a proper way to define a successor NuGet package.
Old ID i...
Decoration asked 28/10, 2019 at 10:25
1
Is it possible to use Azure DevOps pipeline variables in .nuspec files, which are used for packages creation?
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microso...
Bangalore asked 28/11, 2018 at 16:46
2
Solved
Im trying to create a NuGet package of a dotnet new template. I created a nuspec file to set the details of the package, and it sits adjacent to my contents foler, which contains everything I want ...
Brabazon asked 21/6, 2018 at 21:8
1
Solved
I know Since the release of msbuild 15 (vs 2017) that NuGet is now fully integrated into MSBuild.
I have a nuspec file with defining variables of package properties like:
<metadata>
<i...
Fussbudget asked 18/10, 2018 at 19:53
1
Solved
I have a Dotnet Core 2.1 project which has both a nuspec and a csproj file - one major hassle is that the csproj describes dependencies like this:
<ItemGroup>
<PackageReference Include=...
2
Solved
I've searched the entire stackoverflow community but I couldn't find an answer for this...
I have a .nuspec file and I have no idea where I have to put it. Some topics say that I have to put it in...
Tearful asked 18/4, 2018 at 13:14
1
Solved
I have a Class Library (net47) project and I'd like to pack into a nuget my dll and several files of static content (js, css, images...). I want to use this dll and the content from the consumer pr...
Blockbuster asked 12/2, 2018 at 16:24
2
Solved
I'm packaging up a bunch of javascript for a website. Here's what my .nuspec looks like.
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"&g...
Ejaculate asked 20/11, 2017 at 18:38
1
Solved
I've tried many different things now, none of which seem to work out as expected.
I would like to share an example config(or image or whatever) file with my library that someone would be able to u...
Suzan asked 7/11, 2013 at 7:53
1
Solved
My company has set up a nuget repository for packages that are proprietary to our business. I have a nuspec file for a package that lists dependencies that are located on the main nuget repository....
1
I am running a private Nuget Server locally on IIS.
I am creating packages and uploading them all via commadline using nuget.exe (Later on I have to put this on build server, hence the command line...
Thaliathalidomide asked 30/9, 2014 at 2:13
1 Next >
© 2022 - 2025 — McMap. All rights reserved.