framework icon indicating copy to clipboard operation
framework copied to clipboard

Missing Namespaces for Sample projects

Open jakelly opened this issue 10 years ago • 4 comments

Not sure what I'm missing here. I pulled down the source code from GitHub, opened the Samples Solution File in VS2013 and updated the references to Accord namespaces and I'm still receiving errors missing namespaces. Any ideas what I'm overlooking?

Your documentation for building these samples may need some attention as there is no reference to the Samples from within the core solution file Accord.Net.sln.

image

image

jakelly avatar Dec 30 '15 21:12 jakelly

Had the same problem and seems it is a project configuration issue.

I rebuild the Accord.Net solution with configuration NET45 and switched the 'Classification (SVM) project also to 4.5 framework this solved it for me.

Also check: http://stackoverflow.com/questions/4764978/the-type-or-namespace-name-could-not-be-found

sjihttam avatar Jan 02 '16 11:01 sjihttam

Some samples projects might be linked against .NET4.0 instead of 4.5. They will be gradually replaced with NuGet references as soon as release 3.1 gets out, which should solve this issue. The project is a bit unstable right now (specially the development branch) due to the merge with AForge, so I apologize for the inconvenience.

In the short term, please make sure that you have build both versions 4.0 and 4.5 of the framework, and that the sample application is targeting the same framework version as the one that has been built. This should do the trick.

cesarsouza avatar Jan 06 '16 21:01 cesarsouza

All sample applications have been updated to use packages from NuGet instead. Should be fixed on the next release.

cesarsouza avatar Sep 13 '16 21:09 cesarsouza

Fixed on release 3.3.0.

cesarsouza avatar Sep 16 '16 18:09 cesarsouza