|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | 4 | <OutputType>WinExe</OutputType> |
|
17 | 17 | <ItemGroup> |
18 | 18 | <Reference Include="DiskPartitionInfo"> |
19 | 19 | <HintPath>..\SharpExt4\DiskPartitionInfo.dll</HintPath> |
| 20 | + <Private>True</Private> |
20 | 21 | </Reference> |
21 | 22 | <Reference Include="SharpExt4"> |
22 | 23 | <HintPath>..\SharpExt4\SharpExt4.dll</HintPath> |
| 24 | + <Private>True</Private> |
23 | 25 | </Reference> |
24 | 26 | </ItemGroup> |
25 | 27 |
|
|
38 | 40 | </EmbeddedResource> |
39 | 41 | </ItemGroup> |
40 | 42 |
|
41 | | - <ItemGroup> |
42 | | - <None Update="SharpExt4\DiskPartitionInfo.dll"> |
43 | | - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
44 | | - </None> |
45 | | - <None Update="SharpExt4\Ijwhost.dll"> |
46 | | - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
47 | | - </None> |
48 | | - <None Update="SharpExt4\SharpExt4.dll"> |
49 | | - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
50 | | - </None> |
51 | | - </ItemGroup> |
| 43 | + <ItemGroup> |
| 44 | + <Content Include="..\SharpExt4\DiskPartitionInfo.dll"> |
| 45 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 46 | + <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> |
| 47 | + </Content> |
| 48 | + <Content Include="..\SharpExt4\SharpExt4.dll"> |
| 49 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 50 | + <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> |
| 51 | + </Content> |
| 52 | + <Content Include="..\SharpExt4\Ijwhost.dll"> |
| 53 | + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 54 | + <CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> |
| 55 | + </Content> |
| 56 | + </ItemGroup> |
| 57 | + |
| 58 | + |
52 | 59 |
|
53 | | - <Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
| 60 | + <Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
54 | 61 | <Exec Command="xcopy /Y /R /D "$(ProjectDir)..\SharpExt4\*.dll" "$(TargetDir)"" /> |
55 | 62 | </Target> |
56 | 63 |
|
|
0 commit comments