提交 573094f4 编写于 作者: J Jason Malinowski

Merge pull request #6778 from jasonmalinowski/enable-f5-deployment-for-master

Clean up complexity around OfficialBuild flag that is breaking official builds
......@@ -99,16 +99,13 @@
<SubType>Designer</SubType>
</None>
</ItemGroup>
<PropertyGroup Condition="'$(OfficialBuild)' == 'true'">
<DefineConstants>$(DefineConstants);OFFICIAL_BUILD</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\VisualStudio\Setup\ProvideRoslynBindingRedirection.cs">
<Link>ProvideRoslynBindingRedirection.cs</Link>
</Compile>
<Compile Include="AssemblyRedirects.cs" Condition="('$(AssemblyVersion)' == '42.42.42.42') or ('$(OfficialBuild)' == 'true')" />
<Compile Include="AssemblyRedirects.cs" />
</ItemGroup>
<ImportGroup Label="Targets">
<Import Project="..\..\..\build\Targets\VSL.Imports.targets" />
</ImportGroup>
</Project>
\ No newline at end of file
</Project>
......@@ -118,14 +118,11 @@
<Reference Include="System.XML" />
<Reference Include="WindowsBase" />
</ItemGroup>
<PropertyGroup Condition="'$(OfficialBuild)' == 'true'">
<DefineConstants>$(DefineConstants);OFFICIAL_BUILD</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\VisualStudio\Setup\ProvideRoslynBindingRedirection.cs">
<Link>ProvideRoslynBindingRedirection.cs</Link>
</Compile>
<Compile Include="AssemblyRedirects.cs" Condition="('$(AssemblyVersion)' == '42.42.42.42') or ('$(OfficialBuild)' == 'true')" />
<Compile Include="AssemblyRedirects.cs" />
<Compile Include="CommandIds.cs" />
<Compile Include="Guids.cs" />
<Compile Include="VsInteractiveWindowEditorFactoryService.cs" />
......@@ -174,4 +171,4 @@
<ImportGroup Label="Targets">
<Import Project="..\..\..\build\Targets\VSL.Imports.targets" />
</ImportGroup>
</Project>
\ No newline at end of file
</Project>
......@@ -28,17 +28,6 @@ public ProvideRoslynBindingRedirectionAttribute(string fileName)
PublicKeyToken = "31BF3856AD364E35",
OldVersionLowerBound = "0.7.0.0",
OldVersionUpperBound = "1.2.0.0",
#if OFFICIAL_BUILD
// If this is an official build we want to generate binding
// redirects from our old versions to the release version
NewVersion = "1.2.0.0",
#else
// Non-official builds get redirects to local 42.42.42.42,
// which will only be built locally
NewVersion = "42.42.42.42",
#endif
GenerateCodeBase = GenerateCodeBase,
CodeBase = fileName,
};
......
......@@ -22,9 +22,6 @@
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<CopyNuGetImplementations>true</CopyNuGetImplementations>
</PropertyGroup>
<PropertyGroup Condition="'$(OfficialBuild)' == 'true'">
<DefineConstants>$(DefineConstants);OFFICIAL_BUILD</DefineConstants>
</PropertyGroup>
<ItemGroup Label="Project References">
<ProjectReference Include="..\..\Compilers\Core\Portable\CodeAnalysis.csproj">
<Project>{1EE8CAD3-55F9-4D91-96B2-084641DA9A6C}</Project>
......@@ -192,7 +189,7 @@
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyRedirects.cs" Condition="('$(AssemblyVersion)' == '42.42.42.42') or ('$(OfficialBuild)' == 'true')" />
<Compile Include="AssemblyRedirects.cs" />
<Compile Include="ProvideRoslynBindingRedirection.cs" />
</ItemGroup>
<ImportGroup Label="Targets">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册