diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-02-08 15:59:30 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-02-08 15:59:30 +0300 |
commit | 01b2e4665136e519d3b35ca4cd1199d8616a4b85 (patch) | |
tree | fb4d4accb4d6fef67fac4a06b8f2c862bb6b5f7d /src/RhSolutions.csproj | |
parent | 69b336f2d51da40bbc299af276d350288ba0fc3b (diff) |
Move to .net6
Diffstat (limited to 'src/RhSolutions.csproj')
-rw-r--r-- | src/RhSolutions.csproj | 117 |
1 files changed, 11 insertions, 106 deletions
diff --git a/src/RhSolutions.csproj b/src/RhSolutions.csproj index 9d07f05..8aa73cc 100644 --- a/src/RhSolutions.csproj +++ b/src/RhSolutions.csproj @@ -1,126 +1,31 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <Import Project="..\packages\ExcelDna.AddIn.1.6.0\build\ExcelDna.AddIn.props" Condition="Exists('..\packages\ExcelDna.AddIn.1.6.0\build\ExcelDna.AddIn.props')" /> - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> +<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProjectGuid>{18A2FF67-0E46-4A86-B872-29F2B3F23ADF}</ProjectGuid> + <TargetFramework>net6.0-windows</TargetFramework> <OutputType>Library</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>RhSolutions.AddIn</RootNamespace> <AssemblyName>RhSolutions.AddIn</AssemblyName> - <TargetFrameworkVersion>v4.8</TargetFrameworkVersion> - <FileAlignment>512</FileAlignment> - <Deterministic>true</Deterministic> - <NuGetPackageImportStamp> - </NuGetPackageImportStamp> - <TargetFrameworkProfile /> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> + <GenerateAssemblyInfo>false</GenerateAssemblyInfo> + <UseWindowsForms>true</UseWindowsForms> + <ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets> </PropertyGroup> <PropertyGroup> <StartupObject /> </PropertyGroup> <ItemGroup> - <Reference Include="ExcelDna.Integration, Version=1.1.0.0, Culture=neutral, PublicKeyToken=f225e9659857edbe, processorArchitecture=MSIL"> - <HintPath>..\packages\ExcelDna.Integration.1.6.0\lib\net452\ExcelDna.Integration.dll</HintPath> - </Reference> - <Reference Include="ExcelDna.IntelliSense, Version=1.1.0.0, Culture=neutral, PublicKeyToken=f225e9659857edbe, processorArchitecture=MSIL"> - <HintPath>..\packages\ExcelDna.IntelliSense.1.6.0\lib\net452\ExcelDna.IntelliSense.dll</HintPath> - </Reference> - <Reference Include="Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL"> - <HintPath>..\packages\ExcelDna.Interop.15.0.0\lib\net452\Microsoft.Office.Interop.Excel.dll</HintPath> - <EmbedInteropTypes>True</EmbedInteropTypes> - </Reference> - <Reference Include="Microsoft.Vbe.Interop, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL"> - <HintPath>..\packages\ExcelDna.Interop.15.0.0\lib\net452\Microsoft.Vbe.Interop.dll</HintPath> - <EmbedInteropTypes>True</EmbedInteropTypes> - </Reference> - <Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> - <HintPath>..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll</HintPath> - </Reference> - <Reference Include="Office, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL"> - <HintPath>..\packages\ExcelDna.Interop.15.0.0\lib\net452\Office.dll</HintPath> - <EmbedInteropTypes>True</EmbedInteropTypes> - </Reference> - <Reference Include="System" /> - <Reference Include="System.Configuration" /> - <Reference Include="System.Core" /> <Reference Include="System.Data.OracleClient" /> - <Reference Include="System.Drawing" /> <Reference Include="System.Net" /> - <Reference Include="System.Numerics" /> - <Reference Include="System.Runtime.Caching" /> <Reference Include="System.Security" /> <Reference Include="System.ServiceProcess" /> <Reference Include="System.Transactions" /> - <Reference Include="System.Windows.Forms" /> - <Reference Include="System.Xml.Linq" /> - <Reference Include="System.Data.DataSetExtensions" /> - <Reference Include="Microsoft.CSharp" /> - <Reference Include="System.Data" /> - <Reference Include="System.Net.Http" /> - <Reference Include="System.Xml" /> - <Reference Include="WindowsBase" /> </ItemGroup> <ItemGroup> - <Compile Include="Services\EventsUtil.cs" /> - <Compile Include="Services\RhDatabaseClient.cs" /> - <Compile Include="Models\Sku.cs" /> - <Compile Include="Models\StatusbarBase.cs" /> - <Compile Include="Models\Dialog.cs" /> - <Compile Include="Services\RegistryUtil.cs" /> - <Compile Include="Models\ProgressBar.cs" /> - <Compile Include="Models\ResultBar.cs" /> - <Compile Include="Controllers\CombineTool.cs" /> - <Compile Include="Controllers\ConvertTool.cs" /> - <Compile Include="Models\Product.cs" /> - <Compile Include="Controllers\ToolBase.cs" /> - <Compile Include="Controllers\MergeTool.cs" /> - <Compile Include="Models\PriceListBase.cs" /> - <Compile Include="Models\PriceListHeaders.cs" /> - <Compile Include="Models\SourcePriceList.cs" /> - <Compile Include="Models\TargetPriceList.cs" /> - <Compile Include="Controllers\RibbonController.cs" /> - <Compile Include="Controllers\ExportTool.cs" /> - <Compile Include="AddIn\RhSolutionsAddIn.cs" /> - <Compile Include="AddIn\Functions.cs" /> - <Compile Include="Models\WorksheetExtensions.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> + <PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> </ItemGroup> <ItemGroup> - <None Include="app.config" /> - <None Include="RhSolutions-AddIn.dna" /> - <None Include="packages.config" /> - <None Include="Properties\ExcelDna.Build.props" /> + <PackageReference Include="ExcelDna.AddIn" Version="1.6.0" /> + <PackageReference Include="ExcelDna.IntelliSense" Version="1.6.0" /> + <PackageReference Include="ExcelDna.Interop" Version="15.0.0" /> + <PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> + <PackageReference Include="Newtonsoft.Json" Version="13.0.2" /> </ItemGroup> - <ItemGroup /> - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> - <Import Project="packages\ExcelDna.AddIn.1.5.1\build\ExcelDna.AddIn.targets" Condition="Exists('packages\ExcelDna.AddIn.1.5.1\build\ExcelDna.AddIn.targets')" /> - <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> - <PropertyGroup> - <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> - </PropertyGroup> - <Error Condition="!Exists('..\packages\ExcelDna.Interop.15.0.0\build\ExcelDna.Interop.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ExcelDna.Interop.15.0.0\build\ExcelDna.Interop.targets'))" /> - <Error Condition="!Exists('..\packages\ExcelDna.AddIn.1.6.0\build\ExcelDna.AddIn.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ExcelDna.AddIn.1.6.0\build\ExcelDna.AddIn.props'))" /> - <Error Condition="!Exists('..\packages\ExcelDna.AddIn.1.6.0\build\ExcelDna.AddIn.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ExcelDna.AddIn.1.6.0\build\ExcelDna.AddIn.targets'))" /> - </Target> - <Import Project="..\packages\ExcelDna.Interop.15.0.0\build\ExcelDna.Interop.targets" Condition="Exists('..\packages\ExcelDna.Interop.15.0.0\build\ExcelDna.Interop.targets')" /> - <Import Project="..\packages\ExcelDna.AddIn.1.6.0\build\ExcelDna.AddIn.targets" Condition="Exists('..\packages\ExcelDna.AddIn.1.6.0\build\ExcelDna.AddIn.targets')" /> </Project>
\ No newline at end of file |