logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Ken Morey  
#1 Posted : Friday, March 16, 2018 7:04:56 PM(UTC)
Ken Morey

Rank: Newbie

Groups: Registered
Joined: 3/6/2018(UTC)
Posts: 7
United States
Location: Peoria, IL

I have registered and updated the CenterPoint instance. I am using the TestTransactionPresenter that came with the install. The application has the RedWingSoftware dll references added. I continue to get "Error 8 The type or namespace name 'CenterPoint' does not exist in the namespace 'RedWingSoftware' (are you missing an assembly reference?) C:\Projects\CP_API\Tests.cs 11 23 TestTransactionPresenter". What do I need to do to make this work?
tony  
#2 Posted : Friday, March 16, 2018 7:54:13 PM(UTC)
tony

Rank: Advanced Member

Groups: Registered
Joined: 2/28/2018(UTC)
Posts: 65
United States
Location: Pennsylvani mostly

Was thanked: 9 time(s) in 9 post(s)
I've been checking on this with Aaron as Dick is out today.

Is the error a compile error or a run-time error?

I don't think we install TestTransactionPresenter - I know it's not part of our nightly build. Did Dick send that to you? It could be that your copy of TestTransactionPresenter is old enough that it is not compatible with the version of CenterPoint you have installed.

What version of CenterPoint do you have? If you are on the latest (11.21), are you referencing the assemblies CenterPoint installs in the ReflectedDLLs folder or are you pointing somewhere else?

In the Solution Explorer pane, you can expand the References node to see which references are bad (i.e. which assemblies aren't being found.) If an assembly is not found, the UI will show that it's broken. If a reference is broken, I usually delete it, and then right-click on References, select Add Reference and then browse to find it (any missing assembly should be found under you CenterPoint install folder in the ReflectedDLLs folder.)

References visual aid

When running TestTransactionPresenter it should be in the CenterPoint install folder so it can find all the DLLs it needs. The TestTransactionPresenter app.config has this entry: <probing privatePath="ReflectedDlls"/> which tells it to look in the ReflectedDLLs folder underneath where you are running to find assemblies.

Edited by user Friday, March 16, 2018 7:58:27 PM(UTC)  | Reason: Not specified

Dickm@redwingsoftware.com  
#3 Posted : Monday, March 19, 2018 4:42:02 PM(UTC)
Dickm@redwingsoftware.com

Rank: Newbie

Groups: Registered
Joined: 2/28/2018(UTC)
Posts: 1
Man
United States

I've tested the current version of the TestTransactionPresenter compiled against the customer release version of CenterPoint. I had no errors either in compilation or execution. In a separate email, I will send a compressed file of that solution.

When compiling that solution the following are requirements:
1. Set a reference path in the properties to the folder C:\Program Files (x86)\Red Wing Software\CenterPoint\ReflectedDLLs.
2. The output files need to end up in the folder C:\Program Files (x86)\Red Wing Software\CenterPoint. Either change the output property or copy the exe and config files after compilation.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.