Problems in building the QuickStarts

Topics: CAB & Smart Client Software Factory
Oct 9, 2005 at 3:10 AM
originally posted by: amiradar

1. Trying to build solutions of the QuickStarts, I run into errors such as:
Error 1 The type or namespace name 'GeneratedCodeAttribute' does not exist in the namespace 'System.CodeDom.Compiler' (are you missing an assembly reference?) CompositeUI.Utility

2. Is there a project that builds all the components (CompositeUI, ObjectBuilder, ect) or do I need to build each one separatly?

IDE details:
VS 2005, version 8.0.50215.44 (beta2.050215-4400)
.Net FW 2.0.50215
Windows XP Pro, SP2

Thanks for your assistance,
Oct 9, 2005 at 6:40 AM
originally posted by: BradWilsonMSFT

October CTP of CAB was designed to work with the Whidbey Release Candidate (2.0.50727.26), and may not work with older versions like Beta 2 any more. :(

Oct 9, 2005 at 8:08 AM
originally posted by: amiradar

Thanks for the info.
Oct 11, 2005 at 5:28 AM
originally posted by: mbpublic

CAB October does work under Beta 2 but you need to make a couple of changes to the source. See Posting under General section for particulars.
Oct 11, 2005 at 5:52 AM
originally posted by: RTA_SPUD

Here are some of the changes we needed make based on our version:

Microsoft Visual C# 2005 55603-000-0000016-00623
Microsoft Visual Web Developer 2005 55603-000-0000016-00623

Instead of:
ConfigurationProperty("...",IsKey = true, IsRequired = true)

change to :
ConfigurationProperty("...", IsCollectionKey = true, RequiredValue = true)

You will also need to comment out the resource generated gloabl tag:

global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "")

Hope this helps ... Your milleage may vary :)
Oct 16, 2005 at 6:26 AM
originally posted by: Yanhua

global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "") exist in Resources.Designer.cs file which exists in project "Properties" directory and belongs to Resources.resx.

When using VS.2005 beta 2 (2.0.50215.44) , right click mouse button on item Resources.resx file, select "Run Cutstom Tool" menu item, VS 2005 will regenerate Resources.Designer.cs file, this file can be compiled OK.
That my experience, hope helpful to the user of VS 2005 beta2,
Nov 12, 2005 at 6:27 AM
originally posted by: nolisj


That sure helped a lot. Thanks!


Now what I'm getting is this:

Warning 71 Load of property 'FxCopInputAssembly' failed. The 'FxCop Input Assembly' must be under the project folder.

And lots of these:

Warning 50 The element 'PropertyGroup' in namespace '' has invalid child element 'CleanDependsOn' in namespace ''. Expected 'Property' in namespace ''. C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 2836 10 Miscellaneous Files

How do you solve these things?

FYI: I'm running with the specs indicated in Yanhua's post.
Nov 14, 2005 at 5:57 PM
originally posted by: Yanhua

Now, I have switch to VS.Net2005 RC, In RC version, Don't need do anyting.

In VS beta2. Running comtom tools on Resources.resx file is helpful for compiling, but still has problem when debuging.
So I must say sorry.
I perfer do global find and replace on the CompositeUI(CS) Solution (please do it in newly installed CAB CTP).

1. replace "IsKey =" to "IsCollectionKey ="
2. replace "IsRequired =" to "RequiredValue ="
3. replace "[global::System.CodeDom.Compiler.GeneratedCodeAttribute" to