2

I want to add "Stimulsoft.Report.dll" as an assembly in my Visual Studio 2015 ASP.Net 5 project.

But the reference manager does not contain the assemblies section with the extentions area(as it is in VS 2013), where i could select "Stimulsoft.Report" and add this to my references.

Is there any solution adding these reference to my ASP.NET 5 project?

4 Answers 4

5

you can add the assembly if it available in GAC like below code

 "frameworks": { "aspnet50": { "frameworkAssemblies": { "Stimulsoft.Report": "" } } } 

in the second part, you can give the version and type of the assembly

Sign up to request clarification or add additional context in comments.

Comments

3

In your project.json you can do:

"frameworks": { "aspnet50": { "bin": { "assembly": "<path to dll>", "pdb": "<path to pdb if needed>" } } } 

1 Comment

Tried adding dll like this and then have this error: s29.postimg.org/drr238r7b/Capture.jpg any help?
3

One workaround is to create a class library project with your 3rd party library reference. Then use a project reference from your website to the class library project.

Edit: Use a traditional class library, not an ASP.Net 5 class library.

2 Comments

Same problem, I can not add an thiert party element to the ClassLibrary and when I use a ClassLibrary from ASP.NET 4.5 i get a error message
This technique requires you to use a traditional class library, not an asp.net class library.
1

(1) Package your assembly with nuget
(2) Follow the @AndersNS answer talking about nuget repository

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.