I noticed that there is a circular problem with warnings issued by Visual Studio 2015 for a project with asp.net 5 beta8 (1.0.0-beta8 DNX framework), and also that CS1703 errors are now a problem for me, starting with beta version 7 and continuing in beta 8, and such a problem did not occur in beta.
I have a solution containing the main project and some subcomponents, in one of these collections there is project.json, which is part of the class library project (.xproj), which defines an abstract set of interfaces and it contains some list of dependencies like this, and each of these dependencies exists mainly, so I can use the types defined in these assemblies in the interface definitions.
The entire .json project for building a contract plugin:
{
"version": "1.0.0-*",
"description": "ITConsolePluginContract Class Library",
"authors": [ "wpostma" ],
"tags": [ "" ],
"projectUrl": "",
"licenseUrl": "",
"dependencies": {
"Microsoft.CSharp": "????",
"System.Collections": "4.0.0-*",
"System.Threading": "4.0.0-*",
"System.Linq": "4.0.1-*",
"System.Runtime": "4.0.21-*",
"Newtonsoft.Json": "7.0.1"
},
"frameworks": {
"dotnet": { }
}
}
However, in my main application that consumes this assembly, I have:
"frameworks": {
"dnx451": { }
},
, , , ", Microsoft.CSharp >= X, Microsoft.CSharp Y. , 4.0.0-*
4.0.1-*
project.json, , , , Microsoft.CSharp, CS1703
, CS1703, , - Microsoft.CSharp. , , .

, :
, , , - nuget.
, , , dnx 1.0 beta 7 , , . , System.Collections 4.0.10 4.0.11-, , - 7 6 8 4 - .
, , ? , - ASP.NET, , , , Asp.Net .
, , , , ? , ?
-, - , :
CS1703 Multiple assemblies with equivalent identity have been imported: 'C:\Users\LOCALUSERNAME\.dnx\packages\System.Collections\4.0.10\ref\dotnet\System.Collections.dll' and 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Collections.dll'. Remove one of the duplicate references.
CS1703 Multiple assemblies with equivalent identity have been imported: 'C:\Users\LOCALUSERNAME\.dnx\packages\System.Threading\4.0.10\ref\dotnet\System.Threading.dll' and 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\Facades\System.Threading.dll'. Remove one of the duplicate references.
: , . dynamic
, Microsoft.CSharp
, , . Json. , , , . , : " project.json, Microsoft.CSharp ". , " ", , , Visual Studio , , . , , DNX/DNU , .Net( ).
Update2: , ASP.NET 5.xproj, , . - asp.net dnx451
, - ( ) dotnet
, , , "" , () ( ).
update3: , , - 1 CS1703, , -, , project.json - project.lock.json, ASP.NET 5, -.
Build The design time host build failed with the following error:
error CS1703: Multiple assemblies with equivalent identity have been
imported:
'C:\Users\USERNAME\.dnx\packages\System.Runtime\4.0.21-beta-23409\ref\dotnetSystem.Runtime.dll'
and 'C:\Program Files (x86)\Reference
Assemblies\Microsoft\Framework\.NETFramework\v4.5.1\FacadesSystem.Runtime.dll'.
Remove one of the duplicate references.
, 7, , beta8:
CS1703 Build Multiple assemblies with equivalent identity have been imported: '<in-memory assembly>' and '<in-memory assembly>'. Remove one of the duplicate references.
bitbucket, mercurial: https://bitbucket.org/wpostma/itconsole-demo