Skip to content

Commit 6968087

Browse files
committed
feat: convert project to sdk-style and upload to nuget
1 parent fb0a8f6 commit 6968087

5 files changed

Lines changed: 32 additions & 121 deletions

File tree

DataVirtualization.sln

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.6.33723.286
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataVirtualization", "DataVirtualization\DataVirtualization.csproj", "{48E0EB7C-30B3-4A98-89BC-732039BEF625}"
7-
EndProject
86
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataVirtualizationDemo", "DataVirtualizationDemo\DataVirtualizationDemo.csproj", "{722DDA67-EA49-4A83-BC07-0739C1A608A5}"
97
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataVirtualization", "DataVirtualization\DataVirtualization.csproj", "{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}"
9+
EndProject
1010
Global
1111
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1212
Debug|Any CPU = Debug|Any CPU
1313
Release|Any CPU = Release|Any CPU
1414
EndGlobalSection
1515
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16-
{48E0EB7C-30B3-4A98-89BC-732039BEF625}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17-
{48E0EB7C-30B3-4A98-89BC-732039BEF625}.Debug|Any CPU.Build.0 = Debug|Any CPU
18-
{48E0EB7C-30B3-4A98-89BC-732039BEF625}.Release|Any CPU.ActiveCfg = Release|Any CPU
19-
{48E0EB7C-30B3-4A98-89BC-732039BEF625}.Release|Any CPU.Build.0 = Release|Any CPU
2016
{722DDA67-EA49-4A83-BC07-0739C1A608A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2117
{722DDA67-EA49-4A83-BC07-0739C1A608A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
2218
{722DDA67-EA49-4A83-BC07-0739C1A608A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
2319
{722DDA67-EA49-4A83-BC07-0739C1A608A5}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}.Release|Any CPU.Build.0 = Release|Any CPU
2424
EndGlobalSection
2525
GlobalSection(SolutionProperties) = preSolution
2626
HideSolutionNode = FALSE
Lines changed: 24 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,31 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
2+
33
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>9.0.30729</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{48E0EB7C-30B3-4A98-89BC-732039BEF625}</ProjectGuid>
9-
<OutputType>Library</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
114
<RootNamespace>DevZest.Windows.DataVirtualization</RootNamespace>
125
<AssemblyName>DevZest.DataVirtualization</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14-
<FileAlignment>512</FileAlignment>
15-
<SignAssembly>true</SignAssembly>
6+
<TargetFrameworks>net35;net40</TargetFrameworks>
7+
<UseWPF>true</UseWPF>
8+
<SignAssembly>True</SignAssembly>
169
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
17-
<FileUpgradeFlags>
18-
</FileUpgradeFlags>
19-
<UpgradeBackupLocation>
20-
</UpgradeBackupLocation>
21-
<OldToolsVersion>3.5</OldToolsVersion>
10+
<PackageReadmeFile>README.md</PackageReadmeFile>
11+
<RepositoryUrl>https://github.com/Chaoses-Ib/DevZest.DataVirtualization.git</RepositoryUrl>
12+
<Title>DevZest Data Virtualization for WPF</Title>
13+
<Copyright>Copyright © 2010, DevZest</Copyright>
14+
<Description>Component for displaying and interacting a large data set in WPF application.</Description>
15+
<Product>DevZest Data Virtualization for WPF</Product>
16+
<Version>0.2.0</Version>
17+
<PackageProjectUrl>https://github.com/Chaoses-Ib/DevZest.DataVirtualization</PackageProjectUrl>
18+
<PackageTags>wpf data virtualization collectionview datagrid gridview</PackageTags>
19+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
20+
<Authors>DevZest, Chaoses</Authors>
21+
<RepositoryType>git</RepositoryType>
2222
</PropertyGroup>
23-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
24-
<DebugSymbols>true</DebugSymbols>
25-
<DebugType>full</DebugType>
26-
<Optimize>false</Optimize>
27-
<OutputPath>bin\Debug\</OutputPath>
28-
<DefineConstants>DEBUG;TRACE</DefineConstants>
29-
<ErrorReport>prompt</ErrorReport>
30-
<WarningLevel>4</WarningLevel>
31-
</PropertyGroup>
32-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
33-
<DebugType>pdbonly</DebugType>
34-
<Optimize>true</Optimize>
35-
<OutputPath>bin\Release\</OutputPath>
36-
<DefineConstants>TRACE</DefineConstants>
37-
<ErrorReport>prompt</ErrorReport>
38-
<WarningLevel>4</WarningLevel>
39-
</PropertyGroup>
40-
<ItemGroup>
41-
<Reference Include="PresentationCore">
42-
<RequiredTargetFramework>3.0</RequiredTargetFramework>
43-
</Reference>
44-
<Reference Include="PresentationFramework">
45-
<RequiredTargetFramework>3.0</RequiredTargetFramework>
46-
</Reference>
47-
<Reference Include="System" />
48-
<Reference Include="System.Core">
49-
<RequiredTargetFramework>3.5</RequiredTargetFramework>
50-
</Reference>
51-
<Reference Include="WindowsBase">
52-
<RequiredTargetFramework>3.0</RequiredTargetFramework>
53-
</Reference>
54-
</ItemGroup>
55-
<ItemGroup>
56-
<Compile Include="AdornerManager.cs" />
57-
<Compile Include="AdornerManager.DecoratorAdorner.cs" />
58-
<Compile Include="GridViewSort.cs" />
59-
<Compile Include="IVirtualListLoader.cs" />
60-
<Compile Include="LoadingAnimation.xaml.cs">
61-
<DependentUpon>LoadingAnimation.xaml</DependentUpon>
62-
</Compile>
63-
<Compile Include="LoadingAnimationBlock.xaml.cs">
64-
<DependentUpon>LoadingAnimationBlock.xaml</DependentUpon>
65-
</Compile>
66-
<Compile Include="Properties\AssemblyInfo.cs" />
67-
<Compile Include="QueuedBackgroundWorker.cs" />
68-
<Compile Include="SortOrder.cs" />
69-
<Compile Include="VirtualList.cs" />
70-
<Compile Include="VirtualList.ICollectionView.cs" />
71-
<Compile Include="VirtualListItem.cs" />
72-
<Compile Include="VirtualListItemBase.cs" />
73-
<Compile Include="VirtualListLoadingIndicator.cs" />
74-
</ItemGroup>
75-
<ItemGroup>
76-
<Page Include="LoadingAnimation.xaml">
77-
<Generator>MSBuild:Compile</Generator>
78-
<SubType>Designer</SubType>
79-
</Page>
80-
<Page Include="LoadingAnimationBlock.xaml">
81-
<Generator>MSBuild:Compile</Generator>
82-
<SubType>Designer</SubType>
83-
</Page>
84-
<Page Include="Themes\Generic.xaml">
85-
<Generator>MSBuild:Compile</Generator>
86-
<SubType>Designer</SubType>
87-
</Page>
88-
</ItemGroup>
23+
8924
<ItemGroup>
90-
<None Include="Key.snk" />
25+
<None Include="..\README.md">
26+
<Pack>True</Pack>
27+
<PackagePath>\</PackagePath>
28+
</None>
9129
</ItemGroup>
92-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
93-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
94-
Other similar extension points exist, see Microsoft.Common.targets.
95-
<Target Name="BeforeBuild">
96-
</Target>
97-
<Target Name="AfterBuild">
98-
</Target>
99-
-->
100-
</Project>
30+
31+
</Project>

DataVirtualization/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44
using System.Security;
55
using System.Windows;
66

7-
// General Information about an assembly is controlled through the following
8-
// set of attributes. Change these attribute values to modify the information
9-
// associated with an assembly.
10-
[assembly: AssemblyTitle("DevZest Data Virtualization for WPF")]
11-
[assembly: AssemblyDescription("")]
12-
[assembly: AssemblyConfiguration("")]
13-
[assembly: AssemblyCompany("")]
14-
[assembly: AssemblyProduct("DevZest Data Virtualization for WPF")]
15-
[assembly: AssemblyCopyright("Copyright © 2010, DevZest")]
167
[assembly: AssemblyTrademark("")]
178
[assembly: AssemblyCulture("")]
189

@@ -24,18 +15,6 @@
2415
// The following GUID is for the ID of the typelib if this project is exposed to COM
2516
[assembly: Guid("afc1dc69-78c5-4d77-a277-ad0595ef29af")]
2617

27-
// Version information for an assembly consists of the following four values:
28-
//
29-
// Major Version
30-
// Minor Version
31-
// Build Number
32-
// Revision
33-
//
34-
// You can specify all the values or you can default the Build and Revision Numbers
35-
// by using the '*' as shown below:
36-
// [assembly: AssemblyVersion("1.0.*")]
37-
[assembly: AssemblyVersion("1.0.0.0")]
38-
[assembly: AssemblyFileVersion("1.0.0.0")]
3918
[assembly: AllowPartiallyTrustedCallers]
4019

4120
[assembly: ThemeInfo(ResourceDictionaryLocation.SourceAssembly, ResourceDictionaryLocation.SourceAssembly)]

DataVirtualizationDemo/DataVirtualizationDemo.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
</ItemGroup>
9696
<ItemGroup>
9797
<ProjectReference Include="..\DataVirtualization\DataVirtualization.csproj">
98-
<Project>{48E0EB7C-30B3-4A98-89BC-732039BEF625}</Project>
98+
<Project>{cd8391c9-df86-4791-91e6-e5a45e7a3f06}</Project>
9999
<Name>DataVirtualization</Name>
100100
</ProjectReference>
101101
</ItemGroup>

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# DevZest.DataVirtualization
2+
[![NuGet](http://img.shields.io/nuget/v/DevZest.DataVirtualization.svg)](https://www.nuget.org/packages/DevZest.DataVirtualization)
23

34
> The original post can be accessed from Internet Archive: [The DevZest Blog | WPF Data Virtualization](http://web.archive.org/web/20180814144210/http://www.devzest.com:80/blog/post/WPF-Data-Virtualization.aspx)
45

0 commit comments

Comments
 (0)