提交 1e813498 编写于 作者: J jaredpar 提交者: RoslynTeam

The Open directory contains several projects that rely on having a compatible...

The Open directory contains several projects that rely on having a compatible version of Visual Studio 2015 installed in order to build properly.   At this time there is no version of Visual Studio that will work over the long term that we can ask customers, and Jenkins, to move to in order to edit and build Roslyn.sln on master.  Our dependency on the VS SDK just evolves too rapidly.

After some discussion I decided to put two solution files into the repo:

     - Roslyn2013.sln:  This solution is usable on a machine with only Visual Studio 2013 installed.  This unfortunately won't contain all of the new items we are releasing but at least gives customers a stable base to iterate on.
     - Roslyn.sln: This solution contains every project we've released and will work with some builds of 2015.  Likely it will work with the most recent CTP but I have not verified that (just don't have the right setup to do so).

The long term plan here is to always be able to edit, build and debug the master branch with an RTM version of Visual Studio.  But until we hit RTM (or really RC) of Visual Studio 2015 we are going to have a hybrid solution to keep both us and customers productive.   (changeset 1405691)
上级 a6630f36
......@@ -7,29 +7,35 @@
AssemblyFile="packages\xunit.runners.2.0.0-alpha-build2576\tools\xunit.runner.msbuild.dll"
TaskName="Xunit.Runner.MSBuild.xunit" />
<!-- At the moment Jenkins runs on a machine without any build of Visual Studio 2015. Hence we must
use a 2013 compatible solution -->
<PropertyGroup>
<RoslynSolution>$(MSBuildThisFileDirectory)\Src\Roslyn.sln</RoslynSolution>
<RoslynSolution Condition="$(CIBuild) == 'true'">$(MSBuildThisFileDirectory)\Src\Roslyn2013.sln</RoslynSolution>
</PropertyGroup>
<Target Name="RestorePackages">
<Exec Command="&quot;$(MSBuildThisFileDirectory)\Src\.nuget\Nuget.exe&quot; install xunit.runners -pre -version 2.0.0-alpha-build2576 -outputdirectory packages"/>
<Exec Command="&quot;$(MSBuildThisFileDirectory)\Src\.nuget\Nuget.exe&quot; restore &quot;$(MSBuildThisFileDirectory)\Src\Roslyn.sln&quot;" />
<Exec Command="&quot;$(MSBuildThisFileDirectory)\Src\.nuget\Nuget.exe&quot; restore &quot;$(RoslynSolution)&quot;" />
</Target>
<Target Name="Build"
DependsOnTargets="RestorePackages">
<Target Name="Build" DependsOnTargets="RestorePackages">
<MSBuild BuildInParallel="true"
Projects="$(MSBuildThisFileDirectory)\Src\Roslyn.sln"
Projects="$(RoslynSolution)"
Properties="RestorePackages=false"
Targets="Build"/>
</Target>
<Target Name="Clean">
<MSBuild BuildInParallel="true"
Projects="$(MSBuildThisFileDirectory)\Src\Roslyn.sln"
Projects="$(RoslynSolution)"
Properties="RestorePackages=false"
Targets="Clean"/>
</Target>
<Target Name="Rebuild">
<MSBuild BuildInParallel="true"
Projects="$(MSBuildThisFileDirectory)\Src\Roslyn.sln"
Projects="$(RoslynSolution)"
Properties="RestorePackages=false"
Targets="Rebuild"/>
</Target>
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册