Exemple #1
0
        public static void Compile(string assemblyFileName, int verbosity = 0, bool keep = false, bool optimize    = false,
                                   string dependencyPaths = null, string referencePath   = null, bool outputCSharp = false)
        {
            var xamlc = new XamlCTask
            {
                Assembly                = assemblyFileName,
                Verbosity               = verbosity,
                KeepXamlResources       = keep,
                OptimizeIL              = optimize,
                InMsBuild               = false,
                DependencyPaths         = dependencyPaths,
                ReferencePath           = referencePath,
                OutputGeneratedILAsCode = outputCSharp
            };

            xamlc.Compile();
        }
Exemple #2
0
		public static void Compile(string assemblyFileName, int verbosity = 0, bool keep = false, bool optimize = false,
			string dependencyPaths = null, string referencePath = null, bool outputCSharp = false)
		{
			var xamlc = new XamlCTask
			{
				Assembly = assemblyFileName,
				Verbosity = verbosity,
				KeepXamlResources = keep,
				OptimizeIL = optimize,
				InMsBuild = false,
				DependencyPaths = dependencyPaths,
				ReferencePath = referencePath,
				OutputGeneratedILAsCode = outputCSharp
			};
			xamlc.Compile();
		}