Should we keep using project.json? #273
Comments
Absolutely keep it -- for now. |
sorry for the trouble you've had with it. It (or rather, the nuget tooling) certainly isn't perfect. |
Cool. No problem. The problems I had were never with nuget, these worked flawlessly. It was mainly on Visual Studio v14 IDE on the Portable Projects general properties. It just states that JSON deserializing has wrong information after the dependency package version number (when it has the array with other options instead of just the version string). So I took it out from the two projects I created. |
@arlm: what exactly did you take out? The fields in the package dependency beyond the version number itself is important. Although it may seem alright when you remove it, it has subtle and broken behaviors elsewhere when you remove it. |
I came to this conclusion when I tried to understand what was the problem and which were the implications of taking that parameters out. That lead me to take out project.json completely and look for an alternative solution using package.config and MSBuild. The thing that was giving me headaches was a |
I'm afraid your understanding of the behavior of In packages.config In project.json, this XML tag in the .nuspec file is still respected, but it has no representation in the project.json file. It isn't necessary. In project.json, dependencies automatically propagate across project references (regardless of the value of |
It came to my knowledge that
project.json
files will be deprecated in favor of MSBuild. Does it make sense for us to maintain those on our code? I have had a pretty hard time setting up new projects usingproject.json
because support for some features is poor or lacking on Visual Studio (like the parent suppression on dependencies or other attributes on dependencies other than the version number only).So I ask: Should we keep it at all?
Some references for discussion:
The text was updated successfully, but these errors were encountered: