question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Underscore in source file name causes BudgetExceededException

See original GitHub issue

From https://github.com/dotnet/try/issues/859#issuecomment-666637355

This works:

'''cs --region source --source-file ./main.package.cs
'''

This does not:

'''cs --region source --source-file ./main_package.cs
'''

Only difference is an underscore in main project file name??!!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ritchiecarrollcommented, Jul 31, 2020

Here’s a sample repo with an example that works and one that fails, both identical save an underscore in the primary .cs file name:

https://github.com/ritchiecarroll/dotnet-try-test

0reactions
ritchiecarrollcommented, Aug 2, 2020

FYI, if you want 100% replicability, follow these steps:

git clone https://github.com/GridProtectionAlliance/go2cs.git
cd go2cs\src\examples\manual tour of go conversions\basics\zero\
dotnet-try --verbose

FYI, to specifically replicate the BudgetExceededException, clear out bin\obj folders and .binlog file then simply use the verify option on the sample:

dotnet-try --verbose verify

You can try a few of these other examples for more tests:

go2cs\src\examples\manual tour of go conversions\basics\named-results\
go2cs\src\examples\manual tour of go conversions\methods\reader\
go2cs\src\examples\manual tour of go conversions\methods\stringer\
go2cs\src\examples\manual tour of go conversions\flowcontrol\defer-multi\
go2cs\src\examples\manual tour of go conversions\concurrency\buffered-channels\
go2cs\src\examples\manual tour of go conversions\concurrency\range-and-close\
Read more comments on GitHub >

github_iconTop Results From Across the Web

Timeline on next release · Issue #859 · dotnet/try - GitHub
App 3.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] ... Underscore in source file name causes BudgetExceededException #869.
Read more >
Using underscore in file names? - linux - Super User
I believe vim considers two words seperated by hyphen as a single word, so this could be a reason to use underscores in...
Read more >
Why put in front of the file name "_" or "_" in scss/css?
The _ (underscore) is a partial for scss. That means the stylesheet its going to be imported (@import) to a main stylesheet i.e....
Read more >
Best Practices for File Naming - Records Express
A best practice is to replace spaces in file names with an underline (_) or hyphen (-). Appendix B of NARA Bulletin 2015-04...
Read more >
Why has my filename changed? - Microsoft Support
When saving files to your personal OneDrive, certain characters are automatically renamed by Office apps, including Word, Excel and PowerPoint.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found