-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nah Visual Studio is kinda a hassle to maintain. Signed-off-by: net2cn <[email protected]>
- Loading branch information
Showing
4 changed files
with
46 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,44 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>WinExe</OutputType> | ||
<TargetFramework>net5.0-windows</TargetFramework> | ||
<RootNamespace>Real_ESRGAN_GUI</RootNamespace> | ||
<UseWPF>true</UseWPF> | ||
<Platforms>AnyCPU;x64</Platforms> | ||
<ApplicationIcon /> | ||
<StartupObject /> | ||
<SignAssembly>false</SignAssembly> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.ML.OnnxRuntime.DirectML" Version="1.11.0" /> | ||
<PackageReference Include="Microsoft.ML.OnnxRuntime.Managed" Version="1.11.0" /> | ||
<PackageReference Include="Ookii.Dialogs.Wpf" Version="5.0.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="models\realesrgan-x4plus.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="models\realesrgan-x4plus_anime_6B.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="models\realesrganv2-animevideo-xsx2.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="models\realesrganv2-animevideo-xsx4.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="models\realesrgan_x2plus.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Remove="C:\Users\mcope\.nuget\packages\microsoft.ai.directml\1.8.0\build\..\bin\x64-win\DirectML.Debug.dll" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Remove="C:\Users\mcope\.nuget\packages\microsoft.ai.directml\1.8.0\build\..\bin\x64-win\DirectML.Debug.pdb" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Remove="C:\Users\mcope\.nuget\packages\microsoft.ai.directml\1.8.0\build\..\bin\x64-win\DirectML.dll" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Content Remove="C:\Users\mcope\.nuget\packages\microsoft.ai.directml\1.8.0\build\..\bin\x64-win\DirectML.pdb" /> | ||
</ItemGroup> | ||
<PropertyGroup> | ||
<OutputType>WinExe</OutputType> | ||
<TargetFramework>net5.0-windows</TargetFramework> | ||
<RootNamespace>Real_ESRGAN_GUI</RootNamespace> | ||
<UseWPF>true</UseWPF> | ||
<StartupObject></StartupObject> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.ML.OnnxRuntime.DirectML" Version="1.11.0" /> | ||
<PackageReference Include="Microsoft.ML.OnnxRuntime.Managed" Version="1.11.0" /> | ||
<PackageReference Include="Ookii.Dialogs.Wpf" Version="5.0.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="models\realesrgan-x4plus.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="models\realesrgan-x4plus_anime_6B.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="models\realesrganv2-animevideo-xsx2.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="models\realesrganv2-animevideo-xsx4.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="models\realesrgan_x2plus.onnx"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
|
||
</Project> |