November Happy Hour will be moved to Thursday December 5th.

CS1519: Invalid token ',' in class, struct, or interface member declaration

Vote:
 

Hi 

Has anybody come across this error recently?

We are trying to make a new Episerver project and when we run the solution we get this error. 

We have checked all the DLLs, they are in BIN folder and we have checked all the assembly references in web.config and in package.config.

We are using VS2019 with intergrated IIS and database.

We are using all the latest Epi packages.

#210424
Nov 22, 2019 16:41
Vote:
 

I had this problem recently and solved it by setting my csproj file to compile to `bin` instead of `bin/Debug` or `bin/Release`.  Not sure why it was required or worked one way over the other.

#210431
Nov 22, 2019 20:58
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.