123456789101112131415161718192021222324252627282930 |
- <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
- <PropertyGroup>
- <OutputType>WinExe</OutputType>
- <TargetFrameworks>net20;net40;net472;netcoreapp3.1</TargetFrameworks>
- <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
- <Version>1.5.2</Version>
- <UseWindowsForms>true</UseWindowsForms>
- </PropertyGroup>
-
- <ItemGroup Condition=" '$(TargetFramework)' == 'net20' ">
- <Reference Include="System.Windows.Forms" />
- </ItemGroup>
-
- <ItemGroup>
- <ProjectReference Include="..\DiskAccessLibrary.Win32\DiskAccessLibrary.Win32.csproj" />
- <ProjectReference Include="..\DiskAccessLibrary\DiskAccessLibrary.csproj" />
- <ProjectReference Include="..\ISCSI\ISCSI.csproj" />
- </ItemGroup>
- <ItemGroup>
- <EmbeddedResource Update="Win32\SelectPhysicalDiskForm.resx" ManifestResourceName="ISCSIConsole.SelectPhysicalDiskForm" />
- <EmbeddedResource Update="Win32\SelectVolumeForm.resx" ManifestResourceName="ISCSIConsole.SelectVolumeForm" />
- </ItemGroup>
- <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)' == 'Release' And '$(TargetFramework)' != 'netcoreapp3.1'">
- <Exec Command=""$(ProjectDir)ILMerge\ILMerge.bat" $(TargetFramework)" WorkingDirectory="$(ProjectDir)ILMerge" />
- </Target>
- </Project>
|