1 write to Version
dotnet-svcutil-lib (1)
Shared\ProjectDependency.cs (1)
147this.Version = packageVersion;
9 references to Version
dotnet-svcutil-lib (5)
Shared\MSBuildProj.cs (3)
544this.PacakgeReferenceGroup.Add(new XElement("PackageReference", new XAttribute("Include", dependency.Name), new XAttribute("Version", dependency.Version))); 547this.ReferenceGroup.Add(new XElement("DotNetCliToolReference", new XAttribute("Include", dependency.Name), new XAttribute("Version", dependency.Version))); 568basePath = $"$(NuGetPackageRoot){dependency.Name}\\{dependency.Version}";
Shared\ProjectDependency.cs (2)
155string.Format(CultureInfo.InvariantCulture, "{0}, {{{1}, {2}}}", this.AssemblyName, this.Name, this.Version) : 413return new ProjectDependency(this.FullPath, this.Name, this.Version, this.DependencyType);
dotnet-svcutil-lib.Tests (4)
MSBuildProjTests.cs (4)
45Assert.Contains(build.Dependencies, x => x.Name == "xunit" && x.Version == "2.4.1"); 65Assert.Contains(build.Dependencies, x => x.Name == "xunit" && x.Version == "2.4.1"); 84Assert.Contains(build.Dependencies, x => x.Name == "xunit" && x.Version == "2.4.1"); 104Assert.Contains(build.Dependencies, x => x.Name == "xunit" && x.Version == "2.4.1");