我正在尝试将 feed.asp 嵌入到 Page.cshtml 中。但它不会编译命令。这是页面的代码。
@{
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>ONC Project Tracking</title>
<style type="text/css">
.auto-style1 {
text-align: center;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-weight: bold;
color: #800000;
}
.auto-style2 {
text-align: justify;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.auto-style3 {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.auto-style4 {
text-align:center;
margin-left:auto;
margin-right:auto;
border: 0px solid black;
}
.auto-style4 tr {
width: 30%;
}
.auto-style4 td {
border: 0px solid black;
padding: 0px;
border-collapse:collapse;
border-spacing: 0px;
}
.auto-style5 {
max-width: 50%;
}
.auto-style11 {
width: 1077px;
height: 283px;
}
</style>
</head>
<body>
<p class="auto-style1">
Welcome to the ONC project tracking JIRA system</p>
<p>
</p>
<p class="auto-style2">
Welcome to the ONC project tracking JIRA system. The Nationwide Health Information Network Division of the Office of National Coordinator maintains the system to provide a collaborative environment for the healthcare industry to implement meaningful use requirements. Below please find links to numerous projects that are hosted on the project tracking system, as well as a summary of the hot topics being discussed. Within each project you will find conversations related to implementing specific meaningful use measures.</p>
<p class="auto-style3">
If you have questions about meaningful use direct them to <a href="mailto:mindy.hangsleben@hhs.gov">mindy.hangsleben@hhs.gov</a>. If you're having technical problems with this site please contact onc-jira@ainq.com.</p>
<hr>
<table class="auto-style4">
<tr>
<td>
<img alt="" class="auto-style5" src="high-priority-tickets-button.png" /></td>
<td>
<img alt="" class="auto-style5" src="hot-tickets-button.png" /></td>
<td>
<img alt="" class="auto-style5" src="issues-due-this-week-button.png" /></td>
</tr>
<tr>
<td>
<img alt="" class="auto-style5" src="create-a-ticket-button.png" /></td>
<td>
<img alt="" class="auto-style5" src="latest-tickets-button.png" /></td>
<td>
<img alt="" class="auto-style5" src="my-new-tickets-button.png" /></td>
</tr>
<tr>
<td> </td>
<td>
<img alt="" class="auto-style5" src="my-profile-button.png" /></td>
<td> </td>
</tr>
</table>
< !--#include virtual="feed.asp"-->
</body>
</html>
输出有 '< !--#include virtual="feed.asp"-->' 而不是渲染 asp 页面的内容。