Comments (6)
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.
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.
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.
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.
You can always use dnu build
to compile assemblies and then use the traditional nuget pack
command.
from dnx.
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)
- Error when executing user-secret : System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Logging HOT 2
- Dnu restore and Team City feed HOT 3
- Status of SQL Server Management SKD in vNext?
- How to ignore a folder in global.json?
- package doesn't include Xml Documentation HOT 1
- DNU Restore does not work with custom protected nuget feeds in VSTS Build
- dnu publish will add a system.webServer section when not needed HOT 1
- DNX compilation handles fixed byte array incorrectly HOT 2
- Guidance for using ASP.NET Core 1 with net45 dependencies in RC2 - how to target Mono? HOT 3
- Error CS0433 The type 'SecureString' exists in both 'System.Security.SecureString, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' DNX 4.5.1.0 HOT 1
- The "FindConfigFiles" task failed unexpectedly, => System.IO.PathTooLongException: HOT 6
- Long time to restart dnx process
- publish IIS error asp.net core 1.0 rtm HOT 5
- Debuging at dnx startup HOT 1
- 'HelloWorld' does not contain a static 'Main' method suitable for an entry point HOT 1
- Resource generation uses Library name, not Default Namespace HOT 2
- RegistryKey in dotnetcoreapp?
- Invalid metadata section span HOT 1
- Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.1.0.0
- .net core centos 7.2 A large amount of view folders are not updated in time, so you need to restart applications HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnx.