MS Visual Studio 2015 Enterprise.
I am learning Microsoft Fakes Framework. I have two assemblies AcDbMng.dll
and AcMng.dll
are written by other company. They use .Net Framework 2.0. I create new Unit Test Project, add these assemblies into my project, and through their context menu call the "Add Fakes Assembly". Now I launch my project building and get 128 errors... For example:
It wasn't succeeded to find type or a name of a name space of "
ICollection
" (perhaps, there is no directive of using or an assembly reference). [c:\users\andrey\documents\visual studio 2015\Projects\msfakes\obj\Debug\Fakes\adm\f.csproj] msfakes c:\users\andrey\documents\visual studio 2015\Projects\msfakes\f.cs 206092It wasn't succeeded to find type or a name of a name space of "
IDictionary
" (perhaps, there is no directive of using or an assembly reference). [c:\users\andrey\documents\visual studio 2015\Projects\msfakes\obj\Debug\Fakes\adm\f.csproj] msfakes c:\users\andrey\documents\visual studio 2015\Projects\msfakes\f.cs 206119The modifier "
override
" is not valid for this item. [c: \ users \ andrey \ documents \ visual studio 2015 \ Projects \ msfakes \ obj \ Debug \ Fakes \ adm \ f.csproj] msfakes c: \ users \ andrey \ documents \ visual studio 2015 \ Projects \ msfakes \ f. cs 206119
Such error messages are not clear for me. I tried to change the target .Net Framework platform: .Net 4.6 and .Net 3.5, but I get the same messages.
ICollection
, IDictionary
, modifier "override
... I didn't understand, what relation they have to these assemblies, because they are defined in the platform assemblies instead of AcDbMng.dll
and AcMng.dll
.
Anybody has idea about such behaviour?
Aucun commentaire:
Enregistrer un commentaire