Skip to content

Commit 7c8aeb9

Browse files
committed
[Fix] .targets file path output
1 parent 9c855c6 commit 7c8aeb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
public class Program
88
{
9-
static string OutputPath = string.Join('\\', AppDomain.CurrentDomain.SetupInformation.ApplicationBase!.Split("\\").SkipLast(1));
9+
static string OutputPath = string.Join('\\', AppDomain.CurrentDomain.SetupInformation.ApplicationBase!.Split("\\").SkipLast(2));
1010

1111
public static void Main(string[] args) {
1212
Console.WriteLine("Welcome to the RL2.ModLoader.DevSetup");
@@ -24,7 +24,7 @@ public static void Main(string[] args) {
2424
return;
2525
}
2626

27-
File.WriteAllText(OutputPath + "RL2.ModLoader.targets", $"""
27+
File.WriteAllText(OutputPath + "\\RL2.ModLoader.targets", $"""
2828
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2929
<!-- MSBuild variables -->
3030
<PropertyGroup>

0 commit comments

Comments
 (0)