New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pack support for csproj + project.json #1689
Comments
This appears similar to #1267. |
It is the same as 1267, nuget.exe pack does not support project.json projects. You will need to pack using a nuspec. |
OK, that worked. Is there an issue I can follow for adding support for building from .csproj? |
This will be the feature tracking it (renaming) |
When I have project.json and MyProject.nuspec, I expected the dependencies to be picked up out of the project.json file. That does not seem to be the case. I am running Example with no <?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>$id$</id>
<version>$version$</version>
<authors>$author$</authors>
<owners>$author$</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes>$releaseNotes$</releaseNotes>
</metadata>
</package> Before I had a project.json this magically picked up all my nuget package dependencies (I guess out of packages.config) |
@gregjhogan project.json is not being used at all by pack today. Project.json can contain all of the same metadata as the nuspec file so there may not be a nuspec + project.json pack scenario in the future. |
Pushed to Dev |
I am having no luck building a NuGet package for IntacctClient (see https://github.com/el-loco/IntacctClient)
Here's build output:
The text was updated successfully, but these errors were encountered: