Skip to content

Commit

Permalink
feat: convert project to sdk-style and upload to nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaoses-Ib committed Aug 26, 2023
1 parent fb0a8f6 commit 6968087
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 121 deletions.
12 changes: 6 additions & 6 deletions DataVirtualization.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33723.286
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataVirtualization", "DataVirtualization\DataVirtualization.csproj", "{48E0EB7C-30B3-4A98-89BC-732039BEF625}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataVirtualizationDemo", "DataVirtualizationDemo\DataVirtualizationDemo.csproj", "{722DDA67-EA49-4A83-BC07-0739C1A608A5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataVirtualization", "DataVirtualization\DataVirtualization.csproj", "{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{48E0EB7C-30B3-4A98-89BC-732039BEF625}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{48E0EB7C-30B3-4A98-89BC-732039BEF625}.Debug|Any CPU.Build.0 = Debug|Any CPU
{48E0EB7C-30B3-4A98-89BC-732039BEF625}.Release|Any CPU.ActiveCfg = Release|Any CPU
{48E0EB7C-30B3-4A98-89BC-732039BEF625}.Release|Any CPU.Build.0 = Release|Any CPU
{722DDA67-EA49-4A83-BC07-0739C1A608A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{722DDA67-EA49-4A83-BC07-0739C1A608A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{722DDA67-EA49-4A83-BC07-0739C1A608A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{722DDA67-EA49-4A83-BC07-0739C1A608A5}.Release|Any CPU.Build.0 = Release|Any CPU
{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CD8391C9-DF86-4791-91E6-E5A45E7A3F06}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
117 changes: 24 additions & 93 deletions DataVirtualization/DataVirtualization.csproj
Original file line number Diff line number Diff line change
@@ -1,100 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{48E0EB7C-30B3-4A98-89BC-732039BEF625}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DevZest.Windows.DataVirtualization</RootNamespace>
<AssemblyName>DevZest.DataVirtualization</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SignAssembly>true</SignAssembly>
<TargetFrameworks>net35;net40</TargetFrameworks>
<UseWPF>true</UseWPF>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/Chaoses-Ib/DevZest.DataVirtualization.git</RepositoryUrl>
<Title>DevZest Data Virtualization for WPF</Title>
<Copyright>Copyright © 2010, DevZest</Copyright>
<Description>Component for displaying and interacting a large data set in WPF application.</Description>
<Product>DevZest Data Virtualization for WPF</Product>
<Version>0.2.0</Version>
<PackageProjectUrl>https://github.com/Chaoses-Ib/DevZest.DataVirtualization</PackageProjectUrl>
<PackageTags>wpf data virtualization collectionview datagrid gridview</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Authors>DevZest, Chaoses</Authors>
<RepositoryType>git</RepositoryType>
</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>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationCore">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="PresentationFramework">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AdornerManager.cs" />
<Compile Include="AdornerManager.DecoratorAdorner.cs" />
<Compile Include="GridViewSort.cs" />
<Compile Include="IVirtualListLoader.cs" />
<Compile Include="LoadingAnimation.xaml.cs">
<DependentUpon>LoadingAnimation.xaml</DependentUpon>
</Compile>
<Compile Include="LoadingAnimationBlock.xaml.cs">
<DependentUpon>LoadingAnimationBlock.xaml</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="QueuedBackgroundWorker.cs" />
<Compile Include="SortOrder.cs" />
<Compile Include="VirtualList.cs" />
<Compile Include="VirtualList.ICollectionView.cs" />
<Compile Include="VirtualListItem.cs" />
<Compile Include="VirtualListItemBase.cs" />
<Compile Include="VirtualListLoadingIndicator.cs" />
</ItemGroup>
<ItemGroup>
<Page Include="LoadingAnimation.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="LoadingAnimationBlock.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Themes\Generic.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
</ItemGroup>

<ItemGroup>
<None Include="Key.snk" />
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

</Project>
21 changes: 0 additions & 21 deletions DataVirtualization/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@
using System.Security;
using System.Windows;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DevZest Data Virtualization for WPF")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DevZest Data Virtualization for WPF")]
[assembly: AssemblyCopyright("Copyright © 2010, DevZest")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

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

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AllowPartiallyTrustedCallers]

[assembly: ThemeInfo(ResourceDictionaryLocation.SourceAssembly, ResourceDictionaryLocation.SourceAssembly)]
2 changes: 1 addition & 1 deletion DataVirtualizationDemo/DataVirtualizationDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DataVirtualization\DataVirtualization.csproj">
<Project>{48E0EB7C-30B3-4A98-89BC-732039BEF625}</Project>
<Project>{cd8391c9-df86-4791-91e6-e5a45e7a3f06}</Project>
<Name>DataVirtualization</Name>
</ProjectReference>
</ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# DevZest.DataVirtualization
[![NuGet](http://img.shields.io/nuget/v/DevZest.DataVirtualization.svg)](https://www.nuget.org/packages/DevZest.DataVirtualization)

> 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)
Expand Down

0 comments on commit 6968087

Please sign in to comment.