Build improvements

This commit is contained in:
CreepyCrafter24 2019-12-01 15:14:40 +01:00
parent 6672c164db
commit 204313624e
2 changed files with 7 additions and 2 deletions

View File

@ -68,7 +68,7 @@ namespace cashew
{
ar.ExtractToDirectory(Path.Combine(Path.GetTempPath(), "Cashew\\Python"));
}
infoPanel.Text = "This Program uses:" + string.Join("", XDocument.Parse(Resources.packages).Element("packages").Elements("package").Select(s => "\r\n- " + s.Attribute("id").Value + " " + s.Attribute("version").Value));
infoPanel.Text = "This Program uses:" + string.Join("", XDocument.Parse(Resources.packages).Element("packages").Elements("package").Select(s => "\r\n- " + s.Attribute("id").Value + " " + s.Attribute("version").Value).OrderBy(s => s));
}
private void MAIN_Load(object sender, EventArgs e) => BringToFront();

View File

@ -28,7 +28,7 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
@ -218,4 +218,9 @@
</COMReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>cd $(TargetDir)
if $(ConfigurationName)==Release del *.xml
if $(ConfigurationName)==Release del *.pdb</PostBuildEvent>
</PropertyGroup>
</Project>