|
@@ -1,189 +1,19 @@
|
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
- <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
|
+<Project Sdk="Microsoft.NET.Sdk">
|
|
|
<PropertyGroup>
|
|
|
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
|
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
|
- <ProjectGuid>{C7A69145-60B6-4882-97D6-A3921DD43978}</ProjectGuid>
|
|
|
<OutputType>WinExe</OutputType>
|
|
|
- <AppDesignerFolder>Properties</AppDesignerFolder>
|
|
|
- <RootNamespace>WindowsInteropTest</RootNamespace>
|
|
|
- <AssemblyName>WindowsInteropTest</AssemblyName>
|
|
|
- <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
|
|
- <FileAlignment>512</FileAlignment>
|
|
|
- <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
|
+ <TargetFramework>net461</TargetFramework>
|
|
|
+
|
|
|
+ <UseWPF>true</UseWPF>
|
|
|
+ <UseWindowsForms>true</UseWindowsForms>
|
|
|
</PropertyGroup>
|
|
|
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
|
- <PlatformTarget>x86</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>
|
|
|
- <Reference Include="PresentationCore" />
|
|
|
- <Reference Include="PresentationFramework" />
|
|
|
- <Reference Include="System" />
|
|
|
- <Reference Include="System.Core" />
|
|
|
- <Reference Include="System.Xaml" />
|
|
|
- <Reference Include="System.Xml.Linq" />
|
|
|
- <Reference Include="System.Data.DataSetExtensions" />
|
|
|
- <Reference Include="Microsoft.CSharp" />
|
|
|
- <Reference Include="System.Data" />
|
|
|
- <Reference Include="System.Deployment" />
|
|
|
- <Reference Include="System.Drawing" />
|
|
|
- <Reference Include="System.Net.Http" />
|
|
|
- <Reference Include="System.Windows.Forms" />
|
|
|
- <Reference Include="System.Xml" />
|
|
|
- <Reference Include="WindowsBase" />
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <Compile Include="EmbedToWinFormsDemo.cs">
|
|
|
- <SubType>Form</SubType>
|
|
|
- </Compile>
|
|
|
- <Compile Include="EmbedToWinFormsDemo.Designer.cs">
|
|
|
- <DependentUpon>EmbedToWinFormsDemo.cs</DependentUpon>
|
|
|
- </Compile>
|
|
|
- <Compile Include="EmbedToWpfDemo.xaml.cs">
|
|
|
- <DependentUpon>EmbedToWpfDemo.xaml</DependentUpon>
|
|
|
- </Compile>
|
|
|
- <Compile Include="SelectorForm.cs">
|
|
|
- <SubType>Form</SubType>
|
|
|
- </Compile>
|
|
|
- <Compile Include="SelectorForm.Designer.cs">
|
|
|
- <DependentUpon>SelectorForm.cs</DependentUpon>
|
|
|
- </Compile>
|
|
|
- <Compile Include="Program.cs" />
|
|
|
- <Compile Include="Properties\AssemblyInfo.cs" />
|
|
|
- <EmbeddedResource Include="EmbedToWinFormsDemo.resx">
|
|
|
- <DependentUpon>EmbedToWinFormsDemo.cs</DependentUpon>
|
|
|
- </EmbeddedResource>
|
|
|
- <EmbeddedResource Include="Properties\Resources.resx">
|
|
|
- <Generator>ResXFileCodeGenerator</Generator>
|
|
|
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
|
- <SubType>Designer</SubType>
|
|
|
- </EmbeddedResource>
|
|
|
- <Compile Include="Properties\Resources.Designer.cs">
|
|
|
- <AutoGen>True</AutoGen>
|
|
|
- <DependentUpon>Resources.resx</DependentUpon>
|
|
|
- </Compile>
|
|
|
- <EmbeddedResource Include="SelectorForm.resx">
|
|
|
- <DependentUpon>SelectorForm.cs</DependentUpon>
|
|
|
- </EmbeddedResource>
|
|
|
- <None Include="Properties\Settings.settings">
|
|
|
- <Generator>SettingsSingleFileGenerator</Generator>
|
|
|
- <LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
|
- </None>
|
|
|
- <Compile Include="Properties\Settings.Designer.cs">
|
|
|
- <AutoGen>True</AutoGen>
|
|
|
- <DependentUpon>Settings.settings</DependentUpon>
|
|
|
- <DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
|
- </Compile>
|
|
|
- </ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <None Include="App.config" />
|
|
|
- </ItemGroup>
|
|
|
+
|
|
|
<ItemGroup>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Animation\Avalonia.Animation.csproj">
|
|
|
- <Project>{d211e587-d8bc-45b9-95a4-f297c8fa5200}</Project>
|
|
|
- <Name>Avalonia.Animation</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Base\Avalonia.Base.csproj">
|
|
|
- <Project>{b09b78d8-9b26-48b0-9149-d64a2f120f3f}</Project>
|
|
|
- <Name>Avalonia.Base</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Controls.DataGrid\Avalonia.Controls.DataGrid.csproj">
|
|
|
- <Project>{3278f3a9-9509-4a3f-a15b-bdc8b5bff632}</Project>
|
|
|
- <Name>Avalonia.Controls.DataGrid</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Controls\Avalonia.Controls.csproj">
|
|
|
- <Project>{d2221c82-4a25-4583-9b43-d791e3f6820c}</Project>
|
|
|
- <Name>Avalonia.Controls</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.DesignerSupport\Avalonia.DesignerSupport.csproj">
|
|
|
- <Project>{799a7bb5-3c2c-48b6-85a7-406a12c420da}</Project>
|
|
|
- <Name>Avalonia.DesignerSupport</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.DesktopRuntime\Avalonia.DesktopRuntime.csproj">
|
|
|
- <Project>{878fefe0-cd14-41cb-90b0-dbcb163e8f15}</Project>
|
|
|
- <Name>Avalonia.DesktopRuntime</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Diagnostics\Avalonia.Diagnostics.csproj">
|
|
|
- <Project>{7062ae20-5dcc-4442-9645-8195bdece63e}</Project>
|
|
|
- <Name>Avalonia.Diagnostics</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Input\Avalonia.Input.csproj">
|
|
|
- <Project>{62024b2d-53eb-4638-b26b-85eeaa54866e}</Project>
|
|
|
- <Name>Avalonia.Input</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Interactivity\Avalonia.Interactivity.csproj">
|
|
|
- <Project>{6b0ed19d-a08b-461c-a9d9-a9ee40b0c06b}</Project>
|
|
|
- <Name>Avalonia.Interactivity</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Layout\Avalonia.Layout.csproj">
|
|
|
- <Project>{42472427-4774-4c81-8aff-9f27b8e31721}</Project>
|
|
|
- <Name>Avalonia.Layout</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Visuals\Avalonia.Visuals.csproj">
|
|
|
- <Project>{eb582467-6abb-43a1-b052-e981ba910e3a}</Project>
|
|
|
- <Name>Avalonia.Visuals</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Styling\Avalonia.Styling.csproj">
|
|
|
- <Project>{f1baa01a-f176-4c6a-b39d-5b40bb1b148f}</Project>
|
|
|
- <Name>Avalonia.Styling</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Avalonia.Themes.Default\Avalonia.Themes.Default.csproj">
|
|
|
- <Project>{3e10a5fa-e8da-48b1-ad44-6a5b6cb7750f}</Project>
|
|
|
- <Name>Avalonia.Themes.Default</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Markup\Avalonia.Markup.Xaml\Avalonia.Markup.Xaml.csproj">
|
|
|
- <Project>{3e53a01a-b331-47f3-b828-4a5717e77a24}</Project>
|
|
|
- <Name>Avalonia.Markup.Xaml</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Markup\Avalonia.Markup\Avalonia.Markup.csproj">
|
|
|
- <Project>{6417e941-21bc-467b-a771-0de389353ce6}</Project>
|
|
|
- <Name>Avalonia.Markup</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Skia\Avalonia.Skia\Avalonia.Skia.csproj">
|
|
|
- <Project>{7d2d3083-71dd-4cc9-8907-39a0d86fb322}</Project>
|
|
|
- <Name>Avalonia.Skia</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Windows\Avalonia.Direct2D1\Avalonia.Direct2D1.csproj">
|
|
|
- <Project>{3e908f67-5543-4879-a1dc-08eace79b3cd}</Project>
|
|
|
- <Name>Avalonia.Direct2D1</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Windows\Avalonia.Win32.Interop\Avalonia.Win32.Interop.csproj">
|
|
|
- <Project>{cbc4ff2f-92d4-420b-be21-9fe0b930b04e}</Project>
|
|
|
- <Name>Avalonia.Win32.Interop</Name>
|
|
|
- </ProjectReference>
|
|
|
- <ProjectReference Include="..\..\..\src\Windows\Avalonia.Win32\Avalonia.Win32.csproj">
|
|
|
- <Project>{811a76cf-1cf6-440f-963b-bbe31bd72a82}</Project>
|
|
|
- <Name>Avalonia.Win32</Name>
|
|
|
- </ProjectReference>
|
|
|
+ <ProjectReference Include="..\..\..\src\Windows\Avalonia.Win32.Interop\Avalonia.Win32.Interop.csproj" />
|
|
|
<ProjectReference Include="..\..\ControlCatalog\ControlCatalog.csproj">
|
|
|
<Project>{d0a739b9-3c68-4ba6-a328-41606954b6bd}</Project>
|
|
|
<Name>ControlCatalog</Name>
|
|
|
</ProjectReference>
|
|
|
</ItemGroup>
|
|
|
- <ItemGroup>
|
|
|
- <Page Include="EmbedToWpfDemo.xaml">
|
|
|
- <SubType>Designer</SubType>
|
|
|
- <Generator>MSBuild:Compile</Generator>
|
|
|
- </Page>
|
|
|
- </ItemGroup>
|
|
|
+
|
|
|
<Import Project="..\..\..\build\Rx.props" />
|
|
|
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
- <Import Project="..\..\..\build\LegacyProject.targets" />
|
|
|
</Project>
|