How to use existing code in asp.net vNext -
asp.net is trying to play a bit with vNext.
Assume that I have the code MyCode.dll with some code and want to use it in vNext project. How can I reference the existing 4.5 assembly?
I've packaged it in the newsletter package, and then using the local feed, add it to the vNext project. To use the package actually download kpm restored .
It looks like the package has been successfully added, but there is no code available from MyCode.dll , it's not just used by IntelliSence and throwing type or Namespace quoeld can not be created
I can take the code from MyCode.dll to the asp.net 5 class library, but I can get the current DLL There is a need to reuse which is also used by other projects, such as ASP. Earlier versions of freight etc.
A local newsgroup server around my work and correctly assembled on the imagination, pack and newsletter server To push, you had to do that you can target coefficient versions of NAT such as aspnetcore5, aspnet5 and net45. Be sure to include the respective dependencies for each version on the assembly specification file. Please refer to instructions for creating a local server Please refer to the example specification.
& lt; Dependency & gt; & Lt; Group Target Framework = "Net 45" & gt; & Lt; Dependency ID = "Nutsoft. Jason" version = "6.0.6" /> & Lt; / Groups & gt; & Lt; Group Target Framework = "aspnet50" & gt; & Lt; Dependency ID = "Nutsoft. Jason" version = "6.0.6" /> & Lt; Dependency ID = "System" version = "4.0.0.0" /> & Lt; Dependency ID = "System.Core" version = "4.0.0.0" /> & Lt; Dependency ID = "Microsoft.CSharp" version = "4.0.0.0" /> & Lt; Dependency ID = "mscorlib" version = "4.0.0.0" /> & Lt; / Groups & gt; & Lt; Group Target Framework = "aspnetcore50" & gt; & Lt; Dependency ID = "Nutsoft. Jason" version = "6.0.6" /> & Lt; Dependency ID = "System.Runtime" version = "4.0.20-beta-22231" /> & Lt; Dependency ID = "System.Collections" version = "4.0.10-beta-22516" /> & Lt; / Groups & gt; & Lt; / Dependencies & gt;
Comments
Post a Comment