Skip to content

Commit 1c9cab6

Browse files
authored
Adds the target framework to the command invocation - master (#2721)
* Adds the target framework to the command invocation - master * Adds the roll forward setting
1 parent a3a4e74 commit 1c9cab6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/CommandLine/NServiceBus.Transports.SQS.CommandLine.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
<GenerateDocumentationFile>false</GenerateDocumentationFile>
7+
<RollForward>Major</RollForward>
78
</PropertyGroup>
89

910
<PropertyGroup>

src/CommandLineTests/CommandLineTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ public async Task Delete_endpoint()
677677
WorkingDirectory = TestContext.CurrentContext.TestDirectory,
678678
FileName = "dotnet",
679679
Arguments =
680-
$"NServiceBus.Transports.SQS.CommandLine.dll {command} -i {accessKeyId} -s {secretAccessKey} -r {region}"
680+
$"--fx-version {Environment.Version} NServiceBus.Transports.SQS.CommandLine.dll {command} -i {accessKeyId} -s {secretAccessKey} -r {region}"
681681
}
682682
};
683683

@@ -1083,4 +1083,4 @@ public async Task TearDown()
10831083
const int VerificationBackoffInterval = 200;
10841084
const int MaximumBackoffInterval = 60000;
10851085
}
1086-
}
1086+
}

0 commit comments

Comments
 (0)