|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 2 | +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 3 | + <Import Project="..\packages\Microsoft.CodeAnalysis.Analyzers.2.9.3\build\Microsoft.CodeAnalysis.Analyzers.props" Condition="Exists('..\packages\Microsoft.CodeAnalysis.Analyzers.2.9.3\build\Microsoft.CodeAnalysis.Analyzers.props')" /> |
3 | 4 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
4 | 5 | <PropertyGroup> |
5 | 6 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|
9 | 10 | <AppDesignerFolder>Properties</AppDesignerFolder> |
10 | 11 | <RootNamespace>JavaToCSharp</RootNamespace> |
11 | 12 | <AssemblyName>JavaToCSharp</AssemblyName> |
12 | | - <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| 13 | + <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> |
13 | 14 | <FileAlignment>512</FileAlignment> |
| 15 | + <NuGetPackageImportStamp> |
| 16 | + </NuGetPackageImportStamp> |
| 17 | + <TargetFrameworkProfile /> |
14 | 18 | </PropertyGroup> |
15 | 19 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
16 | 20 | <DebugSymbols>true</DebugSymbols> |
|
145 | 149 | <Reference Include="javaparser-core-3.0.0-SNAPSHOT"> |
146 | 150 | <HintPath>..\Lib\javaparser-core-3.0.0-SNAPSHOT.dll</HintPath> |
147 | 151 | </Reference> |
148 | | - <Reference Include="Microsoft.CodeAnalysis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
149 | | - <HintPath>..\packages\Microsoft.CodeAnalysis.Common.2.0.0-beta3\lib\net45\Microsoft.CodeAnalysis.dll</HintPath> |
150 | | - <Private>True</Private> |
| 152 | + <Reference Include="Microsoft.CodeAnalysis, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 153 | + <HintPath>..\packages\Microsoft.CodeAnalysis.Common.3.1.0\lib\netstandard2.0\Microsoft.CodeAnalysis.dll</HintPath> |
151 | 154 | </Reference> |
152 | | - <Reference Include="Microsoft.CodeAnalysis.CSharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
153 | | - <HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.2.0.0-beta3\lib\net45\Microsoft.CodeAnalysis.CSharp.dll</HintPath> |
154 | | - <Private>True</Private> |
| 155 | + <Reference Include="Microsoft.CodeAnalysis.CSharp, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 156 | + <HintPath>..\packages\Microsoft.CodeAnalysis.CSharp.3.1.0\lib\netstandard2.0\Microsoft.CodeAnalysis.CSharp.dll</HintPath> |
155 | 157 | </Reference> |
156 | 158 | <Reference Include="System" /> |
157 | | - <Reference Include="System.Collections.Immutable, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
158 | | - <HintPath>..\packages\System.Collections.Immutable.1.2.0\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath> |
159 | | - <Private>True</Private> |
| 159 | + <Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
| 160 | + <HintPath>..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll</HintPath> |
| 161 | + </Reference> |
| 162 | + <Reference Include="System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 163 | + <HintPath>..\packages\System.Collections.Immutable.1.5.0\lib\netstandard2.0\System.Collections.Immutable.dll</HintPath> |
160 | 164 | </Reference> |
161 | 165 | <Reference Include="System.Core" /> |
162 | | - <Reference Include="System.Reflection.Metadata, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
163 | | - <HintPath>..\packages\System.Reflection.Metadata.1.3.0\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath> |
164 | | - <Private>True</Private> |
| 166 | + <Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
| 167 | + <HintPath>..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll</HintPath> |
| 168 | + </Reference> |
| 169 | + <Reference Include="System.Numerics" /> |
| 170 | + <Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 171 | + <HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath> |
| 172 | + </Reference> |
| 173 | + <Reference Include="System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 174 | + <HintPath>..\packages\System.Reflection.Metadata.1.6.0\lib\netstandard2.0\System.Reflection.Metadata.dll</HintPath> |
| 175 | + </Reference> |
| 176 | + <Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 177 | + <HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath> |
| 178 | + </Reference> |
| 179 | + <Reference Include="System.Text.Encoding.CodePages, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 180 | + <HintPath>..\packages\System.Text.Encoding.CodePages.4.5.1\lib\net461\System.Text.Encoding.CodePages.dll</HintPath> |
| 181 | + </Reference> |
| 182 | + <Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
| 183 | + <HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.3\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath> |
165 | 184 | </Reference> |
166 | 185 | <Reference Include="System.Xml.Linq" /> |
167 | 186 | <Reference Include="System.Data.DataSetExtensions" /> |
|
238 | 257 | <Compile Include="TypeHelper.cs" /> |
239 | 258 | </ItemGroup> |
240 | 259 | <ItemGroup> |
| 260 | + <None Include="app.config" /> |
241 | 261 | <None Include="packages.config"> |
242 | 262 | <SubType>Designer</SubType> |
243 | 263 | </None> |
244 | 264 | </ItemGroup> |
245 | 265 | <ItemGroup> |
246 | | - <Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.2.0-beta2\analyzers\dotnet\cs\Analyzer.Utilities.dll" /> |
247 | | - <Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.2.0-beta2\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" /> |
248 | | - <Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.1.2.0-beta2\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" /> |
| 266 | + <Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.2.9.3\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" /> |
| 267 | + <Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.2.9.3\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" /> |
249 | 268 | </ItemGroup> |
250 | 269 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 270 | + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
| 271 | + <PropertyGroup> |
| 272 | + <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
| 273 | + </PropertyGroup> |
| 274 | + <Error Condition="!Exists('..\packages\Microsoft.CodeAnalysis.Analyzers.2.9.3\build\Microsoft.CodeAnalysis.Analyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeAnalysis.Analyzers.2.9.3\build\Microsoft.CodeAnalysis.Analyzers.props'))" /> |
| 275 | + </Target> |
251 | 276 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
252 | 277 | Other similar extension points exist, see Microsoft.Common.targets. |
253 | 278 | <Target Name="BeforeBuild"> |
|
0 commit comments