曹妃甸地图,河北找工作,普利乐比高
一处开发,多处同步编辑使用,并且发布时各个项目均可独立
.csproj
具体实现为:编辑 .csproj
文件,在<itemgroup>
中添加新的 <content />
或 <compile />
节点:
include
: 属性值为项目文件的相对引用路径
link
: 节点中放置要引用到当前项目中的位置
<itemgroup> <content include="views\_emailofficecancelledemail.cshtml"/> </itemgroup>
<itemgroup> <content include="..\mvcdemo\mvcweb\views\_emailofficecancelledemail.cshtml"> <link>views\_emailofficecancelledemail.cshtml</link> </content> </itemgroup>
<itemgroup> <compile include="controllers\commoncontroller.cs"/> </itemgroup>
<itemgroup> <compile include="..\..\mvcdemo\mvcweb\controllers\commoncontroller.cs"> <link>controllers\homecontroller.cs</link> </compile> </itemgroup>
visual studio
软件可视化操作
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
Net Core Web Api项目与在NginX下发布的方法
asp.net core3.1 引用的元包dll版本兼容性问题解决方案
IdentityServer4实现.Net Core API接口权限认证(快速入门)
ASP.NET Core MVC通过IViewLocationExpander扩展视图搜索路径的实现
网友评论