Skip to content

Commit

Permalink
Merge pull request #44 from jensbrak/FIX-Build-Error
Browse files Browse the repository at this point in the history
Looks good; thanks for the fixes!
  • Loading branch information
Razzmatazzz authored Jan 21, 2022
2 parents 2ad5aaa + 6ac11ad commit e49b329
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ServerLogWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public void RefreshLogText()
}
prevExtentHeight = txtLog.ExtentHeight;
}
catch (IOException ex)
catch (IOException)
{
retryTimer.Interval = retryInterval;
retryTimer.Enabled = true;
Expand Down
2 changes: 1 addition & 1 deletion SteamCMD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private void Process_OutputDataReceived(object sender, DataReceivedEventArgs e)
writer.WriteLine(msg);
writer.Close();
}
catch (Exception ex)
catch (Exception)
{
//not being able to clear the log is not a major problem
}
Expand Down
2 changes: 1 addition & 1 deletion ValheimServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ private void Process_OutputDataReceived(object sender, DataReceivedEventArgs e)
writer.WriteLine(msg);
writer.Close();
}
catch (Exception ex)
catch (Exception)
{
//not being able to clear the log is not a major problem
}
Expand Down
2 changes: 1 addition & 1 deletion ValheimServerWarden.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy &quot;$(TargetDir)Valheim Server Warden.runtimeconfig.json&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.exe&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)ModernWpf.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)HtmlAgilityPack.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;if $(ConfigurationName) == Release &quot;C:\Program Files\7-Zip\7z.exe&quot; a %25userprofile%25\Desktop\vsw.zip &quot;$(TargetDir)app.publish\*&quot;" />
<Exec Command="if not exist &quot;$(TargetDir)app.publish\&quot; mkdir &quot;$(TargetDir)\app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.runtimeconfig.json&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)Valheim Server Warden.exe&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)ModernWpf.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;copy &quot;$(TargetDir)HtmlAgilityPack.dll&quot; &quot;$(TargetDir)app.publish\&quot;&#xD;&#xA;if $(ConfigurationName) == Release &quot;C:\Program Files\7-Zip\7z.exe&quot; a %25userprofile%25\Desktop\vsw.zip &quot;$(TargetDir)app.publish\*&quot;" />
</Target>
</Project>

0 comments on commit e49b329

Please sign in to comment.