forked from rubberduck-vba/Rubberduck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RubberduckBaseMetaProject.csproj
71 lines (63 loc) · 3.34 KB
/
RubberduckBaseMetaProject.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<Project Sdk="Sunburst.NET.Sdk.WPF/1.0.47">
<!-- We're specifying the Sdk here to make appveyor happy, but this generates warning MSB4011 -->
<PropertyGroup>
<OutputType>Library</OutputType>
<Company>Rubberduck-VBA</Company>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFramework>net46</TargetFramework>
<LangVersion>7.2</LangVersion>
<SolutionDir>$(MSBuildProjectDirectory)</SolutionDir>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputPath>bin\$(Configuration)\</OutputPath>
<RunCodeAnalysis>true</RunCodeAnalysis>
<RestorePackages>true</RestorePackages>
<!-- meta projects should have its path unified for easier discovery by the core solution -->
<UnifyOutputPath>true</UnifyOutputPath>
<!-- Ignore MSB4011 warning, rationale above -->
<!-- Ignore VisualStudio whining about the CodeAnalysis assembly changing (IDE1001) -->
<DisabledWarnings>$(DisabledWarnings);4011;1001</DisabledWarnings>
<Version Condition=" '$(Version)' == ''">2.3.0</Version>
</PropertyGroup>
<PropertyGroup Condition=" '$(AssemblyVersion)' == '' ">
<!--
This assembly version specification is considered nonstandard.
As such builds that do not override the assembly version generate a warning, which we ignore.
-->
<AssemblyVersion>2.3.*</AssemblyVersion>
<!-- Ignore CSharp compiler warning for nonstandard assembly version (CS7035) -->
<!-- Ignore Linker warning for nonstandard assembly version (AL1053) -->
<DisabledWarnings>$(DisabledWarnings);7035;1053</DisabledWarnings>
<!-- Wildcards are not deterministic, ensure build passes when setting wildcard versions -->
<Deterministic>False</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" $(UnifyOutputPath) ">
<OutputPath>bin\</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug'">
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release'">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>RELEASE</DefineConstants>
</PropertyGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<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>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<PropertyGroup>
<!--
Visual Studio warning ignores work through NoWarn and ignore DisabledWarnings.
Accordingly we amend NoWarn to include DisabledWarnings.
-->
<NoWarn>$(NoWarn);$(DisabledWarnings)</NoWarn>
</PropertyGroup>
</Project>