Major upgrade
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
<UseWPF>true</UseWPF>
|
||||
<SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
|
||||
@@ -29,25 +30,6 @@
|
||||
<PackageReference Include="MSTest.TestFramework">
|
||||
<Version>3.0.2</Version>
|
||||
</PackageReference>
|
||||
|
||||
<COMReference Include="Microsoft.Office.Core">
|
||||
<Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid>
|
||||
<VersionMajor>2</VersionMajor>
|
||||
<VersionMinor>8</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>primary</WrapperTool>
|
||||
<Isolated>False</Isolated>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</COMReference>
|
||||
<COMReference Include="Microsoft.Office.Interop.Excel">
|
||||
<Guid>{00020813-0000-0000-C000-000000000046}</Guid>
|
||||
<VersionMajor>1</VersionMajor>
|
||||
<VersionMinor>9</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>primary</WrapperTool>
|
||||
<Isolated>False</Isolated>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Copy pdb files for DLLs in nuget packages to output directory-->
|
||||
@@ -66,32 +48,22 @@
|
||||
<Reference Include="System.Windows" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Program" Version="1.0.0" />
|
||||
</ItemGroup>
|
||||
-->
|
||||
|
||||
<Target Name="CopyFiles" AfterTargets="AfterBuild">
|
||||
<ItemGroup>
|
||||
<FILES_1 Include="..\Program\Dependencies\*.*" />
|
||||
<FILES_2 Include="..\Program\InstrumentConfigFiles\*.*" />
|
||||
<FILES_3 Include="..\Program\TestMethodConfigFiles\*.*" />
|
||||
<FILES_4 Include="..\Program\Dependencies\RINSS\*.*" />
|
||||
<FILES_2 Include="..\Program\ConfigFiles\**\*.*" />
|
||||
<FILES_3 Include="..\Program\Dependencies\RINSS\*.*" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(FILES_1)" DestinationFolder="$(OutDir)" />
|
||||
<Copy SourceFiles="@(FILES_2)" DestinationFolder="$(OutDir)InstrumentConfig" />
|
||||
<Copy SourceFiles="@(FILES_3)" DestinationFolder="$(OutDir)TestMethodConfig" />
|
||||
<Copy SourceFiles="@(FILES_4)" DestinationFolder="$(OutDir)RINSS" />
|
||||
<Copy SourceFiles="..\Program\ProgramConfigFiles\config.ini" DestinationFolder="$(OutDir)" />
|
||||
<Copy SourceFiles="..\Program\MiscConfigFiles\NLog.config" DestinationFolder="$(OutDir)" />
|
||||
<Copy SourceFiles="@(FILES_2)" DestinationFolder="$(OutDir)ConfigFiles\%(RecursiveDir)" />
|
||||
<Copy SourceFiles="@(FILES_3)" DestinationFolder="$(OutDir)RINSS" />
|
||||
<Copy SourceFiles="$(OutDir)ConfigFiles\NLog.config" DestinationFolder="$(OutDir)" />
|
||||
<Delete Files="$(OutDir)ConfigFiles\NLog.config" />
|
||||
</Target>
|
||||
|
||||
<Target Name="ProjClean" AfterTargets="AfterClean">
|
||||
<RemoveDir Directories="$(OutDir)InstrumentConfig" />
|
||||
<RemoveDir Directories="$(OutDir)TestMethodConfig" />
|
||||
<RemoveDir Directories="$(OutDir)ConfigFiles" />
|
||||
<RemoveDir Directories="$(OutDir)RINSS" />
|
||||
<Delete Files="$(OutDir)config.ini" />
|
||||
<Delete Files="$(OutDir)NLog.config" />
|
||||
<Delete Files="$(OutDir)NLogWrapper.Part.dll" />
|
||||
</Target>
|
||||
|
||||
Reference in New Issue
Block a user