Commit 05194008 authored by 潘栩锋's avatar 潘栩锋 🚴

nlog.config 设置为永远复制

parent 6203fadd
...@@ -281,7 +281,9 @@ ...@@ -281,7 +281,9 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<None Include="app.config" /> <None Include="app.config" />
<None Include="NLog.config" /> <None Include="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput> <LastGenOutput>Settings.Designer.cs</LastGenOutput>
......
...@@ -113,7 +113,9 @@ ...@@ -113,7 +113,9 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<None Include="app.config" /> <None Include="app.config" />
<None Include="NLog.config" /> <None Include="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput> <LastGenOutput>Settings.Designer.cs</LastGenOutput>
......
...@@ -59,12 +59,12 @@ function copy_to2($src_dir , $project_name, $other ) ...@@ -59,12 +59,12 @@ function copy_to2($src_dir , $project_name, $other )
copy_to2 ` copy_to2 `
"Project.FLY.Thick.Blowing" ` "Project.FLY.Thick.Blowing" `
"FLY.Thick.Blowing.UI.Fix.Client" ` "FLY.Thick.Blowing.UI.Fix.Client" `
("csysparam.xml","layout", "main_module", "music", "版本说明.txt", "测厚仪说明书.pdf") ("nlog.config","csysparam.xml","layout", "main_module", "music", "版本说明.txt", "测厚仪说明书.pdf")
copy_to2 ` copy_to2 `
"Project.FLY.Thick.Blowing" ` "Project.FLY.Thick.Blowing" `
"FLY.Thick.Blowing.UI.Fix.Server" ` "FLY.Thick.Blowing.UI.Fix.Server" `
("Gage1") ("nlog.config","Gage1")
copy_to2 ` copy_to2 `
"Project.FLY.FeedbackRenZiJia" ` "Project.FLY.FeedbackRenZiJia" `
...@@ -98,7 +98,7 @@ copy_to2 ` ...@@ -98,7 +98,7 @@ copy_to2 `
#删除 历史数据文件 #删除 历史数据文件
$remove_files = ("backup","profile","warning_history","history","bulk.csv") $remove_files = ("bulk.csv")
foreach($f in $remove_files) foreach($f in $remove_files)
{ {
rm -Recurse -Force ($install_dir + "\FLY.Thick.Blowing.UI.Fix.Server\Gage1\"+$f) rm -Recurse -Force ($install_dir + "\FLY.Thick.Blowing.UI.Fix.Server\Gage1\"+$f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment