-
Notifications
You must be signed in to change notification settings - Fork 556
Closed
Labels
Description
Describe the bug
Create a unit test project. Add code blocks for the test and the code under test using the same session.
Run this and it works.
Mark the test code as --editable false and run it again. The code doesn't run and gives an error about duplicate code.
There is a reproduction at github.com/jimbobbennett/TryDotNetUnitTests-ErrorWithReadonly. Run this code with dotnet try and you will see the error. Remove --editable false from README.MD and relaunch dotnet try and it all works.
Did this error occur while using dotnet try or online?
-
dotnet-try - online
What kind of error was it?
- User Interface (UI): For example the output never displayed
- Service Error: For example "The service is temporarily unavailable. We are working on it"
- Other:
Screenshots
Please complete the following:
- OS
- Windows 10
- macOS
- Linux (Please specify distro)
- iOS
- Android
- Browser
- Chrome
- Edge
- Safari
