码迷,mamicode.com
首页 > 其他好文 > 详细

VS 自动化编译命令

时间:2020-01-16 12:33:34      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:自动   edit   prope   stat   config   property   solution   sync   rebuild   

var editor = Type.GetType("UnityEditor.SyncVS, UnityEditor");
var SyncSolution = editor.GetMethod("SyncSolution", BindingFlags.Public | BindingFlags.Static);
SyncSolution.Invoke(null, null);
Debug.Log("Solution synced!");

rem 编译dll文件
%MSBuild% /t:ReBuild /property:Configuration=Debug "%WORKSPACE%/project_code/client/Code.csproj"

%MSBuild% /t:ReBuild /property:Configuration=Debug "%WORKSPACE%/project_code/client/AEEditor.csproj"

VS 自动化编译命令

标签:自动   edit   prope   stat   config   property   solution   sync   rebuild   

原文地址:https://www.cnblogs.com/mttnor/p/12200430.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!