-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(Weasel.Setup): migrate csproj to SDK style
- Loading branch information
1 parent
8d8f53c
commit 327e415
Showing
5 changed files
with
20 additions
and
190 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,115 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="..\packages\ILRepack.2.0.36\build\ILRepack.props" Condition="Exists('..\packages\ILRepack.2.0.36\build\ILRepack.props')" /> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{2D028423-929D-4555-A61E-245BD9EC7383}</ProjectGuid> | ||
<OutputType>WinExe</OutputType> | ||
<RootNamespace>Weasel.Setup</RootNamespace> | ||
<AssemblyName>Weasel.Setup</AssemblyName> | ||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<Deterministic>true</Deterministic> | ||
<NuGetPackageImportStamp> | ||
</NuGetPackageImportStamp> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>$(SolutionDir)output\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
<PreferNativeArm64>true</PreferNativeArm64> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>$(SolutionDir)output\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
<PreferNativeArm64>true</PreferNativeArm64> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<ApplicationManifest>app.manifest</ApplicationManifest> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Microsoft.Build.Framework" /> | ||
<Reference Include="Microsoft.Build.Utilities.v4.0" /> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Deployment" /> | ||
<Reference Include="System.Drawing" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Windows.Forms" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Localization\Resources.Designer.cs"> | ||
<AutoGen>True</AutoGen> | ||
<DesignTime>True</DesignTime> | ||
<DependentUpon>Resources.resx</DependentUpon> | ||
</Compile> | ||
<Compile Include="SetupOptionDialog.cs"> | ||
<SubType>Form</SubType> | ||
</Compile> | ||
<Compile Include="SetupOptionDialog.Designer.cs"> | ||
<DependentUpon>SetupOptionDialog.cs</DependentUpon> | ||
</Compile> | ||
<Compile Include="PInvoke.cs" /> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Setup.cs" /> | ||
<Compile Include="Utils.cs" /> | ||
<EmbeddedResource Include="Localization\Resources.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="Localization\Resources.zh-Hans.resx" /> | ||
<EmbeddedResource Include="Localization\Resources.zh-Hant.resx" /> | ||
<EmbeddedResource Include="SetupOptionDialog.resx"> | ||
<DependentUpon>SetupOptionDialog.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="SetupOptionDialog.zh-Hans.resx"> | ||
<DependentUpon>SetupOptionDialog.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="SetupOptionDialog.zh-Hant.resx"> | ||
<DependentUpon>SetupOptionDialog.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<None Include="app.manifest" /> | ||
<None Include="Properties\Settings.settings"> | ||
<Generator>SettingsSingleFileGenerator</Generator> | ||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||
</None> | ||
<Compile Include="Properties\Settings.Designer.cs"> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Settings.settings</DependentUpon> | ||
<DesignTimeSharedInput>True</DesignTimeSharedInput> | ||
</Compile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="App.config" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Resource.Embedder"> | ||
<Version>2.2.0</Version> | ||
</PackageReference> | ||
<PackageReference Include="TSF.TypeLib.Update"> | ||
<Version>1.0.4</Version> | ||
</PackageReference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> | ||
<PropertyGroup> | ||
<TargetFramework>net48</TargetFramework> | ||
<UseWindowsForms>true</UseWindowsForms> | ||
<OutputType>WinExe</OutputType> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<OutputPath>$(SolutionDir)output\</OutputPath> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
<ApplicationManifest>app.manifest</ApplicationManifest> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<PreferNativeArm64>True</PreferNativeArm64> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<PreferNativeArm64>True</PreferNativeArm64> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Resource.Embedder" Version="2.2.0" /> | ||
<PackageReference Include="TSF.TypeLib.Update" Version="1.0.4" /> | ||
</ItemGroup> | ||
</Project> |