Giter Club home page Giter Club logo

Comments (6)

davidfowl avatar davidfowl commented on June 28, 2024

Yea, this is an interesting one. Need to think about it a bit since the entire point of the project.json was to remove the need for a nuspec + csproj + packages.config. Today other projects work around this in weird ways so it's worth looking into.

from dnx.

davidfowl avatar davidfowl commented on June 28, 2024

We've decided to not support these scenarios. We'll never support the full breadth of what nuget does so for those scenarios that fall outside of single dll, per package you should use a nuspec or edit the nupkg file that came out of the k build.

from dnx.

bricelam avatar bricelam commented on June 28, 2024

Sounds good. As a workaround, I am injecting files into the nupkg post build. See https://github.com/aspnet/xunit/blob/k2/makefile.shade

from dnx.

Fosol avatar Fosol commented on June 28, 2024

It's my experience that don't include a half feature unless you provide a simple way to override it. What's the simple way to configure what is packaged from our project?

How do I have the project build and place files to the output folder but lets me do the actual nuget package stuff?

I need a fully featured nuget package configuration.

from dnx.

analogrelay avatar analogrelay commented on June 28, 2024

You can always use dnu build to compile assemblies and then use the traditional nuget pack command.

from dnx.

NullVoxPopuli avatar NullVoxPopuli commented on June 28, 2024

nuget pack doesn't seem to work for me.

I get the following:


WARNING: 2 issue(s) found with package 'csharp-extensions'.

Issue: Assembly outside lib folder.
Description: The assembly 'bin\Debug\dnx46\csharp-extensions.dll' is not inside the 'lib' folder and hence it won't be a
dded as reference when the package is installed into a project.
Solution: Move it into the 'lib' folder if it should be referenced.

Issue: Assembly outside lib folder.
Description: The assembly 'bin\Debug\dnxcore50\csharp-extensions.dll' is not inside the 'lib' folder and hence it won't
be added as reference when the package is installed into a project.
Solution: Move it into the 'lib' folder if it should be referenced.

Why doesn't it copy to the lib folder? and why, when I move those folders (dnxcore50 and dnx46) to lib, does it still not work? (still shows those warnings)

from dnx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.