<small id='x8jpgewx'></small><noframes id='riuzezhv'>

      <tbody id='ov42ilpj'></tbody>
    <i id='qleo0pn8'><tr id='tvugn1da'><dt id='ubvtooqu'><q id='1n1hheik'><span id='g7ergdch'><b id='xfifhisv'><form id='rk8qgde5'><ins id='7byg27lr'></ins><ul id='5hviehnw'></ul><sub id='odqob7dz'></sub></form><legend id='mzy2wypf'></legend><bdo id='665om7lo'><pre id='37o0enyo'><center id='iooxw5t8'></center></pre></bdo></b><th id='w6n2iu4g'></th></span></q></dt></tr></i><div id='50nj19b5'><tfoot id='xmxlselo'></tfoot><dl id='jef6gfr3'><fieldset id='7g0htvqr'></fieldset></dl></div>
    <legend id='4nr29utr'><style id='0d45xutk'><dir id='6nm50kxl'><q id='rzixwexy'></q></dir></style></legend>
    • <tfoot id='v25k3dwf'></tfoot>
    • 网站建设公司当前位置 : 网站建设公司 > 知识普及

      网站经常改版带来问题的解决方案

      发布时间:2021-09-26 16:16   浏览次数:次   
      如果你的网站经常要改版,为安全,CS,resx等文件常不用上传到服务器.上传之前需删除这些文件,如果项目稍大点,将是一个很痛苦的事情.有以下两种办法解决,这里主要谈第一种:
       
      有二种办法:
       
      1应用批处理
       
      2应用VS的项目发布
       
      批处理代码如下:(注意在执行以前,你先尝试一下,并对测试的文件做好备份)
       
       
      @echo off
      set a=
      set b=
       
      set/p a=输入要求处理的文件夹的路径
      echo Are you sure to delete all CS file?
      pause
      set b=%a%/*.cs
      if exist %b% del /s %b%
       
       
      echo Are you sure to delete all resx file?
      pause
      set b=%a%/*.resx
      if exist %b% del /s %b%
       
      echo Are you sure to delete all sln file?
      pause
      set b=%a%/*.sln
      if exist %b%  del /s %b%
       
      echo Are you sure to delete all sul file?
      pause
      set b=%a%/*.suo
      if exist %b%  del /s %b%
       
      echo Are you sure to delete all csproj file?
      pause
      set b=%a%/*.csproj
      if exist %b%  del /s %b%
       
      exit
       
       
      粘贴上面的文件到记事本,改掉扩展名为bat,双击后按提示操作就行了,但一定要输入准确的文件夹的物理路径.
       

      <small id='p5b3n2pz'></small><noframes id='boqoq7ed'>

        <tfoot id='jkfeq6wb'></tfoot>
        <i id='s2qpi75p'><tr id='lr4ktm2u'><dt id='kl1lsbdu'><q id='ec0fzubv'><span id='j8l8wbmu'><b id='bq2ksz3p'><form id='nxs8t5rx'><ins id='ejkunapy'></ins><ul id='xemspkx9'></ul><sub id='m50klsuu'></sub></form><legend id='poi23f5x'></legend><bdo id='1dxfe8wy'><pre id='zfmo21ff'><center id='gpvdj91e'></center></pre></bdo></b><th id='6xdq55bh'></th></span></q></dt></tr></i><div id='y8lm4w2n'><tfoot id='dsrjmx0v'></tfoot><dl id='34gkm34t'><fieldset id='sq06ualm'></fieldset></dl></div>
      • <legend id='z1of6mn9'><style id='9ve7k7wv'><dir id='8nrahpse'><q id='2g8zyts7'></q></dir></style></legend>

            <tbody id='d661sqr4'></tbody>

          • 本文来源于网络,若有侵权请联系3449817223#qq.com,将在第一时间删除。

              <legend id='r8ymdxbl'><style id='mq98jes9'><dir id='oll92kvy'><q id='9esytchc'></q></dir></style></legend>
            • <small id='a8xkmlwo'></small><noframes id='3dlgjdua'>

                <i id='73a1geut'><tr id='vewjp1f8'><dt id='caxa5xk4'><q id='iadmue4p'><span id='5btsj89m'><b id='rqou3vfp'><form id='t83hgchz'><ins id='sapztcu6'></ins><ul id='z3x4k2x9'></ul><sub id='fao33cq0'></sub></form><legend id='mgw1l8kb'></legend><bdo id='dg8mym28'><pre id='spofagyn'><center id='x0vcfoja'></center></pre></bdo></b><th id='efm32pel'></th></span></q></dt></tr></i><div id='wuw5tqao'><tfoot id='evid3bsz'></tfoot><dl id='bolod453'><fieldset id='oj89cc7n'></fieldset></dl></div>

                  <tbody id='3k7onp79'></tbody>
                <tfoot id='2j130ogx'></tfoot>