You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* this doesn't work
* this finally works now
* default should be oop host
* added edge cases
* fixing formatting
* using determineTargetFramework
* saving tests
* adding copy step for OOP
* fixing the webhost reference
* removing test
* setting host version in ps script
* update to validate worker versions script
* update versions for worker packages
* adding ToString
* validating worker version
* validate worker versions
* updating csproj to compile
* addressing pr feedback
* updating build steps
* adding build step
* fixing build step
* trying to get this working
* reverrting target runtimes
* updating tests
* adding dotnet info step
* adding changes
* removing extra test
* trying to specify architecture
* modifying tests to see if they work
* narrowing down to tests that are failing
* trying to see if it works with nobuild flag
* addressing pr feedback
* updating tests with latest logging
* addressing comments and marking flaky tests
* updating so that we are only using net8 framework
* pushing change for branch build
* adding single quotes
* reverting quotes
* adding code mirror fiile
* updating build step
* updatinng build steps
* updating build step
* adding step for dotnet publish
* set inprochost compilation system to diff value and skip flaky test
* updating public build pipeline to trigger
* adding extra changes for pipeline
* public build yml
* updating official build
* readd net8 build artifact step
* readding space back
* addressing initial comments
* adding explicit openTelemetry dlls
* simplifying logic of startHostAction
* addressing PR feedback
* start tests
* changing some of the tests back
* reverting test back to normal
* fixing spacing for csproj
* addressing PR feedback
* adding extra variable
* adding logic for edge case scenarios
* added edge cases tests
* removing extra line in node
* addressing comments
* moving validate host runtime to its own method
* forgot to add return statement
.WithDescription($"If provided, determines which version of the host to start. Allowed values are '{DotnetConstants.InProc6HostRuntime}', '{DotnetConstants.InProc8HostRuntime}', and 'default' (which runs the out-of-process host).")
// If we are running an .NET isolated app and the user specifies inproc6 or inproc8, throw an error
533
+
if(isOutOfProc&&(isInProc8||isInProc6))
534
+
{
535
+
thrownewCliException($"The runtime host value passed in, {HostRuntime}, is not a valid host version for your project. The host runtime is only valid for the worker runtime {WorkerRuntime.dotnet}");
536
+
}
537
+
// If we are not running a .NET app and the user specifies inproc6 or inproc8, throw an error
thrownewCliException($"The runtime host value passed in, {HostRuntime}, is not a valid host version for your project. The runtime is only valid for {WorkerRuntime.dotnetIsolated} and {WorkerRuntime.dotnet}");
thrownewCliException($"The runtime host value passed in, default, is not a valid host version for your project. For the default host runtime, the worker runtime must be set to {WorkerRuntime.dotnetIsolated}.");
thrownewCliException($"The runtime host value passed in, {DotnetConstants.InProc8HostRuntime}, is not a valid host version for your project. For the {DotnetConstants.InProc8HostRuntime} runtime, the {Constants.FunctionsInProcNet8Enabled} variable must be set while running a .NET 8 in-proc app.");
thrownewCliException($"The runtime host value passed in, {DotnetConstants.InProc6HostRuntime}, is not a valid host version for your project. For the {DotnetConstants.InProc6HostRuntime} runtime, the {Constants.FunctionsInProcNet8Enabled} variable must not be set while running a .NET 6 in-proc app.");
ColoredConsole.WriteLine(VerboseColor($"Starting child process for in-process model host."));
594
+
ColoredConsole.WriteLine(VerboseColor($"Starting child process for {(shouldStartNet8ChildProcess?DotnetConstants.InProc8HostRuntime:DotnetConstants.InProc6HostRuntime)} model host."));
thrownewCliException($"Failed to start the in-process model host. {ex.Message}");
648
+
thrownewCliException($"Failed to start the {(shouldStartNet8ChildProcess?DotnetConstants.InProc8HostRuntime:DotnetConstants.InProc6HostRuntime)} model host. {ex.Message}");
thrownewCliException($"Failed to locate the in-process model host at {inProc8FuncExecutablePath}");
662
+
thrownewCliException($"Failed to locate the {(isInProcNet8?DotnetConstants.InProc8HostRuntime:DotnetConstants.InProc6HostRuntime)}model host at {funcExecutablePath}");
0 commit comments