Error CS2021

Answered
0
0

I realized this may be outside the scope of WiseJ, but has anyone had issues with this error, and how did they solve it? I’m not finding much help online.

This happens when I try to publish the application to the server via http://FTP.  It runs fine locally.  And I can’t see any files that would cause it to exceed the character limit in the path.

Thanks,

Andrew

 

Severity Code Description Project File Line Suppression State
Error CS2021 File name ‘C:\dev\fixity\FixityVB\bin\’ is empty, contains invalid characters, has a drive specification without an absolute path, or is too long FixityVB C:\dev\fixity\FixityVB\CSC 1 Active

 

Update:  This seems to only happen under the ‘Release’ configuration.  If I try to run the app under Release, I get the same error.

  • You must to post comments
Good Answer
1
0

The problem was the “XML Documentation” checkbox under project settings.  It had a different, incorrect value for the ‘Release’ configuration.   Unchecking the box and checking it again allowed the build to proceed.  Thank you!

  • You must to post comments
0
0

Hi Andrew,
Which files are you copying from bin?
If you send a picture of the bin directory it might shed more light on the issue.
Best,
Levie

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.