Compiler errors and warnings when added to the solution

Jan 18, 2013 at 8:58 AM

When the latest source from the Gallery is added to a 1.6 solution there are many compiler errors that are really caused by broken references. Re-adding Autofac, NHibernate, FluentHHibernate, ClaySharp and Orchard.Framework resolves the issue. Probably the problem is that you use pathes to the bin folder. Maybe pathes to lib would be better?

Also FYI there are two warnings:

Warning    'Four2n.Orchard.MiniProfiler.Data.Providers.ProfiledMySqlServerDataServicesProvider.ProviderName' hides inherited member 'Orchard.Data.Providers.MySqklDataServicesProvider.ProviderName'. Use the new keyword if hiding was intended.    d:\Orchard\src\Orchard.Web\Modules\Four2n.MiniProfiler\Data\Providers\ProfiledMySqlServerDataServicesProvider.cs

Warning    'Four2n.Orchard.MiniProfiler.Data.Providers.ProfiledSqlCeDataServicesProvider.ProviderName' hides inherited member 'Orchard.Data.Providers.SqlCeDataServicesProvider.ProviderName'. Use the new keyword if hiding was intended.    d:\Orchard\src\Orchard.Web\Modules\Four2n.MiniProfiler\Data\Providers\ProfiledSqlCeDataServicesProvider.cs