Skip to content

fix (typo?): error CS1061 function in class not found#2261

Merged
JoshClose merged 1 commit into
JoshClose:masterfrom
RobTranquillo:patch-1
Jun 1, 2025
Merged

fix (typo?): error CS1061 function in class not found#2261
JoshClose merged 1 commit into
JoshClose:masterfrom
RobTranquillo:patch-1

Conversation

@RobTranquillo
Copy link
Copy Markdown
Contributor

There is no function RegisterClassMap in the class Context so I searched for and find that it must be called "Configuration".

The full error message in Unity:
error CS1061: 'ReadingContext' does not contain a definition for 'RegisterClassMap' and no accessible extension method 'RegisterClassMap' accepting a first argument of type 'ReadingContext' could be found.

… 'RegisterClassMap' and no accessible extension method 'RegisterClassMap'

There is no function in the class Context so i searched for and find that it must be called "Configuration".

The full error message in Unity: 
error CS1061: 'ReadingContext' does not contain a definition for 'RegisterClassMap' and no accessible extension method 'RegisterClassMap' accepting a first argument of type 'ReadingContext' could be found.
@JoshClose
Copy link
Copy Markdown
Owner

In the future, make docs changes to the CsvHelper.WebSite project instead of the generated files.

@JoshClose JoshClose merged commit deb5ccf into JoshClose:master Jun 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants