34 references to Write
Microsoft.ML.CodeGenerator (34)
Templates\Console\ModelProject.cs (34)
28
this.
Write
("<Project Sdk=\"Microsoft.NET.Sdk\">\r\n\r\n <PropertyGroup>\r\n <TargetFramework>nets" +
31
this.
Write
(this.ToStringHelper.ToStringWithCulture(StablePackageVersion));
32
this.
Write
("\" />\r\n");
34
this.
Write
(" <PackageReference Include=\"Microsoft.ML.LightGBM\" Version=\"");
35
this.
Write
(this.ToStringHelper.ToStringWithCulture(StablePackageVersion));
36
this.
Write
("\" />\r\n");
39
this.
Write
(" <PackageReference Include=\"Microsoft.ML.Mkl.Components\" Version=\"");
40
this.
Write
(this.ToStringHelper.ToStringWithCulture(StablePackageVersion));
41
this.
Write
("\" />\r\n");
44
this.
Write
(" <PackageReference Include=\"Microsoft.ML.FastTree\" Version=\"");
45
this.
Write
(this.ToStringHelper.ToStringWithCulture(StablePackageVersion));
46
this.
Write
("\" />\r\n");
49
this.
Write
(" <PackageReference Include=\"Microsoft.ML.ImageAnalytics\" Version=\"");
50
this.
Write
(this.ToStringHelper.ToStringWithCulture(StablePackageVersion));
51
this.
Write
("\" />\r\n");
54
this.
Write
(" <PackageReference Include=\"Microsoft.ML.OnnxTransformer\" Version=\"");
55
this.
Write
(this.ToStringHelper.ToStringWithCulture(StablePackageVersion));
56
this.
Write
("\" />\r\n <PackageReference Include=\"Microsoft.ML.OnnxRuntime\" Version=\"");
57
this.
Write
(this.ToStringHelper.ToStringWithCulture(OnnxRuntimePackageVersion));
58
this.
Write
("\" />\r\n");
63
this.
Write
(" <PackageReference Include=\"Microsoft.ML.Vision\" Version=\"");
64
this.
Write
(this.ToStringHelper.ToStringWithCulture(StablePackageVersion));
65
this.
Write
("\" />\r\n\t<PackageReference Include=\"SciSharp.TensorFlow.Redist\" Version=\"1.14.0\" />" +
69
this.
Write
(" <PackageReference Include=\"Microsoft.ML.Recommender\" Version=\"");
70
this.
Write
(this.ToStringHelper.ToStringWithCulture(UnstablePackageVersion));
71
this.
Write
("\" />\r\n");
73
this.
Write
(" </ItemGroup>\r\n\r\n <ItemGroup>\r\n <None Update=\"MLModel.zip\">\r\n <CopyToOu" +
76
this.
Write
(" <None Update=\"bestModel.onnx\">\r\n <CopyToOutputDirectory>PreserveNewest</" +
79
this.
Write
(" </ItemGroup>\r\n\r\n <ItemGroup>\r\n");
81
this.
Write
(" <ProjectCapability Include=\"MLNETCLIGenerated\" />\r\n");
83
this.
Write
(" <ProjectCapability Include=\"ModelBuilderGenerated\" />\r\n");
85
this.
Write
(" </ItemGroup>\r\n</Project>\r\n");
238
this.
Write
(textToAppend);
247
this.
Write
(string.Format(global::System.Globalization.CultureInfo.CurrentCulture, format, args));