RazorEngine.Templating.TemplateCompilationException: Unable to compile template. Check the Errors list for details. at RazorEngine.Compilation.DirectCompilerServiceBase.CompileType(TypeContext context) at RazorEngine.Templating.TemplateService.CreateTemplate(String template, Type modelType) at RazorEngine.Templating.TemplateService.Parse[T](String template, T model, String name) at RazorEngine.Razor.Parse[T](String template, T model, String name) at Rosetta.Sitefinity.Web.UI.WebControls.RazorTemplate.ParseTemplate[T](T model) in D:\inetpub\wwwroot\activia6.0\Dannon.Activia\src\Rosetta.Sitefinity\Web\UI\WebControls\RazorTemplate.cs:line 50
  • warning CS1685: The predefined type 'System.Runtime.CompilerServices.AsyncTaskMethodBuilder' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll'
  • warning CS1685: The predefined type 'System.Runtime.CompilerServices.AsyncTaskMethodBuilder' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll'
  • warning CS1685: The predefined type 'System.Runtime.CompilerServices.AsyncVoidMethodBuilder' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll'
  • warning CS1685: The predefined type 'System.Runtime.CompilerServices.IAsyncStateMachine' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll'
  • warning CS1685: The predefined type 'System.Runtime.CompilerServices.INotifyCompletion' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll'
  • warning CS1685: The predefined type 'System.Runtime.CompilerServices.ICriticalNotifyCompletion' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll'
  • warning CS1685: The predefined type 'System.Runtime.CompilerServices.AsyncStateMachineAttribute' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll'
  • warning CS1685: The predefined type 'System.Collections.Specialized.INotifyCollectionChanged' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'
  • c:\Windows\Temp\mjzrciiy.0.cs(31,2) : error CS1579: foreach statement cannot operate on variables of type 'Rosetta.Sitefinity.Web.UI.WebControls.RazorTemplate' because 'Rosetta.Sitefinity.Web.UI.WebControls.RazorTemplate' does not contain a public definition for 'GetEnumerator'

Healthcare Professionals

Sign up for a free referral pad and more.

Roll over the hotspots to learn more about how Activia.com can benefit your digestive well being.

Activia Benefit:

Within the creamy deliciousness of every bite of Activia is the probiotic culture, Bifidus Regularis. Probiotics, meaning "for life," are living microorganisms that when consumed in adequate amounts, provide benefits to the host beyond basic nutrition. Every serving of Activia contains billions of live Bifidus Regularis cultures.

Activia Benefit:

Activia helps optimize the function of the gastrointestinal tract, leading in turn to better daily well-being.

Activia Benefit:

Bifidus Regularis survives passage through the digestive tract and reaches the large intestine in sufficient numbers for Activia to have its beneficial effects.
Activia may help reduce the frequency of minor digestive issues like bloating, gas, discomfort and rumbling, when consumed twice per day for four weeks as part of a balanced diet and healthy lifestyle.