Link to home
Start Free TrialLog in
Avatar of Paulagier
PaulagierFlag for France

asked on

Visual Studio c# namespace error

I am shifting an app from WindowsForm to WPF
No change except the UI.
 The WPF app and the WF app refers to a few .dll  (identical in both cases) coming from the sameVS projects.
Trying to add the same references in the new WPF project than in the "old" WF I've got a compile error coming from a "namespace missing...
Enclosed User generated image is a snapshot  showing  differences that i am unable to understand

VSR.CoachLab.Capture.Commands is part of the VSR.CoachLab.Capture project . It appears in WF and not in the WPF project.

Thanks for the help
Avatar of Najam Uddin
Najam Uddin
Flag of United States of America image

Check the .NEt version of both projects
Avatar of Paulagier

ASKER

Hello Najam
WF is under Net 4.0 and WPF under 4.5.
Downgrading WPF to 4.0 does not change anything, the "name space error" remains the same.
The error comes from a call to a class named ManagementCmds who is an internal static class in the WF project.
Is it possible that, being internal, it can't be used out of the original name space ??
ASKER CERTIFIED SOLUTION
Avatar of Najam Uddin
Najam Uddin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial