Changed build script
This commit is contained in:
parent
025db29599
commit
c0e7ce3692
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\64\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
|
||||||
<TargetFramework>net5.0-windows</TargetFramework>
|
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
||||||
<SelfContained>false</SelfContained>
|
|
||||||
<PublishSingleFile>True</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>False</PublishReadyToRun>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\86\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
|
||||||
<TargetFramework>net5.0-windows</TargetFramework>
|
|
||||||
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
|
|
||||||
<SelfContained>false</SelfContained>
|
|
||||||
<PublishSingleFile>True</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>False</PublishReadyToRun>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
@ -20,13 +20,13 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Remove="Resources\UI\**" />
|
<Compile Remove="Resources\**" />
|
||||||
<Compile Remove="RyzStudio3\**" />
|
<Compile Remove="RyzStudio3\**" />
|
||||||
<Compile Remove="RyzStudio\**" />
|
<Compile Remove="RyzStudio\**" />
|
||||||
<EmbeddedResource Remove="Resources\UI\**" />
|
<EmbeddedResource Remove="Resources\**" />
|
||||||
<EmbeddedResource Remove="RyzStudio3\**" />
|
<EmbeddedResource Remove="RyzStudio3\**" />
|
||||||
<EmbeddedResource Remove="RyzStudio\**" />
|
<EmbeddedResource Remove="RyzStudio\**" />
|
||||||
<None Remove="Resources\UI\**" />
|
<None Remove="Resources\**" />
|
||||||
<None Remove="RyzStudio3\**" />
|
<None Remove="RyzStudio3\**" />
|
||||||
<None Remove="RyzStudio\**" />
|
<None Remove="RyzStudio\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
@ -40,7 +40,8 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Remove="Resources\loading-block.gif" />
|
<None Remove=".gitignore" />
|
||||||
|
<None Remove="build.bat" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -62,10 +63,6 @@
|
|||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Resources\" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="RyzStudio3">
|
<Reference Include="RyzStudio3">
|
||||||
<HintPath>References\RyzStudio3.dll</HintPath>
|
<HintPath>References\RyzStudio3.dll</HintPath>
|
||||||
|
5
build.bat
Normal file
5
build.bat
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
rmdir /s /q "bin\Release\64\"
|
||||||
|
dotnet publish skye.sln -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="bin\Release\64\"
|
||||||
|
|
||||||
|
rmdir /s /q "bin\Release\86\"
|
||||||
|
dotnet publish skye.sln -r win-x86 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:PublishReadyToRunfalse=true /p:PublishDir="bin\Release\86\"
|
Loading…
Reference in New Issue
Block a user