Info
Version: | 1.0.5 |
Author(s): | Yunnying |
Last Update: | Monday, December 4, 2017 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/junde.site.setup |
Install
Install-Package junde.site.setup
dotnet add package junde.site.setup
paket add junde.site.setup
junde.site.setup Download (Unzip the "nupkg" after downloading)
使用方式:
在web程序的生成事件中,后期生成事件命令行添加以下命令:
$(ProjectDir)bin\junde.site.setup.exe $(ProjectDir) yourSiteName
然后打开浏览器,访问
http://yourSiteName
即可,免去F5运行调试的麻烦。
如果想要调试,依旧可以F5运行或者使用附加进程的方式。
参数1:路径
参数2:iis站点名
备注:由于需要创建iis内的站点,vs需要管理员模式运行
备注2:目前有bug,绕过的方式是,不要在路径中包含空格
仅限IIS(windows)+web程序.