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)
342
var
launchSettings = TryGetLaunchProfileSettings(Path.GetDirectoryName(projectFullPath)!, Path.GetFileNameWithoutExtension(projectFullPath), project.GetPropertyValue(ProjectProperties.AppDesignerFolder), buildOptions, profileName: null);
374
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)
99
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
109
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("LaunchProfileName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
119
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
121
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).DotNetRunMessages,
122
Setter = static (obj, value) => __set_ExecutableLaunchProfile_DotNetRunMessages((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
129
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("DotNetRunMessages", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
139
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
141
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).CommandLineArgs,
142
Setter = static (obj, value) => __set_ExecutableLaunchProfile_CommandLineArgs((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
149
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("CommandLineArgs", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
159
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
161
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).EnvironmentVariables,
162
Setter = static (obj, value) => __set_ExecutableLaunchProfile_EnvironmentVariables((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
169
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),
193
writer.WriteBoolean(PropName_dotnetRunMessages, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).DotNetRunMessages);
194
writer.WriteString(PropName_commandLineArgs, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).CommandLineArgs);
196
ImmutableDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).EnvironmentVariables);
218
private static extern void __set_ExecutableLaunchProfile_DotNetRunMessages(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, bool value);
220
private static extern void __set_ExecutableLaunchProfile_CommandLineArgs(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, string value);
222
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)
116
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
126
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("LaunchProfileName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
136
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
138
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).DotNetRunMessages,
139
Setter = static (obj, value) => __set_ProjectLaunchProfile_DotNetRunMessages((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
146
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("DotNetRunMessages", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
156
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
158
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).CommandLineArgs,
159
Setter = static (obj, value) => __set_ProjectLaunchProfile_CommandLineArgs((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
166
AttributeProviderFactory = static () => typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
).GetProperty("CommandLineArgs", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
176
DeclaringType = typeof(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
),
178
Getter = static obj => ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj).EnvironmentVariables,
179
Setter = static (obj, value) => __set_ProjectLaunchProfile_EnvironmentVariables((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)obj, value!),
186
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),
211
writer.WriteBoolean(PropName_dotnetRunMessages, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).DotNetRunMessages);
212
writer.WriteString(PropName_commandLineArgs, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).CommandLineArgs);
214
ImmutableDictionaryStringStringSerializeHandler(writer, ((global::Microsoft.DotNet.ProjectTools.
LaunchProfile
)value).EnvironmentVariables);
226
private static extern void __set_ProjectLaunchProfile_DotNetRunMessages(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, bool value);
228
private static extern void __set_ProjectLaunchProfile_CommandLineArgs(global::Microsoft.DotNet.ProjectTools.
LaunchProfile
obj, string value);
230
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)