Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPF-925456 - Sample for create the KB for indexing contents #90

Merged
merged 2 commits into from
Dec 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
</startup>

</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Application x:Class="StencilDiagramElements.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:StencilDiagramElements"
StartupUri="MainWindow.xaml">
<Application.Resources>

</Application.Resources>
</Application>
11 changes: 11 additions & 0 deletions Samples/Stencil/CollapseVisibility/CollapseVisibility/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System.Windows;

namespace StencilDiagramElements
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E15DB11B-274C-4738-89B9-D2D15A51B8FE}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>StencilDiagramElements</RootNamespace>
<AssemblyName>StencilDiagramElements</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<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' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Syncfusion.Licensing" Version="*" />
<PackageReference Include="Syncfusion.SfDiagram.WPF" Version="*" />
<PackageReference Include="Syncfusion.Shared.WPF" Version="*" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.12.35209.166
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CollapseVisibility_462", "CollapseVisibility_462.csproj", "{E15DB11B-274C-4738-89B9-D2D15A51B8FE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E15DB11B-274C-4738-89B9-D2D15A51B8FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E15DB11B-274C-4738-89B9-D2D15A51B8FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E15DB11B-274C-4738-89B9-D2D15A51B8FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E15DB11B-274C-4738-89B9-D2D15A51B8FE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5E712F1A-8FC2-479C-B0F1-918FAA8313B2}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<UseWPF>true</UseWPF>
<EnableDefaultEmbeddedResourceItems>False</EnableDefaultEmbeddedResourceItems>
<EnableDefaultItems>false</EnableDefaultItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AssemblyName>StencilDiagramElements</AssemblyName>
<RootNamespace>StencilDiagramElements</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;NET50</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;NET50</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Xml|AnyCPU'">
<DefineConstants>TRACE;NET50</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Remove="obj\**" />
<Compile Remove="obj_45\**" />
<Compile Remove="obj_462\**" />
<Compile Remove="obj_50\**" />
<Compile Remove="obj_60\**" />
<Compile Remove="obj_70\**" />
<Compile Remove="obj_80\**" />
<Compile Remove="obj_90\**" />
<EmbeddedResource Remove="obj\**" />
<EmbeddedResource Remove="obj_45\**" />
<EmbeddedResource Remove="obj_462\**" />
<EmbeddedResource Remove="obj_50\**" />
<EmbeddedResource Remove="obj_60\**" />
<EmbeddedResource Remove="obj_70\**" />
<EmbeddedResource Remove="obj_80\**" />
<EmbeddedResource Remove="obj_90\**" />
<None Remove="obj\**" />
<None Remove="obj_45\**" />
<None Remove="obj_462\**" />
<None Remove="obj_50\**" />
<None Remove="obj_60\**" />
<None Remove="obj_70\**" />
<None Remove="obj_80\**" />
<None Remove="obj_90\**" />
<Page Remove="obj\**" />
<Page Remove="obj_45\**" />
<Page Remove="obj_462\**" />
<Page Remove="obj_50\**" />
<Page Remove="obj_60\**" />
<None Remove="obj_70\**" />
<None Remove="obj_80\**" />
<None Remove="obj_90\**" />
<None Remove="packages.config" />
<None Remove="Properties\Settings.settings" />
<None Include="Properties\Settings.settings" />
<None Remove="App.config" />
<None Include="App.config" />
<None Remove="projectgenerator\ProjectGeneratorApp\.vs\ProjectGeneratorApp\FileContentIndex\5149a3c2-3e56-4785-bdb6-a8ff77e22832.vsidx" />
<None Remove="projectgenerator\ProjectGeneratorApp\.vs\ProjectGeneratorApp\FileContentIndex\77753333-a586-4a69-a38d-ca09116a7918.vsidx" />
<None Remove="projectgenerator\ProjectGeneratorApp\.vs\ProjectGeneratorApp\FileContentIndex\b2aa208f-623d-4d5e-af80-ae63a6b18c2c.vsidx" />
<None Remove="projectgenerator\ProjectGeneratorApp\.vs\ProjectGeneratorApp\v17\.suo" />
<None Remove="projectgenerator\ProjectGeneratorApp\.vs\ProjectGeneratorApp\v17\DocumentLayout.backup.json" />
<None Remove="projectgenerator\ProjectGeneratorApp\.vs\ProjectGeneratorApp\v17\DocumentLayout.json" />
<None Remove="projectgenerator\ProjectGeneratorApp\bin\Debug\DocCoreProjTemplate.xml" />
<None Remove="projectgenerator\ProjectGeneratorApp\bin\Debug\ExcludeProject.xml" />
<None Remove="projectgenerator\ProjectGeneratorApp\bin\Debug\ProjectGeneratorApp.exe" />
<None Remove="projectgenerator\ProjectGeneratorApp\bin\Debug\ProjectGeneratorApp.exe.config" />
<None Remove="projectgenerator\ProjectGeneratorApp\bin\Debug\ProjectGeneratorApp.pdb" />
<None Remove="projectgenerator\ProjectGeneratorApp\bin\Debug\ProjectorGeneratorLibrary.dll" />
<None Remove="projectgenerator\ProjectGeneratorApp\bin\Debug\ProjectorGeneratorLibrary.pdb" />
<Compile Remove="projectgenerator\ProjectGeneratorApp\obj\Debug\.NETFramework,Version=v4.7.AssemblyAttributes.cs" />
<None Remove="projectgenerator\ProjectGeneratorApp\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache" />
<None Remove="projectgenerator\ProjectGeneratorApp\obj\Debug\ProjectG.60F4F1BA.Up2Date" />
<None Remove="projectgenerator\ProjectGeneratorApp\obj\Debug\ProjectGeneratorApp.csproj.AssemblyReference.cache" />
<None Remove="projectgenerator\ProjectGeneratorApp\obj\Debug\ProjectGeneratorApp.csproj.CoreCompileInputs.cache" />
<None Remove="projectgenerator\ProjectGeneratorApp\obj\Debug\ProjectGeneratorApp.csproj.FileListAbsolute.txt" />
<None Remove="projectgenerator\ProjectGeneratorApp\obj\Debug\ProjectGeneratorApp.exe" />
<None Remove="projectgenerator\ProjectGeneratorApp\obj\Debug\ProjectGeneratorApp.pdb" />
<Compile Remove="projectgenerator\ProjectGeneratorApp\Properties\AssemblyInfo.cs" />
<None Remove="projectgenerator\ProjectGeneratorApp\App.config" />
<Compile Remove="projectgenerator\ProjectGeneratorApp\Program.cs" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\bin\Debug\DocCoreProjTemplate.xml" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\bin\Debug\ExcludeProject.xml" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\bin\Debug\ProjectorGeneratorLibrary.dll" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\bin\Debug\ProjectorGeneratorLibrary.pdb" />
<Compile Remove="projectgenerator\ProjectorGeneratorLibrary\obj\Debug\.NETFramework,Version=v4.7.AssemblyAttributes.cs" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\obj\Debug\ProjectorGeneratorLibrary.csproj.AssemblyReference.cache" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\obj\Debug\ProjectorGeneratorLibrary.csproj.CoreCompileInputs.cache" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\obj\Debug\ProjectorGeneratorLibrary.csproj.FileListAbsolute.txt" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\obj\Debug\ProjectorGeneratorLibrary.dll" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\obj\Debug\ProjectorGeneratorLibrary.pdb" />
<Compile Remove="projectgenerator\ProjectorGeneratorLibrary\Properties\AssemblyInfo.cs" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\DocCoreProjTemplate.xml" />
<None Remove="projectgenerator\ProjectorGeneratorLibrary\ExcludeProject.xml" />
<Compile Remove="projectgenerator\ProjectorGeneratorLibrary\ProjectGenerator.cs" />
<None Remove=".gitattributes" />
<None Remove=".gitignore" />
<ApplicationDefinition Include="App.xaml" />
<Compile Include="App.xaml.cs" />
<Compile Include="MainWindow.xaml.cs" />
<PackageReference Include="Syncfusion.Licensing" Version="*" />
<PackageReference Include="Syncfusion.SfDiagram.WPF" Version="*" />
<PackageReference Include="Syncfusion.Shared.WPF" Version="*" />
</ItemGroup>
<ItemGroup>
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31410.414
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CollapseVisibility_60", "CollapseVisibility_60.csproj", "{E15DB11B-274C-4738-89B9-D2D15A51B8FE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E15DB11B-274C-4738-89B9-D2D15A51B8FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E15DB11B-274C-4738-89B9-D2D15A51B8FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E15DB11B-274C-4738-89B9-D2D15A51B8FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E15DB11B-274C-4738-89B9-D2D15A51B8FE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5E712F1A-8FC2-479C-B0F1-918FAA8313B2}
EndGlobalSection
EndGlobal
Loading
Loading