Updated build.
This commit is contained in:
parent
55b697a142
commit
77dd7e40eb
21
Razor.sln
21
Razor.sln
|
|
@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.21005.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNet.Razor", "src\Microsoft.AspNet.Razor\Microsoft.AspNet.Razor.csproj", "{E75D8296-3BA6-4E67-AFEB-90FF77460B15}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{3C0D6505-79B3-49D0-B4C3-176F0F1836ED}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{92463391-81BE-462B-AC3C-78C6C760741F}"
|
||||
|
|
@ -13,16 +11,16 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNet.Razor.Test
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.TestCommon", "test\Microsoft.TestCommon\Microsoft.TestCommon.csproj", "{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNet.Razor.net45", "src\Microsoft.AspNet.Razor\Microsoft.AspNet.Razor.net45.csproj", "{8B129FF9-0B8F-4E0C-8DFC-0137D8550FB7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNet.Razor.k10", "src\Microsoft.AspNet.Razor\Microsoft.AspNet.Razor.k10.csproj", "{F5A44105-08E2-4602-8231-DAFDDC9A146E}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E75D8296-3BA6-4E67-AFEB-90FF77460B15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E75D8296-3BA6-4E67-AFEB-90FF77460B15}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E75D8296-3BA6-4E67-AFEB-90FF77460B15}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E75D8296-3BA6-4E67-AFEB-90FF77460B15}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0BB62A1D-E6B5-49FA-9E3C-6AF679A66DFE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0BB62A1D-E6B5-49FA-9E3C-6AF679A66DFE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0BB62A1D-E6B5-49FA-9E3C-6AF679A66DFE}.Release|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
|
|
@ -31,12 +29,21 @@ Global
|
|||
{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}.Release|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}.Release|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8B129FF9-0B8F-4E0C-8DFC-0137D8550FB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8B129FF9-0B8F-4E0C-8DFC-0137D8550FB7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8B129FF9-0B8F-4E0C-8DFC-0137D8550FB7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8B129FF9-0B8F-4E0C-8DFC-0137D8550FB7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F5A44105-08E2-4602-8231-DAFDDC9A146E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F5A44105-08E2-4602-8231-DAFDDC9A146E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F5A44105-08E2-4602-8231-DAFDDC9A146E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F5A44105-08E2-4602-8231-DAFDDC9A146E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{E75D8296-3BA6-4E67-AFEB-90FF77460B15} = {3C0D6505-79B3-49D0-B4C3-176F0F1836ED}
|
||||
{8B129FF9-0B8F-4E0C-8DFC-0137D8550FB7} = {3C0D6505-79B3-49D0-B4C3-176F0F1836ED}
|
||||
{F5A44105-08E2-4602-8231-DAFDDC9A146E} = {3C0D6505-79B3-49D0-B4C3-176F0F1836ED}
|
||||
{0BB62A1D-E6B5-49FA-9E3C-6AF679A66DFE} = {92463391-81BE-462B-AC3C-78C6C760741F}
|
||||
{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0} = {92463391-81BE-462B-AC3C-78C6C760741F}
|
||||
EndGlobalSection
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
|
||||
|
||||
default gitBranch=''
|
||||
|
||||
var gitCommand='clone ${gitUri}'
|
||||
set gitCommand='${gitCommand} --branch ${gitBranch}' if='!string.IsNullOrEmpty(gitBranch)'
|
||||
|
||||
git
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
default gitBranch=''
|
||||
|
||||
var gitCommand='pull ${gitUri}'
|
||||
set gitCommand='${gitCommand} ${gitBranch}' if='!string.IsNullOrEmpty(gitBranch)'
|
||||
|
||||
git
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
default gitFolder=''
|
||||
|
||||
exec program='git' commandline='${gitCommand}' workingdir='${gitFolder}'
|
||||
|
||||
|
|
@ -0,0 +1,330 @@
|
|||
use namespace="System"
|
||||
use namespace="System.Collections.Generic"
|
||||
use namespace="System.IO"
|
||||
use namespace="System.Linq"
|
||||
use namespace="System.Reflection"
|
||||
use namespace="System.Text"
|
||||
use namespace="System.Web.Script.Serialization"
|
||||
use namespace="System.Xml.Linq"
|
||||
|
||||
use assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
||||
|
||||
@{/*
|
||||
|
||||
k-generate-projects
|
||||
Generate csproj files from project.json
|
||||
|
||||
solutionPath=''
|
||||
Required. Path to the solution directory
|
||||
|
||||
*/}
|
||||
|
||||
content var='net45' include href='net45.txt'
|
||||
content var='k10' include href='k10.txt'
|
||||
|
||||
@{
|
||||
ProjectGenerator.Logger = Log;
|
||||
|
||||
var templates = new Dictionary<string, string> {
|
||||
{ "net45", net45 },
|
||||
{ "k10", k10 }
|
||||
};
|
||||
|
||||
ProjectGenerator.MakeProjects(solutionPath, templates);
|
||||
}
|
||||
|
||||
functions
|
||||
@{
|
||||
class ProjectGenerator
|
||||
{
|
||||
public static Sake.Engine.Logging.ILog Logger { get; set; }
|
||||
|
||||
static void Log(string message, params object[] args)
|
||||
{
|
||||
Logger.Info(String.Format(message, args));
|
||||
}
|
||||
|
||||
static void Warn(string message, params object[] args)
|
||||
{
|
||||
Logger.Warn(String.Format(message, args));
|
||||
}
|
||||
|
||||
public static void MakeProjects(string solutionPath, IDictionary<string, string> templates)
|
||||
{
|
||||
var jsonFiles = GetJsonFiles(solutionPath);
|
||||
var projectMapping = GetProjectMapping(solutionPath, jsonFiles);
|
||||
|
||||
Log("Found {0} projects", jsonFiles.Length);
|
||||
|
||||
foreach (var p in jsonFiles)
|
||||
{
|
||||
Log(p);
|
||||
}
|
||||
|
||||
foreach (var path in jsonFiles)
|
||||
{
|
||||
ProduceProjectFilesForProject(path, projectMapping, templates);
|
||||
}
|
||||
}
|
||||
|
||||
private static string[] GetJsonFiles(string solutionPath)
|
||||
{
|
||||
Func<string, string[]> getFiles = dir =>
|
||||
{
|
||||
string path = Path.Combine(solutionPath, dir);
|
||||
|
||||
if (!Directory.Exists(path))
|
||||
{
|
||||
return new string[0];
|
||||
}
|
||||
|
||||
return Directory.GetFiles(path, "project.json", SearchOption.AllDirectories);
|
||||
};
|
||||
|
||||
return getFiles("src").Concat(getFiles("samples"))
|
||||
.Concat(getFiles("test"))
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
private static IDictionary<string, object> GetProjectMapping(string solutionPath, string[] jsonFiles)
|
||||
{
|
||||
var dict = new Dictionary<string, object>();
|
||||
|
||||
foreach (var path in jsonFiles)
|
||||
{
|
||||
string projectDir = Path.GetDirectoryName(path);
|
||||
string projectName = projectDir.Substring(Path.GetDirectoryName(projectDir).Length).Trim(Path.DirectorySeparatorChar);
|
||||
|
||||
// {
|
||||
// "p1" : { "net45" : "id", "k10" : "pid1", path: "src\p1" },
|
||||
// "p2" : { "net45" : "id", "k10" : "pid2", path: "src\p2" }
|
||||
// }
|
||||
//
|
||||
|
||||
string net45Project = Path.Combine(projectDir, GetProjectFileName(projectName, "net45"));
|
||||
string k10Project = Path.Combine(projectDir, GetProjectFileName(projectName, "k10"));
|
||||
|
||||
var configs = new Dictionary<string, object>();
|
||||
configs["net45"] = GetProjectGuidFromFileOrCreateNew(net45Project);
|
||||
configs["k10"] = GetProjectGuidFromFileOrCreateNew(k10Project);
|
||||
configs["path"] = Path.GetDirectoryName(path.Substring(solutionPath.Length).TrimStart(Path.DirectorySeparatorChar));
|
||||
|
||||
dict[projectName] = configs;
|
||||
}
|
||||
|
||||
return dict;
|
||||
}
|
||||
|
||||
private static string GetProjectGuidFromFileOrCreateNew(string projectPath)
|
||||
{
|
||||
if (!File.Exists(projectPath))
|
||||
{
|
||||
return Guid.NewGuid().ToString().ToUpper();
|
||||
}
|
||||
|
||||
var projectGuid = XDocument.Parse(File.ReadAllText(projectPath))
|
||||
.Descendants()
|
||||
.FirstOrDefault(e => e.Name.LocalName.Equals("ProjectGuid"));
|
||||
|
||||
if (projectGuid == null)
|
||||
{
|
||||
return Guid.NewGuid().ToString();
|
||||
}
|
||||
|
||||
return projectGuid.Value.Trim((char)'{', (char)'}');
|
||||
}
|
||||
|
||||
private static void ProduceProjectFilesForProject(string jsonPath,
|
||||
IDictionary<string, object> projectMapping,
|
||||
IDictionary<string, string> templates)
|
||||
{
|
||||
var serializer = new JavaScriptSerializer();
|
||||
|
||||
string projectDir = Path.GetDirectoryName(jsonPath);
|
||||
string projectName = projectDir.Substring(Path.GetDirectoryName(projectDir).Length).Trim(Path.DirectorySeparatorChar);
|
||||
|
||||
Log("Generated projects for {0}", projectName);
|
||||
|
||||
var jsonText = File.ReadAllText(jsonPath);
|
||||
|
||||
var d = serializer.DeserializeObject(jsonText) as IDictionary<string, object>;
|
||||
var configs = GetObject(d, "configurations");
|
||||
var references = GetObject(d, "dependencies") ?? new Dictionary<string, object>();
|
||||
|
||||
// Get the list of files
|
||||
var filesString = String.Join(Environment.NewLine,
|
||||
Directory.GetFiles(projectDir, "*.cs", SearchOption.AllDirectories)
|
||||
.Select(p => p.Substring(projectDir.Length).Trim(Path.DirectorySeparatorChar))
|
||||
.Where(p => !p.StartsWith("obj"))
|
||||
.Select(p => String.Format(
|
||||
@"<Compile Include=""{0}"" />", p)));
|
||||
|
||||
// Add the config file if it's there
|
||||
if (File.Exists(Path.Combine(projectDir, "packages.config")))
|
||||
{
|
||||
filesString += "<Content Include=\"packages.config\" />";
|
||||
}
|
||||
|
||||
var packageReferences = references.Where(r => !String.IsNullOrEmpty((string)r.Value))
|
||||
.ToDictionary(k => k.Key, k => (string)k.Value);
|
||||
|
||||
var projectReferences = references.Where(r => String.IsNullOrEmpty((string)r.Value))
|
||||
.Select(r => r.Key)
|
||||
.ToArray();
|
||||
|
||||
|
||||
// HACK: Assume the packages folder is 2 up from the projectDir
|
||||
string packagesDir = Path.GetFullPath(Path.Combine(projectDir, "..", "..", "packages"));
|
||||
|
||||
foreach (var targetFramework in configs.Keys)
|
||||
{
|
||||
string id = (string)GetObject(projectMapping, projectName)[targetFramework];
|
||||
|
||||
var template = templates[targetFramework]
|
||||
.Replace("{ProjectGuid}", id)
|
||||
.Replace("{Name}", projectName)
|
||||
.Replace("{Files}", filesString)
|
||||
.Replace("{ProjectReferences}", BuildProjectReferences(projectReferences, targetFramework, projectMapping))
|
||||
.Replace("{References}", BuildReferences(packageReferences, packagesDir, targetFramework, GetCandidates(targetFramework)));
|
||||
|
||||
if (targetFramework.StartsWith("k"))
|
||||
{
|
||||
template = template.Replace("{CSharpTargetsPath}", GetProjectKTargets(packagesDir));
|
||||
}
|
||||
|
||||
string output = Path.Combine(projectDir, GetProjectFileName(projectName, targetFramework));
|
||||
|
||||
Log("Generated {0}", output);
|
||||
|
||||
File.WriteAllText(output, template);
|
||||
}
|
||||
}
|
||||
|
||||
private static string GetProjectKTargets(string packagesDir)
|
||||
{
|
||||
var projectK = Directory.GetDirectories(packagesDir, "ProjectK*")
|
||||
.Select(p => new { Path = p, Build = Int32.Parse(p.Substring(p.LastIndexOf('-') + 1)) })
|
||||
.OrderByDescending(p => p.Build)
|
||||
.FirstOrDefault();
|
||||
|
||||
if (projectK == null)
|
||||
{
|
||||
Warn("Project K targets aren't installed");
|
||||
return "";
|
||||
}
|
||||
|
||||
return Path.Combine("..", "..", projectK.Path.Substring(projectK.Path.IndexOf("packages")), "Framework\\K\\v1.0\\ProjectK.CSharp.targets");
|
||||
}
|
||||
|
||||
private static string GetProjectFileName(string projectName, string config)
|
||||
{
|
||||
return projectName + "." + config + ".csproj";
|
||||
}
|
||||
|
||||
private static string BuildProjectReferences(string[] projectReferences, string config, IDictionary<string, object> projectMapping)
|
||||
{
|
||||
if (projectReferences.Length == 0)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
var sb = new StringBuilder();
|
||||
|
||||
foreach (var reference in projectReferences)
|
||||
{
|
||||
var info = GetObject(projectMapping, reference);
|
||||
|
||||
if (info == null)
|
||||
{
|
||||
Warn("No project reference found for {0}", reference);
|
||||
continue;
|
||||
}
|
||||
|
||||
string projectFileName = GetProjectFileName(reference, config);
|
||||
string path = Path.Combine((string)info["path"], projectFileName);
|
||||
|
||||
sb.AppendFormat(@"<ProjectReference Include=""..\..\{0}"">
|
||||
<Project>{{{1}}}</Project>
|
||||
<Name>{2}</Name>
|
||||
</ProjectReference>", path, info[config], reference);
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
private static string[] GetCandidates(string config)
|
||||
{
|
||||
if (config == "net45")
|
||||
{
|
||||
return new[] { "net45", "net40", "net35", "net20" };
|
||||
}
|
||||
|
||||
return new[] { config };
|
||||
}
|
||||
|
||||
private static string BuildReferences(IDictionary<string, string> references, string packagesDir, string configName, string[] candidates)
|
||||
{
|
||||
if (references.Count == 0)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
Log("Building package references for {0}", configName);
|
||||
|
||||
var sb = new StringBuilder();
|
||||
|
||||
foreach (var reference in references)
|
||||
{
|
||||
var version = (string)reference.Value;
|
||||
|
||||
string pattern = version.IndexOf("*") != -1 ? reference.Key + "*" : reference.Key + "." + reference.Value;
|
||||
|
||||
var packageDir = Directory.GetDirectories(packagesDir, pattern).FirstOrDefault();
|
||||
|
||||
if (packageDir == null)
|
||||
{
|
||||
Warn(reference.Key + " = " + version + " ==> UNRESOLVED");
|
||||
continue;
|
||||
}
|
||||
|
||||
Log(reference.Key + " = " + version + " ==> " + packageDir);
|
||||
|
||||
var candidate = candidates.Select(c => Path.Combine(packageDir, "lib", c))
|
||||
.FirstOrDefault(Directory.Exists);
|
||||
|
||||
if (candidate == null)
|
||||
{
|
||||
Warn("Unable to find package reference for {0}, target framework = {1}", reference.Key, configName);
|
||||
continue;
|
||||
}
|
||||
|
||||
var dlls = Directory.EnumerateFiles(candidate, "*.dll")
|
||||
.Distinct()
|
||||
.Where(File.Exists)
|
||||
.ToList();
|
||||
|
||||
foreach (var dllPath in dlls)
|
||||
{
|
||||
sb.AppendFormat(@"
|
||||
<Reference Include=""{0}"">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\{1}</HintPath>
|
||||
</Reference>", AssemblyName.GetAssemblyName(dllPath).FullName, dllPath.Substring(dllPath.IndexOf("packages")));
|
||||
}
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
||||
private static IDictionary<string, object> GetObject(IDictionary<string, object> obj, string key)
|
||||
{
|
||||
object value;
|
||||
if (obj.TryGetValue(key, out value))
|
||||
{
|
||||
return value as IDictionary<string, object>;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13,6 +13,7 @@ default TEST_DIR='${Path.Combine(TARGET_DIR, "test")}'
|
|||
|
||||
#target-default target='default'
|
||||
k-restore
|
||||
k-generate-projects solutionPath='${BASE_DIR}'
|
||||
|
||||
#target-dir-clean target='clean'
|
||||
directory delete="${TARGET_DIR}"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,50 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{{ProjectGuid}}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>{Name}</RootNamespace>
|
||||
<AssemblyName>{Name}</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<BaseIntermediateOutputPath>obj/K</BaseIntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\K</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;K10</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\K</OutputPath>
|
||||
<DefineConstants>TRACE;K10</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
{Files}
|
||||
<Content Include="project.json" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
{ProjectReferences}
|
||||
</ItemGroup>
|
||||
<Import Project="{CSharpTargetsPath}" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{{ProjectGuid}}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>{Name}</RootNamespace>
|
||||
<AssemblyName>{Name}</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<BaseIntermediateOutputPath>obj/net45</BaseIntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\net45</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NET45</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\net45</OutputPath>
|
||||
<DefineConstants>TRACE;NET45</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="mscorlib" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
{References}
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
{Files}
|
||||
<Content Include="project.json" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
{ProjectReferences}
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -1,210 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{E75D8296-3BA6-4E67-AFEB-90FF77460B15}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Microsoft.AspNet.Razor</RootNamespace>
|
||||
<AssemblyName>Microsoft.AspNet.Razor</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Common\CommonResources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>CommonResources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Common\HashCodeCombiner.cs" />
|
||||
<Compile Include="CSharpRazorCodeLanguage.cs" />
|
||||
<Compile Include="DocumentParseCompleteEventArgs.cs" />
|
||||
<Compile Include="Editor\AutoCompleteEditHandler.cs" />
|
||||
<Compile Include="Editor\BackgroundParser.cs" />
|
||||
<Compile Include="Editor\EditorHints.cs" />
|
||||
<Compile Include="Editor\EditResult.cs" />
|
||||
<Compile Include="Editor\ImplicitExpressionEditHandler.cs" />
|
||||
<Compile Include="Editor\RazorEditorTrace.cs" />
|
||||
<Compile Include="Editor\SingleLineMarkupEditHandler.cs" />
|
||||
<Compile Include="Editor\SpanEditHandler.cs" />
|
||||
<Compile Include="GeneratorResults.cs" />
|
||||
<Compile Include="Generator\AddImportCodeGenerator.cs" />
|
||||
<Compile Include="Generator\AttributeBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\BaseCodeWriter.cs" />
|
||||
<Compile Include="Generator\BlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\CodeGenerationCompleteEventArgs.cs" />
|
||||
<Compile Include="Generator\CodeGeneratorContext.cs" />
|
||||
<Compile Include="Generator\CodeGeneratorPaddingHelper.cs" />
|
||||
<Compile Include="Generator\CodeWriter.cs" />
|
||||
<Compile Include="Generator\CodeWriterExtensions.cs" />
|
||||
<Compile Include="Generator\CSharpCodeWriter.cs" />
|
||||
<Compile Include="Generator\CSharpRazorCodeGenerator.cs" />
|
||||
<Compile Include="Generator\DynamicAttributeBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ExpressionCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ExpressionRenderingMode.cs" />
|
||||
<Compile Include="Generator\GeneratedClassContext.cs" />
|
||||
<Compile Include="Generator\GeneratedCodeMapping.cs" />
|
||||
<Compile Include="Generator\HelperCodeGenerator.cs" />
|
||||
<Compile Include="Generator\HybridCodeGenerator.cs" />
|
||||
<Compile Include="Generator\IBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ISpanCodeGenerator.cs" />
|
||||
<Compile Include="Generator\LiteralAttributeCodeGenerator.cs" />
|
||||
<Compile Include="Generator\MarkupCodeGenerator.cs" />
|
||||
<Compile Include="Generator\RazorCodeGenerator.cs" />
|
||||
<Compile Include="Generator\RazorCommentCodeGenerator.cs" />
|
||||
<Compile Include="Generator\RazorDirectiveAttributeCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ResolveUrlCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SectionCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SetBaseTypeCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SetLayoutCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SetVBOptionCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SpanCodeGenerator.cs" />
|
||||
<Compile Include="Generator\StatementCodeGenerator.cs" />
|
||||
<Compile Include="Generator\TemplateBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\TypeMemberCodeGenerator.cs" />
|
||||
<Compile Include="Generator\VBCodeWriter.cs" />
|
||||
<Compile Include="Generator\VBRazorCodeGenerator.cs" />
|
||||
<Compile Include="GlobalSuppressions.cs" />
|
||||
<Compile Include="ParserResults.cs" />
|
||||
<Compile Include="Parser\BalancingModes.cs" />
|
||||
<Compile Include="Parser\CallbackVisitor.cs" />
|
||||
<Compile Include="Parser\ConditionalAttributeCollapser.cs" />
|
||||
<Compile Include="Parser\CSharpCodeParser.cs" />
|
||||
<Compile Include="Parser\CSharpCodeParser.Directives.cs" />
|
||||
<Compile Include="Parser\CSharpCodeParser.Statements.cs" />
|
||||
<Compile Include="Parser\CSharpLanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\HtmlLanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.Block.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.Document.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.Section.cs" />
|
||||
<Compile Include="Parser\ISyntaxTreeRewriter.cs" />
|
||||
<Compile Include="Parser\LanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\MarkupCollapser.cs" />
|
||||
<Compile Include="Parser\MarkupRewriter.cs" />
|
||||
<Compile Include="Parser\ParserBase.cs" />
|
||||
<Compile Include="Parser\ParserContext.cs" />
|
||||
<Compile Include="Parser\ParserHelpers.cs" />
|
||||
<Compile Include="Parser\ParserVisitor.cs" />
|
||||
<Compile Include="Parser\ParserVisitorExtensions.cs" />
|
||||
<Compile Include="Parser\RazorParser.cs" />
|
||||
<Compile Include="Parser\SyntaxConstants.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\AcceptedCharacters.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\Block.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\BlockBuilder.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\BlockType.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\EquivalenceComparer.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\RazorError.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\Span.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\SpanBuilder.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\SpanKind.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\SyntaxTreeNode.cs" />
|
||||
<Compile Include="Parser\TextReaderExtensions.cs" />
|
||||
<Compile Include="Parser\TokenizerBackedParser.cs" />
|
||||
<Compile Include="Parser\TokenizerBackedParser.Helpers.cs" />
|
||||
<Compile Include="Parser\VBCodeParser.cs" />
|
||||
<Compile Include="Parser\VBCodeParser.Directives.cs" />
|
||||
<Compile Include="Parser\VBCodeParser.Statements.cs" />
|
||||
<Compile Include="Parser\VBLanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\WhitespaceRewriter.cs" />
|
||||
<Compile Include="PartialParseResult.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="RazorCodeLanguage.cs" />
|
||||
<Compile Include="RazorDebugHelpers.cs" />
|
||||
<Compile Include="RazorDirectiveAttribute.cs" />
|
||||
<Compile Include="RazorEditorParser.cs" />
|
||||
<Compile Include="RazorEngineHost.cs" />
|
||||
<Compile Include="RazorTemplateEngine.cs" />
|
||||
<Compile Include="Resources\RazorResources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>RazorResources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="StateMachine.cs" />
|
||||
<Compile Include="Text\BufferingTextReader.cs" />
|
||||
<Compile Include="Text\ITextBuffer.cs" />
|
||||
<Compile Include="Text\LineTrackingStringBuffer.cs" />
|
||||
<Compile Include="Text\LocationTagged.cs" />
|
||||
<Compile Include="Text\LookaheadTextReader.cs" />
|
||||
<Compile Include="Text\LookaheadToken.cs" />
|
||||
<Compile Include="Text\SeekableTextReader.cs" />
|
||||
<Compile Include="Text\SourceLocation.cs" />
|
||||
<Compile Include="Text\SourceLocationTracker.cs" />
|
||||
<Compile Include="Text\TextBufferReader.cs" />
|
||||
<Compile Include="Text\TextChange.cs" />
|
||||
<Compile Include="Text\TextChangeType.cs" />
|
||||
<Compile Include="Text\TextDocumentReader.cs" />
|
||||
<Compile Include="Text\TextExtensions.cs" />
|
||||
<Compile Include="Tokenizer\CSharpHelpers.cs" />
|
||||
<Compile Include="Tokenizer\CSharpKeywordDetector.cs" />
|
||||
<Compile Include="Tokenizer\CSharpTokenizer.cs" />
|
||||
<Compile Include="Tokenizer\HtmlTokenizer.cs" />
|
||||
<Compile Include="Tokenizer\ITokenizer.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\CSharpKeyword.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\CSharpSymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\CSharpSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\HtmlSymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\HtmlSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\ISymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\KnownSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\SymbolBase.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\SymbolExtensions.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\SymbolTypeSuppressions.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\VBKeyword.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\VBSymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\VBSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Tokenizer.cs" />
|
||||
<Compile Include="Tokenizer\TokenizerView.cs" />
|
||||
<Compile Include="Tokenizer\VBHelpers.cs" />
|
||||
<Compile Include="Tokenizer\VBKeywordDetector.cs" />
|
||||
<Compile Include="Tokenizer\VBTokenizer.cs" />
|
||||
<Compile Include="Tokenizer\XmlHelpers.cs" />
|
||||
<Compile Include="Utils\CharUtils.cs" />
|
||||
<Compile Include="Utils\DisposableAction.cs" />
|
||||
<Compile Include="Utils\EnumeratorExtensions.cs" />
|
||||
<Compile Include="Utils\EnumUtil.cs" />
|
||||
<Compile Include="VBRazorCodeLanguage.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Common\CommonResources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>CommonResources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\RazorResources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>RazorResources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -0,0 +1,194 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/>
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{F5A44105-08E2-4602-8231-DAFDDC9A146E}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Microsoft.AspNet.Razor</RootNamespace>
|
||||
<AssemblyName>Microsoft.AspNet.Razor</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<BaseIntermediateOutputPath>obj/K</BaseIntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\K</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;K10</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\K</OutputPath>
|
||||
<DefineConstants>TRACE;K10</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CSharpRazorCodeLanguage.cs" />
|
||||
<Compile Include="DocumentParseCompleteEventArgs.cs" />
|
||||
<Compile Include="GeneratorResults.cs" />
|
||||
<Compile Include="GlobalSuppressions.cs" />
|
||||
<Compile Include="ParserResults.cs" />
|
||||
<Compile Include="PartialParseResult.cs" />
|
||||
<Compile Include="RazorCodeLanguage.cs" />
|
||||
<Compile Include="RazorDebugHelpers.cs" />
|
||||
<Compile Include="RazorDirectiveAttribute.cs" />
|
||||
<Compile Include="RazorEditorParser.cs" />
|
||||
<Compile Include="RazorEngineHost.cs" />
|
||||
<Compile Include="RazorTemplateEngine.cs" />
|
||||
<Compile Include="StateMachine.cs" />
|
||||
<Compile Include="VBRazorCodeLanguage.cs" />
|
||||
<Compile Include="Common\CommonResources.Designer.cs" />
|
||||
<Compile Include="Common\HashCodeCombiner.cs" />
|
||||
<Compile Include="Editor\AutoCompleteEditHandler.cs" />
|
||||
<Compile Include="Editor\BackgroundParser.cs" />
|
||||
<Compile Include="Editor\EditorHints.cs" />
|
||||
<Compile Include="Editor\EditResult.cs" />
|
||||
<Compile Include="Editor\ImplicitExpressionEditHandler.cs" />
|
||||
<Compile Include="Editor\RazorEditorTrace.cs" />
|
||||
<Compile Include="Editor\SingleLineMarkupEditHandler.cs" />
|
||||
<Compile Include="Editor\SpanEditHandler.cs" />
|
||||
<Compile Include="Generator\AddImportCodeGenerator.cs" />
|
||||
<Compile Include="Generator\AttributeBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\BaseCodeWriter.cs" />
|
||||
<Compile Include="Generator\BlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\CodeGenerationCompleteEventArgs.cs" />
|
||||
<Compile Include="Generator\CodeGeneratorContext.cs" />
|
||||
<Compile Include="Generator\CodeGeneratorPaddingHelper.cs" />
|
||||
<Compile Include="Generator\CodeWriter.cs" />
|
||||
<Compile Include="Generator\CodeWriterExtensions.cs" />
|
||||
<Compile Include="Generator\CSharpCodeWriter.cs" />
|
||||
<Compile Include="Generator\CSharpRazorCodeGenerator.cs" />
|
||||
<Compile Include="Generator\DynamicAttributeBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ExpressionCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ExpressionRenderingMode.cs" />
|
||||
<Compile Include="Generator\GeneratedClassContext.cs" />
|
||||
<Compile Include="Generator\GeneratedCodeMapping.cs" />
|
||||
<Compile Include="Generator\HelperCodeGenerator.cs" />
|
||||
<Compile Include="Generator\HybridCodeGenerator.cs" />
|
||||
<Compile Include="Generator\IBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ISpanCodeGenerator.cs" />
|
||||
<Compile Include="Generator\LiteralAttributeCodeGenerator.cs" />
|
||||
<Compile Include="Generator\MarkupCodeGenerator.cs" />
|
||||
<Compile Include="Generator\RazorCodeGenerator.cs" />
|
||||
<Compile Include="Generator\RazorCommentCodeGenerator.cs" />
|
||||
<Compile Include="Generator\RazorDirectiveAttributeCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ResolveUrlCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SectionCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SetBaseTypeCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SetLayoutCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SetVBOptionCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SpanCodeGenerator.cs" />
|
||||
<Compile Include="Generator\StatementCodeGenerator.cs" />
|
||||
<Compile Include="Generator\TemplateBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\TypeMemberCodeGenerator.cs" />
|
||||
<Compile Include="Generator\VBCodeWriter.cs" />
|
||||
<Compile Include="Generator\VBRazorCodeGenerator.cs" />
|
||||
<Compile Include="Parser\BalancingModes.cs" />
|
||||
<Compile Include="Parser\CallbackVisitor.cs" />
|
||||
<Compile Include="Parser\ConditionalAttributeCollapser.cs" />
|
||||
<Compile Include="Parser\CSharpCodeParser.cs" />
|
||||
<Compile Include="Parser\CSharpCodeParser.Directives.cs" />
|
||||
<Compile Include="Parser\CSharpCodeParser.Statements.cs" />
|
||||
<Compile Include="Parser\CSharpLanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\HtmlLanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.Block.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.Document.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.Section.cs" />
|
||||
<Compile Include="Parser\ISyntaxTreeRewriter.cs" />
|
||||
<Compile Include="Parser\LanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\MarkupCollapser.cs" />
|
||||
<Compile Include="Parser\MarkupRewriter.cs" />
|
||||
<Compile Include="Parser\ParserBase.cs" />
|
||||
<Compile Include="Parser\ParserContext.cs" />
|
||||
<Compile Include="Parser\ParserHelpers.cs" />
|
||||
<Compile Include="Parser\ParserVisitor.cs" />
|
||||
<Compile Include="Parser\ParserVisitorExtensions.cs" />
|
||||
<Compile Include="Parser\RazorParser.cs" />
|
||||
<Compile Include="Parser\SyntaxConstants.cs" />
|
||||
<Compile Include="Parser\TextReaderExtensions.cs" />
|
||||
<Compile Include="Parser\TokenizerBackedParser.cs" />
|
||||
<Compile Include="Parser\TokenizerBackedParser.Helpers.cs" />
|
||||
<Compile Include="Parser\VBCodeParser.cs" />
|
||||
<Compile Include="Parser\VBCodeParser.Directives.cs" />
|
||||
<Compile Include="Parser\VBCodeParser.Statements.cs" />
|
||||
<Compile Include="Parser\VBLanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\WhitespaceRewriter.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\AcceptedCharacters.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\Block.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\BlockBuilder.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\BlockType.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\EquivalenceComparer.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\RazorError.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\Span.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\SpanBuilder.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\SpanKind.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\SyntaxTreeNode.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Resources\RazorResources.Designer.cs" />
|
||||
<Compile Include="Text\BufferingTextReader.cs" />
|
||||
<Compile Include="Text\ITextBuffer.cs" />
|
||||
<Compile Include="Text\LineTrackingStringBuffer.cs" />
|
||||
<Compile Include="Text\LocationTagged.cs" />
|
||||
<Compile Include="Text\LookaheadTextReader.cs" />
|
||||
<Compile Include="Text\LookaheadToken.cs" />
|
||||
<Compile Include="Text\SeekableTextReader.cs" />
|
||||
<Compile Include="Text\SourceLocation.cs" />
|
||||
<Compile Include="Text\SourceLocationTracker.cs" />
|
||||
<Compile Include="Text\TextBufferReader.cs" />
|
||||
<Compile Include="Text\TextChange.cs" />
|
||||
<Compile Include="Text\TextChangeType.cs" />
|
||||
<Compile Include="Text\TextDocumentReader.cs" />
|
||||
<Compile Include="Text\TextExtensions.cs" />
|
||||
<Compile Include="Tokenizer\CSharpHelpers.cs" />
|
||||
<Compile Include="Tokenizer\CSharpKeywordDetector.cs" />
|
||||
<Compile Include="Tokenizer\CSharpTokenizer.cs" />
|
||||
<Compile Include="Tokenizer\HtmlTokenizer.cs" />
|
||||
<Compile Include="Tokenizer\ITokenizer.cs" />
|
||||
<Compile Include="Tokenizer\Tokenizer.cs" />
|
||||
<Compile Include="Tokenizer\TokenizerView.cs" />
|
||||
<Compile Include="Tokenizer\VBHelpers.cs" />
|
||||
<Compile Include="Tokenizer\VBKeywordDetector.cs" />
|
||||
<Compile Include="Tokenizer\VBTokenizer.cs" />
|
||||
<Compile Include="Tokenizer\XmlHelpers.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\CSharpKeyword.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\CSharpSymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\CSharpSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\HtmlSymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\HtmlSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\ISymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\KnownSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\SymbolBase.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\SymbolExtensions.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\SymbolTypeSuppressions.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\VBKeyword.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\VBSymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\VBSymbolType.cs" />
|
||||
<Compile Include="Utils\CharUtils.cs" />
|
||||
<Compile Include="Utils\DisposableAction.cs" />
|
||||
<Compile Include="Utils\EnumeratorExtensions.cs" />
|
||||
<Compile Include="Utils\EnumUtil.cs" />
|
||||
<Content Include="project.json"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
</ItemGroup>
|
||||
<Import Project="..\..\packages\ProjectK.0.0.1-pre-30121-096\Framework\K\v1.0\ProjectK.CSharp.targets"/>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -0,0 +1,201 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/>
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{8B129FF9-0B8F-4E0C-8DFC-0137D8550FB7}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Microsoft.AspNet.Razor</RootNamespace>
|
||||
<AssemblyName>Microsoft.AspNet.Razor</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<BaseIntermediateOutputPath>obj/net45</BaseIntermediateOutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\net45</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE;NET45</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\net45</OutputPath>
|
||||
<DefineConstants>TRACE;NET45</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="mscorlib"/>
|
||||
<Reference Include="System"/>
|
||||
<Reference Include="System.Core"/>
|
||||
<Reference Include="Microsoft.CSharp"/>
|
||||
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CSharpRazorCodeLanguage.cs" />
|
||||
<Compile Include="DocumentParseCompleteEventArgs.cs" />
|
||||
<Compile Include="GeneratorResults.cs" />
|
||||
<Compile Include="GlobalSuppressions.cs" />
|
||||
<Compile Include="ParserResults.cs" />
|
||||
<Compile Include="PartialParseResult.cs" />
|
||||
<Compile Include="RazorCodeLanguage.cs" />
|
||||
<Compile Include="RazorDebugHelpers.cs" />
|
||||
<Compile Include="RazorDirectiveAttribute.cs" />
|
||||
<Compile Include="RazorEditorParser.cs" />
|
||||
<Compile Include="RazorEngineHost.cs" />
|
||||
<Compile Include="RazorTemplateEngine.cs" />
|
||||
<Compile Include="StateMachine.cs" />
|
||||
<Compile Include="VBRazorCodeLanguage.cs" />
|
||||
<Compile Include="Common\CommonResources.Designer.cs" />
|
||||
<Compile Include="Common\HashCodeCombiner.cs" />
|
||||
<Compile Include="Editor\AutoCompleteEditHandler.cs" />
|
||||
<Compile Include="Editor\BackgroundParser.cs" />
|
||||
<Compile Include="Editor\EditorHints.cs" />
|
||||
<Compile Include="Editor\EditResult.cs" />
|
||||
<Compile Include="Editor\ImplicitExpressionEditHandler.cs" />
|
||||
<Compile Include="Editor\RazorEditorTrace.cs" />
|
||||
<Compile Include="Editor\SingleLineMarkupEditHandler.cs" />
|
||||
<Compile Include="Editor\SpanEditHandler.cs" />
|
||||
<Compile Include="Generator\AddImportCodeGenerator.cs" />
|
||||
<Compile Include="Generator\AttributeBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\BaseCodeWriter.cs" />
|
||||
<Compile Include="Generator\BlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\CodeGenerationCompleteEventArgs.cs" />
|
||||
<Compile Include="Generator\CodeGeneratorContext.cs" />
|
||||
<Compile Include="Generator\CodeGeneratorPaddingHelper.cs" />
|
||||
<Compile Include="Generator\CodeWriter.cs" />
|
||||
<Compile Include="Generator\CodeWriterExtensions.cs" />
|
||||
<Compile Include="Generator\CSharpCodeWriter.cs" />
|
||||
<Compile Include="Generator\CSharpRazorCodeGenerator.cs" />
|
||||
<Compile Include="Generator\DynamicAttributeBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ExpressionCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ExpressionRenderingMode.cs" />
|
||||
<Compile Include="Generator\GeneratedClassContext.cs" />
|
||||
<Compile Include="Generator\GeneratedCodeMapping.cs" />
|
||||
<Compile Include="Generator\HelperCodeGenerator.cs" />
|
||||
<Compile Include="Generator\HybridCodeGenerator.cs" />
|
||||
<Compile Include="Generator\IBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ISpanCodeGenerator.cs" />
|
||||
<Compile Include="Generator\LiteralAttributeCodeGenerator.cs" />
|
||||
<Compile Include="Generator\MarkupCodeGenerator.cs" />
|
||||
<Compile Include="Generator\RazorCodeGenerator.cs" />
|
||||
<Compile Include="Generator\RazorCommentCodeGenerator.cs" />
|
||||
<Compile Include="Generator\RazorDirectiveAttributeCodeGenerator.cs" />
|
||||
<Compile Include="Generator\ResolveUrlCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SectionCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SetBaseTypeCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SetLayoutCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SetVBOptionCodeGenerator.cs" />
|
||||
<Compile Include="Generator\SpanCodeGenerator.cs" />
|
||||
<Compile Include="Generator\StatementCodeGenerator.cs" />
|
||||
<Compile Include="Generator\TemplateBlockCodeGenerator.cs" />
|
||||
<Compile Include="Generator\TypeMemberCodeGenerator.cs" />
|
||||
<Compile Include="Generator\VBCodeWriter.cs" />
|
||||
<Compile Include="Generator\VBRazorCodeGenerator.cs" />
|
||||
<Compile Include="Parser\BalancingModes.cs" />
|
||||
<Compile Include="Parser\CallbackVisitor.cs" />
|
||||
<Compile Include="Parser\ConditionalAttributeCollapser.cs" />
|
||||
<Compile Include="Parser\CSharpCodeParser.cs" />
|
||||
<Compile Include="Parser\CSharpCodeParser.Directives.cs" />
|
||||
<Compile Include="Parser\CSharpCodeParser.Statements.cs" />
|
||||
<Compile Include="Parser\CSharpLanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\HtmlLanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.Block.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.Document.cs" />
|
||||
<Compile Include="Parser\HtmlMarkupParser.Section.cs" />
|
||||
<Compile Include="Parser\ISyntaxTreeRewriter.cs" />
|
||||
<Compile Include="Parser\LanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\MarkupCollapser.cs" />
|
||||
<Compile Include="Parser\MarkupRewriter.cs" />
|
||||
<Compile Include="Parser\ParserBase.cs" />
|
||||
<Compile Include="Parser\ParserContext.cs" />
|
||||
<Compile Include="Parser\ParserHelpers.cs" />
|
||||
<Compile Include="Parser\ParserVisitor.cs" />
|
||||
<Compile Include="Parser\ParserVisitorExtensions.cs" />
|
||||
<Compile Include="Parser\RazorParser.cs" />
|
||||
<Compile Include="Parser\SyntaxConstants.cs" />
|
||||
<Compile Include="Parser\TextReaderExtensions.cs" />
|
||||
<Compile Include="Parser\TokenizerBackedParser.cs" />
|
||||
<Compile Include="Parser\TokenizerBackedParser.Helpers.cs" />
|
||||
<Compile Include="Parser\VBCodeParser.cs" />
|
||||
<Compile Include="Parser\VBCodeParser.Directives.cs" />
|
||||
<Compile Include="Parser\VBCodeParser.Statements.cs" />
|
||||
<Compile Include="Parser\VBLanguageCharacteristics.cs" />
|
||||
<Compile Include="Parser\WhitespaceRewriter.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\AcceptedCharacters.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\Block.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\BlockBuilder.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\BlockType.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\EquivalenceComparer.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\RazorError.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\Span.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\SpanBuilder.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\SpanKind.cs" />
|
||||
<Compile Include="Parser\SyntaxTree\SyntaxTreeNode.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Resources\RazorResources.Designer.cs" />
|
||||
<Compile Include="Text\BufferingTextReader.cs" />
|
||||
<Compile Include="Text\ITextBuffer.cs" />
|
||||
<Compile Include="Text\LineTrackingStringBuffer.cs" />
|
||||
<Compile Include="Text\LocationTagged.cs" />
|
||||
<Compile Include="Text\LookaheadTextReader.cs" />
|
||||
<Compile Include="Text\LookaheadToken.cs" />
|
||||
<Compile Include="Text\SeekableTextReader.cs" />
|
||||
<Compile Include="Text\SourceLocation.cs" />
|
||||
<Compile Include="Text\SourceLocationTracker.cs" />
|
||||
<Compile Include="Text\TextBufferReader.cs" />
|
||||
<Compile Include="Text\TextChange.cs" />
|
||||
<Compile Include="Text\TextChangeType.cs" />
|
||||
<Compile Include="Text\TextDocumentReader.cs" />
|
||||
<Compile Include="Text\TextExtensions.cs" />
|
||||
<Compile Include="Tokenizer\CSharpHelpers.cs" />
|
||||
<Compile Include="Tokenizer\CSharpKeywordDetector.cs" />
|
||||
<Compile Include="Tokenizer\CSharpTokenizer.cs" />
|
||||
<Compile Include="Tokenizer\HtmlTokenizer.cs" />
|
||||
<Compile Include="Tokenizer\ITokenizer.cs" />
|
||||
<Compile Include="Tokenizer\Tokenizer.cs" />
|
||||
<Compile Include="Tokenizer\TokenizerView.cs" />
|
||||
<Compile Include="Tokenizer\VBHelpers.cs" />
|
||||
<Compile Include="Tokenizer\VBKeywordDetector.cs" />
|
||||
<Compile Include="Tokenizer\VBTokenizer.cs" />
|
||||
<Compile Include="Tokenizer\XmlHelpers.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\CSharpKeyword.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\CSharpSymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\CSharpSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\HtmlSymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\HtmlSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\ISymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\KnownSymbolType.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\SymbolBase.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\SymbolExtensions.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\SymbolTypeSuppressions.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\VBKeyword.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\VBSymbol.cs" />
|
||||
<Compile Include="Tokenizer\Symbols\VBSymbolType.cs" />
|
||||
<Compile Include="Utils\CharUtils.cs" />
|
||||
<Compile Include="Utils\DisposableAction.cs" />
|
||||
<Compile Include="Utils\EnumeratorExtensions.cs" />
|
||||
<Compile Include="Utils\EnumUtil.cs" />
|
||||
<Content Include="project.json"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"/>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
|
|
@ -213,9 +213,9 @@
|
|||
<Compile Include="Utils\MiscAssert.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\Microsoft.AspNet.Razor\Microsoft.AspNet.Razor.csproj">
|
||||
<Project>{e75d8296-3ba6-4e67-afeb-90ff77460b15}</Project>
|
||||
<Name>Microsoft.AspNet.Razor</Name>
|
||||
<ProjectReference Include="..\..\src\Microsoft.AspNet.Razor\Microsoft.AspNet.Razor.net45.csproj">
|
||||
<Project>{8b129ff9-0b8f-4e0c-8dfc-0137d8550fb7}</Project>
|
||||
<Name>Microsoft.AspNet.Razor.net45</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Microsoft.TestCommon\Microsoft.TestCommon.csproj">
|
||||
<Project>{FCCC4CB7-BAF7-4A57-9F89-E5766FE536C0}</Project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue