renamed some files and structure
This commit is contained in:
@@ -39,7 +39,7 @@ internal static class EditorProject
|
||||
ProjectFilePath = path;
|
||||
ProjectPath = Path.GetDirectoryName(path);
|
||||
|
||||
string projectSolutionFilePath = Path.Combine(ProjectPath, Project.Name + ".sln");
|
||||
string projectSolutionFilePath = Path.Combine(ProjectPath, Project.Name + Compiler.Generator.SolutionExtensionName);
|
||||
if (File.Exists(projectSolutionFilePath))
|
||||
{
|
||||
ProjectSolutionFilePath = projectSolutionFilePath;
|
||||
@@ -90,7 +90,7 @@ internal static class EditorProject
|
||||
return;
|
||||
}
|
||||
|
||||
Nerfed.Compiler.Compiler.GenerateSolution(ProjectPath, Project, out string solutionFilePath);
|
||||
Nerfed.Compiler.Generator.GenerateSolution(ProjectPath, Project, out string solutionFilePath);
|
||||
ProjectSolutionFilePath = solutionFilePath;
|
||||
}
|
||||
|
||||
@@ -119,10 +119,10 @@ internal static class EditorProject
|
||||
}
|
||||
|
||||
// Test create csproject.
|
||||
string gameplayRuntimePath = Path.Combine(scriptsRuntimePath, ".csproject");
|
||||
string gameplayRuntimePath = Path.Combine(scriptsRuntimePath, Compiler.Generator.AssemblyDefinitionExtensionName);
|
||||
if (!File.Exists(gameplayRuntimePath))
|
||||
{
|
||||
Compiler.CSProject.Create(gameplayRuntimePath, "Gameplay", out Compiler.CSProject project);
|
||||
Compiler.AssemblyDefinition.Create(gameplayRuntimePath, "Gameplay", out Compiler.AssemblyDefinition project);
|
||||
}
|
||||
|
||||
string tempPath = Path.Combine(ProjectPath, "Temp");
|
||||
|
||||
Reference in New Issue
Block a user