Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

.net Projects running under Different version in same solution

$
0
0

Hi Team

we have legacy projects which were running under .net3.5 version framework.

Created another solution and added web api project(Running under 4.6.1 .net framework+mvc5) which will access legacy project dlls or libraries (running under .net 3.5).

I have added 9 dll references(running under .net 3.5) to web api project(Running under 4.6.1 .net framework
+mvc).

While building and rebuilding web api project, it got succeeded in both the cases.

While building entire solution, it got succeeded.

While rebuilding the entire  solution it is giving errors, one dll not building properly out of 9 dlls.  Every time getting different number of errors related to that project dll.

In .CS files it is not showing any error realted to dll.

But in error list it is showing below error(one sample error message)


Severity


Code


Description


Project


File


Line


Suppression State


Error


CS0234


The type or namespace name 'Entities' does not exist in the namespace 'AdminTools.Common' (are you missing an assembly reference?)


GenericToolsMvcWeb


C:\dev\AdminTools\AdminTools\Src\GenericToolsWebApi\Source\UdwBaseWebServiceWrapper.cs


6


N/A


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>