chr
2024-09-02 981923c2a2cff6d61cd5a474d2ba398ba48f1fd5
PdmAlert/PdmAlert.csproj
@@ -57,9 +57,15 @@
  <PropertyGroup>
    <ApplicationManifest>app.manifest</ApplicationManifest>
  </PropertyGroup>
  <PropertyGroup>
    <ApplicationIcon>Icon.ico</ApplicationIcon>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="DevComponents.DotNetBar2">
      <HintPath>..\lib\DevComponents.DotNetBar2.dll</HintPath>
    </Reference>
    <Reference Include="log4net">
      <HintPath>lib\log4net.dll</HintPath>
    </Reference>
    <Reference Include="Newtonsoft.Json">
      <HintPath>lib\Newtonsoft.Json.dll</HintPath>
@@ -78,6 +84,9 @@
    <Reference Include="System.Xaml">
      <RequiredTargetFramework>4.0</RequiredTargetFramework>
    </Reference>
    <Reference Include="websocket-sharp">
      <HintPath>lib\websocket-sharp.dll</HintPath>
    </Reference>
    <Reference Include="WindowsBase" />
    <Reference Include="PresentationCore" />
    <Reference Include="PresentationFramework" />
@@ -87,6 +96,7 @@
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </ApplicationDefinition>
    <Compile Include="ToolSetting.cs" />
    <Compile Include="Util.cs" />
    <Page Include="LoginWindow.xaml">
      <SubType>Designer</SubType>
@@ -132,6 +142,9 @@
    </EmbeddedResource>
    <None Include="app.manifest" />
    <Resource Include="Icon\iconfont.ttf" />
    <None Include="log4net.config">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </None>
    <None Include="Properties\Settings.settings">
      <Generator>SettingsSingleFileGenerator</Generator>
      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -141,9 +154,43 @@
    <None Include="App.config" />
  </ItemGroup>
  <ItemGroup>
    <Resource Include="Icon.ico" />
    <Content Include="Icon\Icon.ico">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="ReleaseSettings\ToolSetting.xml">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="ReleaseSettings\UpdaterSetting.xml">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="Settings\UpdaterSetting.xml">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="Settings\ToolSetting.xml">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\CommonUpdater\VersionControl\VersionControl.csproj">
      <Project>{edc73c56-d0c5-4ac9-b296-3253915ef933}</Project>
      <Name>VersionControl</Name>
    </ProjectReference>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <PropertyGroup>
    <PostBuildEvent>xcopy "C:\Main\Workspace\VisualStudio\CommonUpdater\AutoUpdater\bin\x64\$(ConfigurationName)\" "$(TargetDir)AutoUpdater\" /S /Y
IF "$(ConfigurationName)"=="Release" GOTO PRE
GOTO END
:PRE
rd /Q/S "$(TargetDir)Settings" &amp;&amp; ren "$(TargetDir)ReleaseSettings" "Settings"
GOTO END
:END
xcopy "$(TargetDir)Settings\UpdaterSetting.xml" "$(TargetDir)AutoUpdater\Settings\UpdaterSetting.xml" /Y
</PostBuildEvent>
  </PropertyGroup>
</Project>