mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-11-04 21:01:48 +00:00
Updated Template for new dotnet runtime
- Added Submodule 'Xml-Beef' - Use .slnx as solution-file - Automatically set correct path to ScriptCore in Project files
This commit is contained in:
@@ -19,7 +19,7 @@ class RiderIdeAdapter : IIdeAdapter
|
||||
public static void OpenScript(StringView fileName, int lineNumber)
|
||||
{
|
||||
String solutionPath = scope .();
|
||||
Editor.Instance.CurrentProject.PathInProject(solutionPath, scope $"{Editor.Instance.CurrentProject.Name}.sln");
|
||||
Editor.Instance.CurrentProject.GetPathToScriptSolutionFile(solutionPath);
|
||||
|
||||
ProcessStartInfo startInfo = scope .();
|
||||
startInfo.SetFileName(Application.Instance.Settings.ScriptSettings.RiderPath);
|
||||
@@ -31,7 +31,7 @@ class RiderIdeAdapter : IIdeAdapter
|
||||
public static void OpenScriptProject()
|
||||
{
|
||||
String solutionPath = scope .();
|
||||
Editor.Instance.CurrentProject.PathInProject(solutionPath, scope $"{Editor.Instance.CurrentProject.Name}.sln");
|
||||
Editor.Instance.CurrentProject.GetPathToScriptSolutionFile(solutionPath);
|
||||
|
||||
if (!File.Exists(solutionPath))
|
||||
{
|
||||
|
||||
@@ -54,7 +54,7 @@ class VisualStudioIdeAdapter : IIdeAdapter
|
||||
public static void OpenScriptProject()
|
||||
{
|
||||
String solutionPath = scope .();
|
||||
Editor.Instance.CurrentProject.PathInProject(solutionPath, scope $"{Editor.Instance.CurrentProject.Name}.sln");
|
||||
Editor.Instance.CurrentProject.GetPathToScriptSolutionFile(solutionPath);
|
||||
|
||||
ProcessStartInfo psi = scope .();
|
||||
psi.SetFileName("devenv");
|
||||
|
||||
Reference in New Issue
Block a user