1
- <?xml version =" 1.0" encoding =" utf-8" ?>
2
- <Project ToolsVersion =" 14.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4
- <PropertyGroup >
5
- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6
- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
7
- <ProjectGuid >{E3006E35-D991-4BA3-98B7-FA65DB01C895}</ProjectGuid >
8
- <OutputType >Library</OutputType >
9
- <AppDesignerFolder >Properties</AppDesignerFolder >
10
- <RootNamespace >Ribbon</RootNamespace >
11
- <AssemblyName >Ribbon</AssemblyName >
12
- <TargetFrameworkVersion >v4.0</TargetFrameworkVersion >
13
- <FileAlignment >512</FileAlignment >
14
- </PropertyGroup >
15
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
16
- <DebugSymbols >true</DebugSymbols >
17
- <DebugType >full</DebugType >
18
- <Optimize >false</Optimize >
19
- <OutputPath >bin\Debug\</OutputPath >
20
- <DefineConstants >DEBUG;TRACE</DefineConstants >
21
- <ErrorReport >prompt</ErrorReport >
22
- <WarningLevel >4</WarningLevel >
23
- </PropertyGroup >
24
- <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
25
- <DebugType >pdbonly</DebugType >
26
- <Optimize >true</Optimize >
27
- <OutputPath >bin\Release\</OutputPath >
28
- <DefineConstants >TRACE</DefineConstants >
29
- <ErrorReport >prompt</ErrorReport >
30
- <WarningLevel >4</WarningLevel >
31
- </PropertyGroup >
32
- <ItemGroup >
33
- <Reference Include =" ExcelDna.Integration, Version=1.1.0.0, Culture=neutral, PublicKeyToken=f225e9659857edbe, processorArchitecture=MSIL" >
34
- <HintPath >packages\ExcelDna.Integration.1.1.0\lib\ExcelDna.Integration.dll</HintPath >
35
- </Reference >
36
- <Reference Include =" Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL" >
37
- <EmbedInteropTypes >True</EmbedInteropTypes >
38
- <HintPath >packages\ExcelDna.Interop.14.0.1\lib\Microsoft.Office.Interop.Excel.dll</HintPath >
39
- <Private >True</Private >
40
- </Reference >
41
- <Reference Include =" Microsoft.Vbe.Interop, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL" >
42
- <EmbedInteropTypes >True</EmbedInteropTypes >
43
- <HintPath >packages\ExcelDna.Interop.14.0.1\lib\Microsoft.Vbe.Interop.dll</HintPath >
44
- <Private >True</Private >
45
- </Reference >
46
- <Reference Include =" Office, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL" >
47
- <EmbedInteropTypes >True</EmbedInteropTypes >
48
- <HintPath >packages\ExcelDna.Interop.14.0.1\lib\Office.dll</HintPath >
49
- <Private >True</Private >
50
- </Reference >
51
- <Reference Include =" System" />
52
- <Reference Include =" System.Core" />
53
- <Reference Include =" System.Windows.Forms" />
54
- <Reference Include =" System.Xml.Linq" />
55
- <Reference Include =" System.Data.DataSetExtensions" />
56
- <Reference Include =" Microsoft.CSharp" />
57
- <Reference Include =" System.Data" />
58
- <Reference Include =" System.Xml" />
59
- </ItemGroup >
60
- <ItemGroup >
61
- <Compile Include =" DataWriter.cs" />
62
- <Compile Include =" Functions.cs" />
63
- <Compile Include =" Properties\AssemblyInfo.cs" />
64
- <Compile Include =" RibbonController.cs" />
65
- </ItemGroup >
66
- <ItemGroup >
67
- <None Include =" Properties\ExcelDna.Build.props" />
68
- <None Include =" Ribbon-AddIn.dna" />
69
- <None Include =" packages.config" />
70
- </ItemGroup >
71
- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
72
- <Import Project =" packages\ExcelDna.AddIn.1.1.1\build\ExcelDna.AddIn.targets" Condition =" Exists('packages\ExcelDna.AddIn.1.1.1\build\ExcelDna.AddIn.targets')" />
73
- <Target Name =" EnsureNuGetPackageBuildImports" BeforeTargets =" PrepareForBuild" >
74
- <PropertyGroup >
75
- <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 >
76
- </PropertyGroup >
77
- <Error Condition =" !Exists('packages\ExcelDna.AddIn.1.1.1\build\ExcelDna.AddIn.targets')" Text =" $([System.String]::Format('$(ErrorText)', 'packages\ExcelDna.AddIn.1.1.1\build\ExcelDna.AddIn.targets'))" />
78
- </Target >
79
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
80
- Other similar extension points exist, see Microsoft.Common.targets.
81
- <Target Name="BeforeBuild">
82
- </Target>
83
- <Target Name="AfterBuild">
84
- </Target>
85
- -->
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
+
3
+ <PropertyGroup >
4
+ <TargetFrameworks >net472;net6.0-windows</TargetFrameworks >
5
+ <UseWindowsForms >true</UseWindowsForms >
6
+ </PropertyGroup >
7
+
8
+ <ItemGroup >
9
+ <PackageReference Include =" ExcelDna.Addin" Version =" *-*" />
10
+ <PackageReference Include =" ExcelDna.Interop" Version =" *-*" />
11
+ </ItemGroup >
12
+
13
+ <ItemGroup >
14
+ <Folder Include =" Properties\" />
15
+ </ItemGroup >
16
+
86
17
</Project >
0 commit comments