Paulagier
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 is a snapshot showing differences that i am unable to understand
VSR.CoachLab.Capture.Comma nds is part of the VSR.CoachLab.Capture project . It appears in WF and not in the WPF project.
Thanks for the help
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 is a snapshot showing differences that i am unable to understand
VSR.CoachLab.Capture.Comma
Thanks for the help
Check the .NEt version of both projects
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.
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.
ASKER
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 ??
Is it possible that, being internal, it can't be used out of the original name space ??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.