2 types derived from LaunchProfile
Microsoft.DotNet.ProjectTools (2)
LaunchSettings\ExecutableLaunchProfile.cs (1)
8
internal sealed class ExecutableLaunchProfile :
LaunchProfile
LaunchSettings\ProjectLaunchProfile.cs (1)
8
internal sealed class ProjectLaunchProfile :
LaunchProfile
52 references to LaunchProfile
dotnet (9)
Commands\Run\RunCommand.cs (5)
237
internal ICommand GetTargetCommand(
LaunchProfile
? launchSettings, Func<ProjectCollection, ProjectInstance>? projectFactory, RunProperties? cachedRunProperties, FacadeLogger? logger)
413
private void SetEnvironmentVariables(ICommand command,
LaunchProfile
? launchSettings)
1035
LaunchProfile
? launchSettings,
1063
LaunchProfile
? launchSettings,
1103
private void SendProjectBasedTelemetry(
LaunchProfile
? launchSettings)
Commands\Run\RunTelemetry.cs (1)
39
LaunchProfile
? launchSettings = null,
Commands\Test\MTP\Models.cs (1)
114
internal sealed record TestModule(RunProperties RunProperties, string? ProjectFullPath, string? TargetFramework, bool IsTestingPlatformApplication,
LaunchProfile
? LaunchSettings, string TargetPath, string? DotnetRootArchVariableName);
Commands\Test\MTP\SolutionAndProjectUtility.cs (2)
486
var
launchSettings = TryGetLaunchProfileSettings(Path.GetDirectoryName(projectFullPath)!, Path.GetFileNameWithoutExtension(projectFullPath), project.GetPropertyValue(ProjectProperties.AppDesignerFolder), buildOptions, profileName: null);
518
private static
LaunchProfile
? TryGetLaunchProfileSettings(string projectDirectory, string projectNameWithoutExtension, string appDesignerFolder, BuildOptions buildOptions, string? profileName)
Microsoft.DotNet.ProjectTools (43)
_generated\1\LaunchProfileJsonSerializerContext.ExecutableLaunchProfile.g.cs (20)
101
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
111
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("LaunchProfileName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
121
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
123
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).DotNetRunMessages,
124
Setter = static (obj, value) => __set_ExecutableLaunchProfile_DotNetRunMessages((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
131
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("DotNetRunMessages", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
141
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
143
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).CommandLineArgs,
144
Setter = static (obj, value) => __set_ExecutableLaunchProfile_CommandLineArgs((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
151
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("CommandLineArgs", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
161
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
163
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).EnvironmentVariables,
164
Setter = static (obj, value) => __set_ExecutableLaunchProfile_EnvironmentVariables((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
171
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Immutable.ImmutableDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null),
195
writer.WriteBoolean(PropName_dotnetRunMessages, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).DotNetRunMessages);
196
writer.WriteString(PropName_commandLineArgs, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).CommandLineArgs);
198
ImmutableDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).EnvironmentVariables);
220
private static extern void __set_ExecutableLaunchProfile_DotNetRunMessages(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, bool value);
222
private static extern void __set_ExecutableLaunchProfile_CommandLineArgs(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, string value);
224
private static extern void __set_ExecutableLaunchProfile_EnvironmentVariables(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, global::System.Collections.Immutable.ImmutableDictionary<string, string> value);
_generated\2\LaunchProfileJsonSerializerContext.ProjectLaunchProfile.g.cs (20)
118
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
128
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("LaunchProfileName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
138
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
140
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).DotNetRunMessages,
141
Setter = static (obj, value) => __set_ProjectLaunchProfile_DotNetRunMessages((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
148
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("DotNetRunMessages", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
158
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
160
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).CommandLineArgs,
161
Setter = static (obj, value) => __set_ProjectLaunchProfile_CommandLineArgs((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
168
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("CommandLineArgs", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
178
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
180
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).EnvironmentVariables,
181
Setter = static (obj, value) => __set_ProjectLaunchProfile_EnvironmentVariables((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
188
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Immutable.ImmutableDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null),
213
writer.WriteBoolean(PropName_dotnetRunMessages, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).DotNetRunMessages);
214
writer.WriteString(PropName_commandLineArgs, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).CommandLineArgs);
216
ImmutableDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).EnvironmentVariables);
228
private static extern void __set_ProjectLaunchProfile_DotNetRunMessages(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, bool value);
230
private static extern void __set_ProjectLaunchProfile_CommandLineArgs(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, string value);
232
private static extern void __set_ProjectLaunchProfile_EnvironmentVariables(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, global::System.Collections.Immutable.ImmutableDictionary<string, string> value);
LaunchSettings\LaunchProfileParseResult.cs (3)
12
public
LaunchProfile
? Profile { get; }
14
private LaunchProfileParseResult(string? failureReason,
LaunchProfile
? profile)
27
public static LaunchProfileParseResult Success(
LaunchProfile
? model)