We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Cannot Build iCalendar Demos

Downloaded the Network MSI package a few days ago. cannot build the iCalendar.Demos project–it is complaining about missing files, e.g. \Aspose.iCalendar.Demos.Common\ExtendedFunctionality\RFC_Objects\TimeZones\UtcOffset.cs and Aspose.iCalendar.Demos.Common\ExtendedFunctionality\RFC_Objects\Integer.cs. When I look in those locations, there seem to be no files at all. I’ve re-run the MIS and done a Repair Install, but that did not help.

It also complains about the WebForms and NUnit projects as well (i.e. not found), but I can probably live without those. I’m trying to evaluate this product, but I blocked by this problem.

Hi,


We are checking “Aspose.iCalendar.Demos.sln” solution file for the mentioned errors. This solution file is for Visual Studio 2003.

However, if you have VS 2005, you may open “Aspose.iCalendar.Demos.2005.sln” solution, which will compile successfully after updating references to the bin/netx.x/Aspose.Network.dll file.

We will update and provide you the demos for all versions of Visual Studio shortly. Sorry for the inconvenience.

OK. I tried the 2005 project, which loaded a little better (after conversion since I’m running VS2008). But that does not build either, with these errors:

------ Build started: Project: Aspose.iCalendar.Demos.Common.2005, Configuration: Debug Any CPU ------
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly “Aspose.Network”. Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702 /nostdlib- /errorreport:prompt /warn:4 /baseaddress:285212672 /define:DEBUG;TRACE;TEST /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug+ /debug:full /filealign:4096 /optimize- /out:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.Common.dll /target:library /warnaserror- AssemblyInfo.cs DemoUtil.cs EditTaskController.cs EditTaskFormData.Designer.cs LookupPair.cs PatternParser.cs PatternType.cs Task.cs TaskData.Designer.cs TasksModel.cs
C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\PatternParser.cs(23,21): error CS0246: The type or namespace name ‘RecurrencePattern’ could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\PatternParser.cs(102,11): error CS0246: The type or namespace name ‘RecurrenceRule’ could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\PatternParser.cs(427,11): error CS0246: The type or namespace name ‘RecurrencePattern’ could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\EditTaskController.cs(583,11): error CS0246: The type or namespace name ‘RecurrenceRule’ could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\Task.cs(19,39): error CS0246: The type or namespace name ‘RecurrencePattern’ could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\Task.cs(31,28): error CS0246: The type or namespace name ‘RecurrencePattern’ could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\Task.cs(60,10): error CS0246: The type or namespace name ‘RecurrencePattern’ could not be found (are you missing a using directive or an assembly reference?)
C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\Task.cs(82,11): error CS0246: The type or namespace name ‘RecurrencePattern’ could not be found (are you missing a using directive or an assembly reference?)

Compile complete – 8 errors, 0 warnings
Done building project “Aspose.iCalendar.Demos.Common.2005.csproj” – FAILED.
------ Build started: Project: Aspose.iCalendar.Demos.WebForms.2005, Configuration: Debug Any CPU ------
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly “Aspose.Network”. Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702 /nostdlib- /errorreport:prompt /warn:4 /baseaddress:285212672 /define:DEBUG;TRACE /reference:“C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\bin\Debug\net2.0\Aspose.iCalendar.Demos.Common.dll” /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug+ /debug:full /filealign:4096 /optimize- /out:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WebForms.dll /resource:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WebForms.Default.resources /resource:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WebForms.EditCustomTaskForm.resources /resource:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WebForms.EditTaskForm.resources /resource:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WebForms.Global.resources /target:library /warnaserror- AssemblyInfo.cs Default.aspx.cs EditCustomTaskForm.aspx.cs EditTaskForm.aspx.cs Global.asax.cs WebUtil.cs
error CS0006: Metadata file ‘C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\bin\Debug\net2.0\Aspose.iCalendar.Demos.Common.dll’ could not be found

Compile complete – 1 errors, 0 warnings
Done building project “Aspose.iCalendar.Demos.WebForms.2005.csproj” – FAILED.
------ Build started: Project: Aspose.iCalendar.Demos.WinForms.2005, Configuration: Debug Any CPU ------
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly “Aspose.Network”. Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702 /nostdlib- /errorreport:prompt /warn:4 /baseaddress:285212672 /define:DEBUG;TRACE /reference:“C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\bin\Debug\net2.0\Aspose.iCalendar.Demos.Common.dll” /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug+ /debug:full /filealign:4096 /optimize- /out:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WinForms.exe /resource:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WinForms.EditCustomTaskForm.resources /resource:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WinForms.EditOccurrenceForm.resources /resource:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WinForms.EditTaskForm.resources /resource:obj\Debug\net2.0\Debug\Aspose.iCalendar.Demos.WinForms.TasksForm.resources /target:winexe /warnaserror- /win32icon:App.ico AssemblyInfo.cs EditCustomTaskForm.cs EditOccurrenceForm.cs EditTaskForm.cs RadioGroup.cs TasksForm.cs
error CS0006: Metadata file ‘C:\Program Files\Aspose\Aspose.Network for .NET\Samples\iCalendar\Aspose.iCalendar.Demos.Common\bin\Debug\net2.0\Aspose.iCalendar.Demos.Common.dll’ could not be found

Compile complete – 1 errors, 0 warnings
Done building project “Aspose.iCalendar.Demos.WinForms.2005.csproj” – FAILED.
========== Build: 0 succeeded or up-to-date, 3 failed, 0 skipped ==========

Hi,


In “Aspose.iCalendar.Demos.Common.2005” project, please delete the invalid reference of Aspose.Network and add again from “c:\program files\Aspose\Aspose.Network for .NET\bin\net2.0\Aspose.Network.dll”.

Similarly, in “Aspose.iCalendar.Demos.WinForms.2005”, remove the invalid reference and add again from the same location.

Rebuild the solution. Hopefully, it will build successfully after updating the references.

We did not include the “Aspose.Network.dll” in all the demos separately, because adding it to all demo projects would increase the MSI size.

Thanks for the quick reply. This worked. I can now build and run the WinForms project. (Changed WebForms as well, but haven’t tested that.)