Getting CS0017 error code

Experiences, small talk, and other automation gossip.
vishni
Posts: 5
Joined: Wed May 26, 2021 11:51 pm

Getting CS0017 error code

Post by vishni » Tue Jun 08, 2021 5:24 am

Hi,

I created 3 projects
ProjectA
- Generic_Functions (Folder)
- usercode.cs

ProjectB
- Generic_Functions
- usercode1.cs

ProjectC (Added Project A and Project B as reference) when building this project I get an error
<ProjectA> does not contain a definition for 'Generic_Functions' (CS0117)

I read its when there is conflicts. Do I need to rename Generic_Functions in one of the project ? Also when I tried renaming ProjectC is still referring to old folder name.

I changed Generic_Functions in ProjectB to Utilitiles and built. However Is see Project C does not get the updated changes.
Can someone help me with this issue ?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6781
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Getting CS0017 error code

Post by odklizec » Wed Jun 30, 2021 7:08 am

Hi,

Have you solved this problem? It sounds a little bit confusing. If you are still looking for a solution, please post your test suite (zipped) so we can examine it. Thanks.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration