StrataFrame Forum

Problem Running Sample Application

http://forum.strataframe.net/Topic10.aspx

By Scott - 11/20/2005

Error 1 The item "obj\Debug\StrataFrameSample.OrderItemEntry.resources" was specified more than once in the "Resources" parameter.  Duplicate items are not supported by the "Resources" parameter. StrataFrameSample
By StrataFrame Team - 11/21/2005

Did it give you that error when you build the project?
By StrataFrame Team - 11/21/2005

Have you tried cleaning the project and rebuilding it? If you cannot see the 'Clean' option under the 'Build' menu (Microsoft decided to remove it by default in the release version for some reason), you'll have to right-click somewhere on the toolbars and select 'Customize' down at the bottom of the context menu. Select 'Build' from the categories and then drag the 'Clean Solution' option from the 'Commands' list to somewhere on the menu bar. Then you can use that command to clean your solution and try to rebuild it.
By StrataFrame Team - 11/21/2005

Scott,



Ok, I found a solution...



1) From the 'Solution Explorer' in Visual Studio, click the 'Show All Files' button at the top.

2) Expand the 'OrderItemEntry.vb' project item.

3) Delete the 'OrderItemEntry.xh-ZA.resx' file from the list.

4) Rebuild the project.



For some reason, your computer's configuration does not allow you to have multiple "culture" resources per form, and for some reason, my computer created an extra resource when it created the form.



That should fix it Smile



The file will be removed from future versions of the sample.
By Scott - 11/21/2005

That worked.  Thanks.  I can now compile the sample app.