|
@@ -1,52 +1,52 @@
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
|
- <PropertyGroup>
|
|
|
- <OutputType>Exe</OutputType>
|
|
|
- <TargetFramework>net40</TargetFramework>
|
|
|
- <AssemblyName>SetupReiPatcherAndAutoTranslator</AssemblyName>
|
|
|
- <Version>2.12.0</Version>
|
|
|
- </PropertyGroup>
|
|
|
+ <PropertyGroup>
|
|
|
+ <OutputType>Exe</OutputType>
|
|
|
+ <TargetFramework>net40</TargetFramework>
|
|
|
+ <AssemblyName>SetupReiPatcherAndAutoTranslator</AssemblyName>
|
|
|
+ <Version>2.13.0</Version>
|
|
|
+ </PropertyGroup>
|
|
|
|
|
|
- <ItemGroup>
|
|
|
- <COMReference Include="Shell32.dll">
|
|
|
- <Guid>50a7e9b0-70ef-11d1-b75a-00a0c90564fe</Guid>
|
|
|
- <VersionMajor>1</VersionMajor>
|
|
|
- <VersionMinor>0</VersionMinor>
|
|
|
- <WrapperTool>tlbimp</WrapperTool>
|
|
|
- <Lcid>0</Lcid>
|
|
|
- <Isolated>false</Isolated>
|
|
|
- <EmbedInteropTypes>true</EmbedInteropTypes>
|
|
|
- <Private>false</Private>
|
|
|
- </COMReference>
|
|
|
- </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <COMReference Include="Shell32.dll">
|
|
|
+ <Guid>50a7e9b0-70ef-11d1-b75a-00a0c90564fe</Guid>
|
|
|
+ <VersionMajor>1</VersionMajor>
|
|
|
+ <VersionMinor>0</VersionMinor>
|
|
|
+ <WrapperTool>tlbimp</WrapperTool>
|
|
|
+ <Lcid>0</Lcid>
|
|
|
+ <Isolated>false</Isolated>
|
|
|
+ <EmbedInteropTypes>true</EmbedInteropTypes>
|
|
|
+ <Private>false</Private>
|
|
|
+ </COMReference>
|
|
|
+ </ItemGroup>
|
|
|
|
|
|
- <ItemGroup>
|
|
|
- <Reference Include="Microsoft.CSharp" />
|
|
|
- </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <Reference Include="Microsoft.CSharp" />
|
|
|
+ </ItemGroup>
|
|
|
|
|
|
- <ItemGroup>
|
|
|
- <Compile Update="Properties\Resources.Designer.cs">
|
|
|
- <DesignTime>True</DesignTime>
|
|
|
- <AutoGen>True</AutoGen>
|
|
|
- <DependentUpon>Resources.resx</DependentUpon>
|
|
|
- </Compile>
|
|
|
- </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <Compile Update="Properties\Resources.Designer.cs">
|
|
|
+ <DesignTime>True</DesignTime>
|
|
|
+ <AutoGen>True</AutoGen>
|
|
|
+ <DependentUpon>Resources.resx</DependentUpon>
|
|
|
+ </Compile>
|
|
|
+ </ItemGroup>
|
|
|
|
|
|
- <ItemGroup>
|
|
|
- <EmbeddedResource Update="Properties\Resources.resx">
|
|
|
- <Generator>ResXFileCodeGenerator</Generator>
|
|
|
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
|
- </EmbeddedResource>
|
|
|
- </ItemGroup>
|
|
|
+ <ItemGroup>
|
|
|
+ <EmbeddedResource Update="Properties\Resources.resx">
|
|
|
+ <Generator>ResXFileCodeGenerator</Generator>
|
|
|
+ <LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
|
+ </EmbeddedResource>
|
|
|
+ </ItemGroup>
|
|
|
|
|
|
- <Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
|
- <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
|
|
|
- <Output TaskParameter="Assemblies" ItemName="Targets" />
|
|
|
- </GetAssemblyIdentity>
|
|
|
- <ItemGroup>
|
|
|
- <VersionNumber Include="$([System.Text.RegularExpressions.Regex]::Replace("%(Targets.Version)", "^(.+?)(\.0+)$", "$1"))" />
|
|
|
- </ItemGroup>
|
|
|
- <Exec Command="if $(ConfigurationName) == Release (
 XCOPY /Y /I "$(TargetDir)$(TargetName)$(TargetExt)" "$(SolutionDir)dist\ReiPatcher\"
 powershell Compress-Archive -Path '$(SolutionDir)dist\ReiPatcher\$(TargetName)$(TargetExt)' -DestinationPath '$(SolutionDir)dist\ReiPatcher\XUnity.AutoTranslator-ReiPatcher-@(VersionNumber).zip' -Force)
)" />
|
|
|
- </Target>
|
|
|
+ <Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
|
+ <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
|
|
|
+ <Output TaskParameter="Assemblies" ItemName="Targets" />
|
|
|
+ </GetAssemblyIdentity>
|
|
|
+ <ItemGroup>
|
|
|
+ <VersionNumber Include="$([System.Text.RegularExpressions.Regex]::Replace("%(Targets.Version)", "^(.+?)(\.0+)$", "$1"))" />
|
|
|
+ </ItemGroup>
|
|
|
+ <Exec Command="if $(ConfigurationName) == Release (
 XCOPY /Y /I "$(TargetDir)$(TargetName)$(TargetExt)" "$(SolutionDir)dist\ReiPatcher\"
 powershell Compress-Archive -Path '$(SolutionDir)dist\ReiPatcher\$(TargetName)$(TargetExt)' -DestinationPath '$(SolutionDir)dist\ReiPatcher\XUnity.AutoTranslator-ReiPatcher-@(VersionNumber).zip' -Force)
)" />
|
|
|
+ </Target>
|
|
|
|
|
|
</Project>
|