21 references to FullPath
dotnet-svcutil-lib (10)
CommandProcessorOptions.cs (5)
328
var projectFile = this.Project?.
FullPath
;
509
throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.
FullPath
));
517
throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrMoreThanOneUpdateParamsFilesFoundFormat, this.Project.
FullPath
, Switches.Update.Name, svcRefNames));
531
throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrServiceReferenceNotFoundUnderProjectFormat, this.UpdateServiceReferenceFolder, this.Project.
FullPath
));
539
throw new ToolArgumentException(string.Format(CultureInfo.CurrentCulture, SR.ErrNoUpdateParamsFileFoundFormat, this.Project.
FullPath
));
Shared\MSBuildProj.cs (4)
693
using (await SafeLogger.WriteStartOperationAsync(logger, $"Saving project file: \"{this.
FullPath
}\"").ConfigureAwait(false))
701
using (StreamWriter writer = File.CreateText(this.
FullPath
))
976
propertyTable = await _propertyResolver.EvaluateProjectPropertiesAsync(this.
FullPath
, this.TargetFramework, propertyNames, this.GlobalProperties, logger, cancellationToken).ConfigureAwait(false);
1020
return this.
FullPath
;
Shared\Options\OptionValueParser.cs (1)
122
value = proj.
FullPath
.Replace("\\", "/");
dotnet-svcutil-lib.Tests (11)
ProjectUtils.cs (5)
87
Assert.True(File.Exists(project?.
FullPath
), $"{nameof(project)} is not initialized!");
100
string srcPath = project.
FullPath
.Replace("csproj", "cs");
142
using (var sr2 = new StreamReader(project.
FullPath
))
149
using (var sw2 = new StreamWriter(project.
FullPath
))
175
Assert.True(File.Exists(project?.
FullPath
), $"{nameof(project)} is not initialized!");
TestInit.cs (3)
115
File.Copy(project.
FullPath
, projectPath);
167
Assert.True(File.Exists(g_StarterProject.
FullPath
), $"{nameof(g_StarterProject)} is not initialized!");
528
WriteLog("Test project: " + this_TestCaseProject?.
FullPath
);
UnitTest.cs (3)
240
.Replace("$projectPath$", this_TestCaseProject.
FullPath
)
332
File.WriteAllText(jsonFileDstPath, File.ReadAllText(jsonFileDstPath).Replace("$testCaseProject$", this_TestCaseProject.
FullPath
.Replace("\\", "/")));
349
var optionsJson = options.Json.Replace(this_TestCaseProject.
FullPath
.Replace("\\", "/"), "$testCaseProject$");