|
14 | 14 | <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
15 | 15 | <WarningLevel>4</WarningLevel> |
16 | 16 | <TargetFrameworkProfile /> |
| 17 | + <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> |
| 18 | + <RestorePackages>true</RestorePackages> |
17 | 19 | </PropertyGroup> |
18 | 20 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
19 | 21 | <PlatformTarget>x86</PlatformTarget> |
|
45 | 47 | <Reference Include="WindowsBase" /> |
46 | 48 | <Reference Include="PresentationCore" /> |
47 | 49 | <Reference Include="PresentationFramework" /> |
| 50 | + <Reference Include="Xceed.Wpf.DataGrid"> |
| 51 | + <HintPath>..\..\packages\Extended.Wpf.Toolkit.2.2.1\lib\net40\Xceed.Wpf.DataGrid.dll</HintPath> |
| 52 | + </Reference> |
| 53 | + <Reference Include="Xceed.Wpf.Toolkit"> |
| 54 | + <HintPath>..\..\packages\Extended.Wpf.Toolkit.2.2.1\lib\net40\Xceed.Wpf.Toolkit.dll</HintPath> |
| 55 | + </Reference> |
48 | 56 | </ItemGroup> |
49 | 57 | <ItemGroup> |
50 | 58 | <ApplicationDefinition Include="App.xaml"> |
|
54 | 62 | <Compile Include="GenerateImageWindow.xaml.cs"> |
55 | 63 | <DependentUpon>GenerateImageWindow.xaml</DependentUpon> |
56 | 64 | </Compile> |
| 65 | + <Compile Include="SampleWindow.xaml.cs"> |
| 66 | + <DependentUpon>SampleWindow.xaml</DependentUpon> |
| 67 | + </Compile> |
57 | 68 | <Compile Include="ToolStripImageConverter.cs" /> |
58 | 69 | <Page Include="DemoWindow.xaml"> |
59 | 70 | <Generator>MSBuild:Compile</Generator> |
|
75 | 86 | <SubType>Designer</SubType> |
76 | 87 | <Generator>MSBuild:Compile</Generator> |
77 | 88 | </Page> |
| 89 | + <Page Include="SampleWindow.xaml"> |
| 90 | + <SubType>Designer</SubType> |
| 91 | + <Generator>MSBuild:Compile</Generator> |
| 92 | + </Page> |
78 | 93 | </ItemGroup> |
79 | 94 | <ItemGroup> |
80 | 95 | <Compile Include="HtmlRenderingHelper.cs" /> |
|
106 | 121 | <ItemGroup> |
107 | 122 | <Resource Include="fonts\CustomFont.ttf" /> |
108 | 123 | </ItemGroup> |
| 124 | + <ItemGroup> |
| 125 | + <None Include="packages.config" /> |
| 126 | + </ItemGroup> |
109 | 127 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
110 | 128 | <Target Name="AfterResolveReferences"> |
111 | 129 | <ItemGroup> |
|
114 | 132 | </EmbeddedResource> |
115 | 133 | </ItemGroup> |
116 | 134 | </Target> |
| 135 | + <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" /> |
| 136 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 137 | + <PropertyGroup> |
| 138 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 139 | + </PropertyGroup> |
| 140 | + <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" /> |
| 141 | + </Target> |
117 | 142 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
118 | 143 | Other similar extension points exist, see Microsoft.Common.targets. |
119 | 144 | <Target Name="BeforeBuild"> |
|
0 commit comments