project.json net40 client #2546
Comments
Should also test .NETFramework,Version=v3.5,Profile=Client |
Regardless of support it shouldn't be throwing an ArgumentException :). But yes, in theory project.json should already support Client framework so this would be a bug. |
I am still having issues with it picking up net40-client. Im using a nuget Package for CsvHelper by John Close and Project.json keeps referencing the net20 and not the net40-client |
@LorenDorez can you provide more info |
I am working on a new MVC6 Project and when i add the nuget package "CsvHelper": If i look at the porject.lock.json file it appears DNX is referencing the net20 assemblies for CsvHelper rather than the net40-client one. If i manually edit the project.lock.json file the things work but only until the project.lock.json needs to rebuild Below is an example of the project.lock.json file for CsvHelper
|
@davidfowl Any update? |
@davidfowl I have a little more info that might help. My asp.net 5 rc1 project.json has: "frameworks": {
"dnx451": { }
} If I copy the "C:\Users[your username].dnx\packages\CsvHelper\2.13.5\lib\net40-client" folder to ...then the project.lock.json file is generated correctly. It's a dirty hack and I am wondering what the root of the problem is. I guess maybe it goes into the package folder looking for a folder than matches the framework I declared? Because if I copy the files I want into a folder called "dnx451" then these lines "compile": {
"lib/net20/CsvHelper.dll": {}
},
"runtime": {
"lib/net20/CsvHelper.dll": {}
} change to "compile": {
"lib/dnx451/CsvHelper.dll": {}
},
"runtime": {
"lib/dnx451/CsvHelper.dll": {}
} and everything works! |
Having the same problem with the CsvHelper library. |
Any update on how to fix this? |
This issue is closed and labeled as "done". We probably need to open a new one to get it looked at. |
Same issue, CsvHelper, rc1-final. project.lock.json below
WorkaroundI worked around this by hacking the CsvHelper package to remove everything except the Feed: https://www.myget.org/F/csvhelperdnx/api/v2 |
Should project.json support .NET 4.0 Client Framework?
With
.NETFramework,Version=v4.0,Profile=Client
I get an error from dnu build:System.ArgumentException: preprocessorSymbols
Microsoft .NET Development Utility CLR-x86-1.0.0-beta8-15120
The text was updated successfully, but these errors were encountered: