Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem renaming script file in mono #33729

Closed
Torguen opened this issue Nov 19, 2019 · 1 comment
Closed

Problem renaming script file in mono #33729

Torguen opened this issue Nov 19, 2019 · 1 comment
Labels

Comments

@Torguen
Copy link

Torguen commented Nov 19, 2019

Godot version:
3.2 beta 1 mono

OS/device including version:
Win10 64 Home

Issue description:
Creating a new script that is not associated with any node and then renaming it from the godot editor will make the script no longer recognized.
A compilation error will be created indicating the following:

The source file was not found "and in these quotes the path to the script"

Adapting the class name to the new name of the script file will not solve the problem.

The problem is that the file "testScript.csproj" did not update the name of the script.

Steps to reproduce:

1 - Create a new script that is not associated with any node.

3

4

2 - I changed the name.

5

2 - Script file with new name

7

4 - Try to compile and the error will occur.

6

Minimal reproduction project:
Any empty project will be enough.

@Torguen Torguen changed the title Problem renamig script file in mono Problem renaming script file in mono Nov 19, 2019
@aaronfranke
Copy link
Member

Duplicate of #12917

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants