Skip to content

Commit 1848aed

Browse files
committed
Switch to new csproj
1 parent a68f575 commit 1848aed

File tree

10 files changed

+57
-450
lines changed

10 files changed

+57
-450
lines changed

Xceed.Document.NET/AssemblyVersionInfo.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
1313
1414
*************************************************************************************/
1515

16-
17-
#pragma warning disable 0436
18-
[assembly: System.Reflection.AssemblyVersion( _XceedVersionInfo.Version )]
19-
#pragma warning restore 0436
20-
2116
internal static class _XceedVersionInfo
2217
{
2318
[System.Diagnostics.CodeAnalysis.SuppressMessage( "Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields" )]

Xceed.Document.NET/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,6 @@ COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
1919
using System.Runtime.CompilerServices;
2020
using System.Runtime.InteropServices;
2121

22-
// General Information about an assembly is controlled through the following
23-
// set of attributes. Change these attribute values to modify the information
24-
// associated with an assembly.
25-
[assembly: AssemblyTitle( "Xceed Document for .NET" )]
26-
[assembly: AssemblyDescription( "This assembly implements the classes for Xceed Document for .NET." )]
27-
28-
[assembly: AssemblyCompany( "Xceed Software Inc." )]
29-
[assembly: AssemblyProduct( "Xceed Document for .NET" )]
30-
[assembly: AssemblyCopyright( "Copyright (C) Xceed Software Inc. 2009-2021" )]
31-
[assembly: AssemblyCulture("")]
32-
33-
34-
// Setting ComVisible to false makes the types in this assembly not visible
35-
// to COM components. If you need to access a type in this assembly from
36-
// COM, set the ComVisible attribute to true on that type.
37-
[assembly: ComVisible(false)]
38-
3922

4023
// Allow the Xceed.Words.NET to get at internal stuff.
4124
[assembly: InternalsVisibleTo( "Xceed.Words.NET" + ",PublicKey=" +
@@ -86,18 +69,3 @@ COMMUNITY LICENSE AGREEMENT (for non-commercial use) as published at
8669
"1b7452ee003b80b936614cdda51db8eb6f8fde913e67d45395b480a992be17bf04744a7fe803ea" +
8770
"131b925dcf84a73d22264352eca7c3fcf9387f3eee1d60ac7974f04866e6c72928dc0609abe341" +
8871
"f92cbfb5")]
89-
90-
91-
92-
93-
94-
95-
96-
97-
98-
#pragma warning disable 1699
99-
[assembly: AssemblyDelaySign( false )]
100-
[assembly: AssemblyKeyFile( @"..\..\sn.snk" )]
101-
[assembly: AssemblyKeyName( "" )]
102-
#pragma warning restore 1699
103-
Lines changed: 17 additions & 159 deletions
Original file line numberDiff line numberDiff line change
@@ -1,161 +1,24 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>9.0.21022</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{E863D072-AA8B-4108-B5F1-785241B37F67}</ProjectGuid>
9-
<OutputType>Library</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>Xceed.Document.NET</RootNamespace>
12-
<AssemblyName>Xceed.Document.NET</AssemblyName>
13-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14-
<FileAlignment>512</FileAlignment>
15-
<StartupObject>
16-
</StartupObject>
17-
<FileUpgradeFlags>
18-
</FileUpgradeFlags>
19-
<OldToolsVersion>3.5</OldToolsVersion>
20-
<UpgradeBackupLocation />
21-
<PublishUrl>publish\</PublishUrl>
22-
<Install>true</Install>
23-
<InstallFrom>Disk</InstallFrom>
24-
<UpdateEnabled>false</UpdateEnabled>
25-
<UpdateMode>Foreground</UpdateMode>
26-
<UpdateInterval>7</UpdateInterval>
27-
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
28-
<UpdatePeriodically>false</UpdatePeriodically>
29-
<UpdateRequired>false</UpdateRequired>
30-
<MapFileExtensions>true</MapFileExtensions>
31-
<ApplicationRevision>0</ApplicationRevision>
32-
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
33-
<IsWebBootstrapper>false</IsWebBootstrapper>
34-
<UseApplicationTrust>false</UseApplicationTrust>
35-
<BootstrapperEnabled>true</BootstrapperEnabled>
36-
<TargetFrameworkProfile>
37-
</TargetFrameworkProfile>
38-
</PropertyGroup>
39-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
40-
<DebugSymbols>true</DebugSymbols>
41-
<DebugType>full</DebugType>
42-
<Optimize>false</Optimize>
43-
<OutputPath>bin\Debug\</OutputPath>
44-
<DefineConstants>TRACE;DEBUG;NETFRAMEWORK</DefineConstants>
45-
<ErrorReport>prompt</ErrorReport>
46-
<WarningLevel>4</WarningLevel>
47-
<DocumentationFile>
48-
</DocumentationFile>
49-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
50-
<NoWarn>CS1591</NoWarn>
51-
</PropertyGroup>
52-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
53-
<DebugType>none</DebugType>
54-
<Optimize>true</Optimize>
55-
<OutputPath>bin\Release\</OutputPath>
56-
<DefineConstants>TRACE;NETFRAMEWORK</DefineConstants>
57-
<ErrorReport>prompt</ErrorReport>
58-
<WarningLevel>4</WarningLevel>
59-
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
60-
<DocumentationFile>
61-
</DocumentationFile>
62-
</PropertyGroup>
63-
<PropertyGroup>
64-
<SignAssembly>false</SignAssembly>
3+
<TargetFrameworks>net40</TargetFrameworks>
4+
5+
<AssemblyTitle>Xceed Document for .NET</AssemblyTitle>
6+
<Description>This assembly implements the classes for Xceed Document for .NET.</Description>
7+
<AssemblyVersion>2.0.0.0</AssemblyVersion>
8+
9+
<Company>Xceed Software Inc.</Company>
10+
<Product>Xceed Document for .NET</Product>
11+
<Copyright>Copyright (C) Xceed Software Inc. 2009-2021</Copyright>
6512
</PropertyGroup>
6613
<PropertyGroup>
67-
<AssemblyOriginatorKeyFile>
68-
</AssemblyOriginatorKeyFile>
14+
<SignAssembly>true</SignAssembly>
15+
<DelaySign>false</DelaySign>
16+
<AssemblyOriginatorKeyFile>sn.snk</AssemblyOriginatorKeyFile>
6917
</PropertyGroup>
70-
<ItemGroup>
71-
<Reference Include="System" />
72-
<Reference Include="System.Configuration" />
73-
<Reference Include="System.Core">
74-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
75-
</Reference>
76-
<Reference Include="System.Drawing" />
77-
<Reference Include="System.Xml" />
78-
<Reference Include="System.Xml.Linq">
79-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
80-
</Reference>
81-
<Reference Include="System.Data.DataSetExtensions">
82-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
83-
</Reference>
84-
<Reference Include="System.Data" />
85-
<Reference Include="WindowsBase">
86-
<RequiredTargetFramework>3.0</RequiredTargetFramework>
87-
</Reference>
88-
</ItemGroup>
89-
<ItemGroup>
90-
<Compile Include="AssemblyVersionInfo.cs" />
91-
<Compile Include="AssemblyVersionInfoCommon.cs" />
92-
<Compile Include="Src\Bookmark.cs" />
93-
<Compile Include="Src\BookmarkCollection.cs" />
94-
<Compile Include="Src\Border.cs" />
95-
<Compile Include="Src\Borders.cs" />
96-
<Compile Include="Src\Charts\Axis.cs" />
97-
<Compile Include="Src\Charts\BarChart.cs" />
98-
<Compile Include="Src\Charts\Chart.cs" />
99-
<Compile Include="Src\Charts\LineChart.cs" />
100-
<Compile Include="Src\Charts\PieChart.cs" />
101-
<Compile Include="Src\Charts\XElementHelpers.cs" />
102-
<Compile Include="Src\Container.cs" />
103-
<Compile Include="Src\Endnote.cs" />
104-
<Compile Include="Src\ExtensionsHeadings.cs" />
105-
<Compile Include="Src\Font.cs" />
106-
<Compile Include="Src\Footers.cs" />
107-
<Compile Include="Src\Footer.cs" />
108-
<Compile Include="Src\CustomProperty.cs" />
109-
<Compile Include="Src\DocProperty.cs" />
110-
<Compile Include="Src\Footnote.cs" />
111-
<Compile Include="Src\FormattedText.cs" />
112-
<Compile Include="Src\Header.cs" />
113-
<Compile Include="Src\Headers.cs" />
114-
<Compile Include="Src\HelperFunctions.cs" />
115-
<Compile Include="Src\Hyperlink.cs" />
116-
<Compile Include="Src\IParagraphContainer.cs" />
117-
<Compile Include="Src\List.cs" />
118-
<Compile Include="Src\Note.cs" />
119-
<Compile Include="Src\NoteProperties.cs" />
120-
<Compile Include="Src\PackagePartStream.cs" />
121-
<Compile Include="Src\PageLayout.cs" />
122-
<Compile Include="Src\Section.cs" />
123-
<Compile Include="Src\TableOfContents.cs" />
124-
<Compile Include="Utils\Exceptions\ThrowException.cs" />
125-
<Compile Include="Src\_BaseClasses.cs" />
126-
<Compile Include="Src\Table.cs" />
127-
<Compile Include="Src\_Enumerations.cs" />
128-
<Compile Include="Src\Formatting.cs" />
129-
<Compile Include="Src\Image.cs" />
130-
<Compile Include="Src\Picture.cs" />
131-
<Compile Include="Src\Paragraph.cs" />
132-
<Compile Include="Src\Document.cs" />
133-
<Compile Include="Properties\AssemblyInfo.cs" />
134-
<Compile Include="Src\_Extensions.cs">
135-
<SubType>Code</SubType>
136-
</Compile>
137-
</ItemGroup>
13818
<ItemGroup>
13919
<EmbeddedResource Include="Resources\default_styles.xml.gz" />
14020
<EmbeddedResource Include="Resources\styles.xml.gz" />
14121
</ItemGroup>
142-
<ItemGroup>
143-
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
144-
<Visible>False</Visible>
145-
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
146-
<Install>false</Install>
147-
</BootstrapperPackage>
148-
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
149-
<Visible>False</Visible>
150-
<ProductName>.NET Framework 3.5 SP1</ProductName>
151-
<Install>true</Install>
152-
</BootstrapperPackage>
153-
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
154-
<Visible>False</Visible>
155-
<ProductName>Windows Installer 3.1</ProductName>
156-
<Install>true</Install>
157-
</BootstrapperPackage>
158-
</ItemGroup>
15922
<ItemGroup>
16023
<EmbeddedResource Include="Resources\numbering.default_bullet_abstract.xml.gz" />
16124
<EmbeddedResource Include="Resources\numbering.default_decimal_abstract.xml.gz" />
@@ -164,12 +27,7 @@
16427
<ItemGroup>
16528
<EmbeddedResource Include="Resources\SignatureLine.emf" />
16629
</ItemGroup>
167-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
168-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
169-
Other similar extension points exist, see Microsoft.Common.targets.
170-
<Target Name="BeforeBuild">
171-
</Target>
172-
<Target Name="AfterBuild">
173-
</Target>
174-
-->
175-
</Project>
30+
<ItemGroup>
31+
<Reference Include="WindowsBase" />
32+
</ItemGroup>
33+
</Project>

Xceed.Words.NET.Examples/Program.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ namespace Xceed.Words.NET.Examples
1919
{
2020
public class Program
2121
{
22-
#if NETCORE || NET5
2322
internal const string SampleDirectory = @"..\..\..\Samples\";
24-
#else
25-
internal const string SampleDirectory = @"..\..\Samples\";
26-
#endif
2723

2824
private static void Main( string[] args )
2925
{

Xceed.Words.NET.Examples/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)