简体   繁体   中英

After installing the NServiceBus NuGet package my project does not contain any additional DLL references

I am using Visual Studio 2010 and want to add NServiceBus to my project.

Whether I use the Package Manager GUI, or the Package Manager Console, after installing the NuGet package, the project does not contain any additional assemblies in the project References, and therefore cannot reference any of the NServiceBus classes from my code.

If I manage packages for the solution it says that the package is installed, and when I open the packages.config file it contains this line:

<package id="NServiceBus" version="5.1.2" targetFramework="net40" />

But there is no NServiceBus classes available to my application.

It seems like your project is .Net 4.0. NServiceBus v5 requires .Net 4.5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM