|
14 | 14 | <PlatformTarget>AnyCPU</PlatformTarget> |
15 | 15 | <ErrorReport>prompt</ErrorReport> |
16 | 16 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
| 17 | + <TargetVer>14.0</TargetVer> |
17 | 18 | </PropertyGroup> |
18 | 19 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-v14|AnyCPU'"> |
19 | 20 | <OutputPath>bin\Debug-v14\</OutputPath> |
|
24 | 25 | <PlatformTarget>AnyCPU</PlatformTarget> |
25 | 26 | <ErrorReport>prompt</ErrorReport> |
26 | 27 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
| 28 | + <TargetVer>14.0</TargetVer> |
27 | 29 | </PropertyGroup> |
28 | 30 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-v15|AnyCPU'"> |
29 | 31 | <OutputPath>bin\Release-v15\</OutputPath> |
|
34 | 36 | <PlatformTarget>AnyCPU</PlatformTarget> |
35 | 37 | <ErrorReport>prompt</ErrorReport> |
36 | 38 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
| 39 | + <TargetVer>15.0</TargetVer> |
37 | 40 | </PropertyGroup> |
38 | 41 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-v15|AnyCPU'"> |
39 | 42 | <OutputPath>bin\Debug-v15\</OutputPath> |
|
44 | 47 | <PlatformTarget>AnyCPU</PlatformTarget> |
45 | 48 | <ErrorReport>prompt</ErrorReport> |
46 | 49 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
| 50 | + <TargetVer>15.0</TargetVer> |
47 | 51 | </PropertyGroup> |
48 | 52 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-v16|AnyCPU'"> |
49 | 53 | <OutputPath>bin\Release-v16\</OutputPath> |
|
54 | 58 | <PlatformTarget>AnyCPU</PlatformTarget> |
55 | 59 | <ErrorReport>prompt</ErrorReport> |
56 | 60 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
| 61 | + <TargetVer>16.0</TargetVer> |
57 | 62 | </PropertyGroup> |
58 | 63 | <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-v16|AnyCPU'"> |
59 | 64 | <OutputPath>bin\Debug-v16\</OutputPath> |
|
64 | 69 | <PlatformTarget>AnyCPU</PlatformTarget> |
65 | 70 | <ErrorReport>prompt</ErrorReport> |
66 | 71 | <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
| 72 | + <TargetVer>16.0</TargetVer> |
67 | 73 | </PropertyGroup> |
68 | | - <PropertyGroup> |
69 | | - <AssemblyName>dbuild.12.0</AssemblyName> |
| 74 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-v16_1|AnyCPU'"> |
| 75 | + <OutputPath>bin\Release-v16_1\</OutputPath> |
| 76 | + <DefineConstants>TRACE;TOOLS_V15</DefineConstants> |
| 77 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 78 | + <Optimize>true</Optimize> |
| 79 | + <DebugType>pdbonly</DebugType> |
| 80 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 81 | + <ErrorReport>prompt</ErrorReport> |
| 82 | + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
| 83 | + <TargetVer>16.1</TargetVer> |
70 | 84 | </PropertyGroup> |
71 | | - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
72 | | - <PropertyGroup> |
73 | | - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
74 | | - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
75 | | - <SchemaVersion>2.0</SchemaVersion> |
76 | | - <ProjectGuid>{45508B90-440B-46DD-82CC-178196D9794E}</ProjectGuid> |
77 | | - <OutputType>Library</OutputType> |
78 | | - <AppDesignerFolder>Properties</AppDesignerFolder> |
79 | | - <RootNamespace>dbuild</RootNamespace> |
80 | | - <AssemblyName Condition=" '$(Configuration)' == 'Release' or '$(Configuration)' == 'Debug' ">dbuild.12.0</AssemblyName> |
81 | | - <AssemblyName Condition=" '$(Configuration)' == 'Release-v14' or '$(Configuration)' == 'Debug-v14' ">dbuild.14.0</AssemblyName> |
82 | | - <AssemblyName Condition=" '$(Configuration)' == 'Release-v15' or '$(Configuration)' == 'Debug-v15' ">dbuild.15.0</AssemblyName> |
83 | | - <AssemblyName Condition=" '$(Configuration)' == 'Release-v16' or '$(Configuration)' == 'Debug-v16' ">dbuild.16.0</AssemblyName> |
84 | | - <TargetFrameworkVersion>v4.6</TargetFrameworkVersion> |
85 | | - <TargetFrameworkVersion Condition=" '$(Configuration)' == 'Release-v16' or '$(Configuration)' == 'Debug-v16' ">v4.7.2</TargetFrameworkVersion> |
86 | | - <GeneratePkgDefFile>false</GeneratePkgDefFile> |
87 | | - <IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer> |
88 | | - <IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer> |
89 | | - <IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment> |
90 | | - <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory> |
91 | | - <CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> |
| 85 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-v16_1|AnyCPU'"> |
| 86 | + <OutputPath>bin\Debug-v16_1\</OutputPath> |
| 87 | + <DefineConstants>TRACE;DEBUG;TOOLS_V15</DefineConstants> |
| 88 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 89 | + <Optimize>false</Optimize> |
| 90 | + <DebugType>pdbonly</DebugType> |
| 91 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 92 | + <ErrorReport>prompt</ErrorReport> |
| 93 | + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
| 94 | + <TargetVer>16.1</TargetVer> |
92 | 95 | </PropertyGroup> |
93 | 96 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
94 | 97 | <DebugSymbols>true</DebugSymbols> |
|
102 | 105 | <DeployExtension>False</DeployExtension> |
103 | 106 | <AllowUnsafeBlocks>false</AllowUnsafeBlocks> |
104 | 107 | <PlatformTarget>AnyCPU</PlatformTarget> |
105 | | - <VS2017Path>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\</VS2017Path> |
| 108 | + <TargetVer>12.0</TargetVer> |
106 | 109 | </PropertyGroup> |
107 | 110 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
108 | 111 | <DebugType>pdbonly</DebugType> |
|
114 | 117 | <CreateVsixContainer>False</CreateVsixContainer> |
115 | 118 | <DeployExtension>False</DeployExtension> |
116 | 119 | <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 120 | + <TargetVer>12.0</TargetVer> |
| 121 | + </PropertyGroup> |
| 122 | + <PropertyGroup> |
| 123 | + <TargetVer Condition="'$(TargetVer)' == ''">12.0</TargetVer> |
| 124 | + <AssemblyName>dbuild.$(TargetVer)</AssemblyName> |
| 125 | + </PropertyGroup> |
| 126 | + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
| 127 | + <PropertyGroup> |
| 128 | + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| 129 | + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| 130 | + <SchemaVersion>2.0</SchemaVersion> |
| 131 | + <ProjectGuid>{45508B90-440B-46DD-82CC-178196D9794E}</ProjectGuid> |
| 132 | + <OutputType>Library</OutputType> |
| 133 | + <AppDesignerFolder>Properties</AppDesignerFolder> |
| 134 | + <RootNamespace>dbuild</RootNamespace> |
| 135 | + <TargetFrameworkVersion>v4.6</TargetFrameworkVersion> |
| 136 | + <TargetFrameworkVersion Condition=" '$(TargetVer)' == '16.0' or '$(TargetVer)' == '16.1' ">v4.7.2</TargetFrameworkVersion> |
| 137 | + <GeneratePkgDefFile>false</GeneratePkgDefFile> |
| 138 | + <IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer> |
| 139 | + <IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer> |
| 140 | + <IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment> |
| 141 | + <CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory> |
| 142 | + <CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> |
117 | 143 | </PropertyGroup> |
118 | 144 | <ItemGroup> |
119 | 145 | <Compile Include="CompileD.cs" /> |
|
135 | 161 | </ItemGroup> |
136 | 162 |
|
137 | 163 | <!-- VS2013 --> |
138 | | - <ItemGroup Condition=" ('$(Configuration)' == 'Release' or '$(Configuration)' == 'Debug') and Exists('assemblies\v12\Microsoft.Build.dll') "> |
| 164 | + <ItemGroup Condition="'$(TargetVer)' == '12.0' and Exists('assemblies\v12\Microsoft.Build.dll')"> |
139 | 165 | <Reference Include="envdte, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
140 | 166 | <EmbedInteropTypes>False</EmbedInteropTypes> |
141 | 167 | <Private>False</Private> |
|
165 | 191 | <HintPath>assemblies\v12\Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.dll</HintPath> |
166 | 192 | </Reference> |
167 | 193 | </ItemGroup> |
168 | | - <ItemGroup Condition=" ('$(Configuration)' == 'Release' or '$(Configuration)' == 'Debug') and !Exists('assemblies\v12\Microsoft.Build.dll') "> |
| 194 | + <ItemGroup Condition="'$(TargetVer)' == '12.0' and !Exists('assemblies\v12\Microsoft.Build.dll')"> |
169 | 195 | <Reference Include="envdte, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
170 | 196 | <EmbedInteropTypes>False</EmbedInteropTypes> |
171 | 197 | <Private>False</Private> |
|
207 | 233 | </ItemGroup> |
208 | 234 |
|
209 | 235 | <!-- VS2015 --> |
210 | | - <ItemGroup Condition=" ('$(Configuration)' == 'Release-v14' or '$(Configuration)' == 'Debug-v14') and Exists('assemblies\v14\Microsoft.Build.dll') "> |
| 236 | + <ItemGroup Condition="'$(TargetVer)' == '14.0' and Exists('assemblies\v14\Microsoft.Build.dll')"> |
211 | 237 | <Reference Include="envdte, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
212 | 238 | <EmbedInteropTypes>False</EmbedInteropTypes> |
213 | 239 | </Reference> |
|
240 | 266 | <HintPath>c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.Project.VisualC.VCProjectEngine\v4.0_14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.dll</HintPath> |
241 | 267 | </Reference> |
242 | 268 | </ItemGroup> |
243 | | - <ItemGroup Condition=" ('$(Configuration)' == 'Release-v14' or '$(Configuration)' == 'Debug-v14') and !Exists('assemblies\v14\Microsoft.Build.dll') "> |
| 269 | + <ItemGroup Condition="'$(TargetVer)' == '14.0' and !Exists('assemblies\v14\Microsoft.Build.dll')"> |
244 | 270 | <Reference Include="envdte, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
245 | 271 | <EmbedInteropTypes>False</EmbedInteropTypes> |
246 | 272 | </Reference> |
|
282 | 308 |
|
283 | 309 | <!-- VS2017 --> |
284 | 310 | <PropertyGroup> |
| 311 | + <VS2017Ver Condition="Exists('assemblies\v15')">Local</VS2017Ver> |
285 | 312 | <VS2017Ver Condition="Exists('c:\Program Files (x86)\Microsoft Visual Studio\2017\Community')">Community</VS2017Ver> |
286 | 313 | <VS2017Ver Condition="Exists('c:\Program Files (x86)\Microsoft Visual Studio\2017\Professional')">Professional</VS2017Ver> |
287 | 314 | <VS2019Ver Condition="Exists('c:\Program Files (x86)\Microsoft Visual Studio\2019\Preview')">Preview</VS2019Ver> |
288 | 315 | </PropertyGroup> |
289 | | - <ItemGroup Condition=" '$(Configuration)' == 'Release-v15' or '$(Configuration)' == 'Debug-v15' "> |
| 316 | + <ItemGroup Condition="'$(TargetVer)' == '15.0'"> |
290 | 317 | <Reference Include="Microsoft.Build"> |
291 | 318 | <HintPath>assemblies\v15\Microsoft.Build.dll</HintPath> |
292 | 319 | </Reference> |
|
307 | 334 | </Reference> |
308 | 335 | <Reference Include="Microsoft.VisualStudio.Project.VisualC.VCProjectEngine, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
309 | 336 | <SpecificVersion>False</SpecificVersion> |
| 337 | + <HintPath Condition="'$(VS2017Ver)' == 'Local'">assemblies\v15\Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.dll</HintPath> |
310 | 338 | <HintPath Condition="'$(VS2017Ver)' == 'Professional'">c:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\VC\Project\Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.dll</HintPath> |
311 | 339 | <HintPath Condition="'$(VS2017Ver)' == 'Community'" >c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\VC\Project\Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.dll</HintPath> |
312 | 340 | </Reference> |
313 | 341 | <Reference Include="Microsoft.VisualStudio.VCProject, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
314 | 342 | <SpecificVersion>False</SpecificVersion> |
315 | 343 | <EmbedInteropTypes>False</EmbedInteropTypes> |
| 344 | + <HintPath Condition="'$(VS2017Ver)' == 'Local'">assemblies\v15\Microsoft.VisualStudio.VCProject.dll</HintPath> |
316 | 345 | <HintPath Condition="'$(VS2017Ver)' == 'Professional'">c:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.VCProject.dll</HintPath> |
317 | 346 | <HintPath Condition="'$(VS2017Ver)' == 'Community'" >c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.VCProject.dll</HintPath> |
318 | 347 | </Reference> |
319 | 348 | <Reference Include="Microsoft.VisualStudio.VCProjectEngine, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
320 | 349 | <SpecificVersion>False</SpecificVersion> |
321 | 350 | <EmbedInteropTypes>False</EmbedInteropTypes> |
| 351 | + <HintPath Condition="'$(VS2017Ver)' == 'Local'">assemblies\v15\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath> |
322 | 352 | <HintPath Condition="'$(VS2017Ver)' == 'Professional'">c:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath> |
323 | 353 | <HintPath Condition="'$(VS2017Ver)' == 'Community'" >c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath> |
324 | 354 | </Reference> |
325 | 355 | </ItemGroup> |
326 | 356 |
|
327 | 357 | <!-- VS2019 --> |
328 | | - <ItemGroup Condition=" '$(Configuration)' == 'Release-v16' or '$(Configuration)' == 'Debug-v16' "> |
| 358 | + <ItemGroup Condition="'$(TargetVer)' == '16.0' or '$(TargetVer)' == '16.1'"> |
329 | 359 | <Reference Include="Microsoft.Build"> |
330 | 360 | <HintPath>assemblies\v16\Microsoft.Build.dll</HintPath> |
331 | 361 | </Reference> |
332 | | - <Reference Include="Microsoft.Build.CPPTasks.Common"> |
333 | | - <HintPath>assemblies\v16\Microsoft.Build.CPPTasks.Common.dll</HintPath> |
334 | | - </Reference> |
335 | 362 | <Reference Include="Microsoft.Build.Framework"> |
336 | 363 | <HintPath>assemblies\v16\Microsoft.Build.Framework.dll</HintPath> |
337 | 364 | </Reference> |
|
354 | 381 | <HintPath>assemblies\v16\Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.dll</HintPath> |
355 | 382 | </Reference> |
356 | 383 | </ItemGroup> |
| 384 | + |
| 385 | + <ItemGroup Condition="'$(TargetVer)' == '16.0'"> |
| 386 | + <Reference Include="Microsoft.Build.CPPTasks.Common"> |
| 387 | + <HintPath>assemblies\v16\Microsoft.Build.CPPTasks.Common.dll</HintPath> |
| 388 | + </Reference> |
| 389 | + </ItemGroup> |
| 390 | + <ItemGroup Condition="'$(TargetVer)' == '16.1'"> |
| 391 | + <Reference Include="Microsoft.Build.CPPTasks.Common"> |
| 392 | + <HintPath>assemblies\v16_1\Microsoft.Build.CPPTasks.Common.dll</HintPath> |
| 393 | + </Reference> |
| 394 | + </ItemGroup> |
| 395 | + |
357 | 396 | <ItemGroup> |
358 | 397 | <EmbeddedResource Include="Strings.resx"> |
359 | 398 | <SubType>Designer</SubType> |
|
0 commit comments