Skip to content

Commit 3b87fcf

Browse files
committed
1. Revert AppVeyor to use Dev 12, until AppVeyor provide Pro support for custom builds
2. Update vs projects to eliminate UseNuget build configuration option 3. Add vsintegration and vsintegrationunittests to build. Will add ideunit tests in a later checkin
1 parent d2433da commit 3b87fcf

File tree

5 files changed

+18
-26
lines changed

5 files changed

+18
-26
lines changed

appveyor-build.cmd

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ if not exist %_ngenexe% echo Error: Could not find ngen.exe. && goto :eof
2929
%_ngenexe% install proto\net40\bin\FSharp.Build-proto.dll
3030
%_ngenexe% install proto\net40\bin\fsc-proto.exe
3131

32-
%_msbuildexe% src/fsharp-library-build.proj /p:UseNugetPackages=true /p:Configuration=Release
32+
%_msbuildexe% src/fsharp-library-build.proj /p:Configuration=Release
3333
@if ERRORLEVEL 1 echo Error: library release build failed && goto :eof
3434

35-
%_msbuildexe% src/fsharp-compiler-build.proj /p:UseNugetPackages=true /p:Configuration=Release
35+
%_msbuildexe% src/fsharp-compiler-build.proj /p:Configuration=Release
3636
@if ERRORLEVEL 1 echo Error: compile Release build failed && goto :eof
3737

3838
REM We don't build new net20 FSharp.Core anymore
@@ -68,6 +68,12 @@ REM @if ERRORLEVEL 1 echo Error: library net20 build failed && goto :eof
6868
%_msbuildexe% src/fsharp-library-unittests-build.proj /p:TargetFramework=portable259 /p:Configuration=Release
6969
@if ERRORLEVEL 1 echo Error: library unittests build failed portable259 && goto :eof
7070

71+
%_msbuildexe% vsintegration\fsharp-vsintegration-build.proj /p:TargetFramework=net40 /p:Configuration=Release
72+
@if ERRORLEVEL 1 echo Error: library unittests build failed vsintegration-unittests && goto :eof
73+
74+
%_msbuildexe% vsintegration\fsharp-vsintegration-unittests-build.proj /p:TargetFramework=net40 /p:Configuration=Release
75+
@if ERRORLEVEL 1 echo Error: library unittests build failed vsintegration-unittests && goto :eof
76+
7177
@echo on
7278
call src\update.cmd release -ngen
7379

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
os: Visual Studio 2015 CTP
1+
os: Windows Server 2012 R2
22

33
init:
44
build_script:

src/FSharpSource.targets

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,4 +745,11 @@
745745
<Target Name="BeforeBuild" BeforeTargets="Build">
746746
<Exec Command=".\.nuget\NuGet.exe restore packages.config -PackagesDirectory packages" WorkingDirectory="$(FSharpSourcesRoot)\.."/>
747747
</Target>
748+
749+
<Target Name="BeforeResolveReferences">
750+
<CreateProperty Value="$(ProjectDir)..\..\..\packages\NUnit.2.6.3\lib\;$(ProjectDir)..\..\..\packages\NUnit.Runners.2.6.3\tools\lib\;$(AssemblySearchPaths)">
751+
<Output TaskParameter="Value"
752+
PropertyName="AssemblySearchPaths" />
753+
</CreateProperty>
754+
</Target>
748755
</Project>

vsintegration/src/Salsa/Salsa.fsproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,4 @@
104104
</ProjectReference>
105105
</ItemGroup>
106106
<Import Project="$(FSharpSourcesRoot)\FSharpSource.targets" />
107-
<Target Name="BeforeResolveReferences" Condition="'$(UseNugetPackages)'=='true'">
108-
<CreateProperty Value="$(ProjectDir)..\..\..\packages\NUnit.2.6.3\lib\;$(ProjectDir)..\..\..\packages\NUnit.Runners.2.6.3\tools\lib\;$(AssemblySearchPaths)">
109-
<Output TaskParameter="Value"
110-
PropertyName="AssemblySearchPaths" />
111-
</CreateProperty>
112-
</Target>
113107
</Project>

vsintegration/src/unittests/Unittests.fsproj

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,8 @@
112112
<Reference Include="Microsoft.VisualStudio.Designer.Interfaces" />
113113
<Reference Include="Microsoft.VisualStudio.CommonIDE" />
114114
<Reference Include="Microsoft.VisualStudio.VSHelp.dll" />
115-
<Reference Include="nunit.framework.dll">
116-
<Private>True</Private>
117-
</Reference>
118-
<Reference Include="nunit.util.dll">
119-
<Private>True</Private>
120-
</Reference>
121-
<Reference Include="nunit.framework, Version=2.6.3.13283, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77">
122-
<SpecificVersion>true</SpecificVersion>
123-
<HintPath>$(FSharpSourcesRoot)\..\packages\NUnit.2.6.3\lib\nunit.framework.dll</HintPath>
124-
</Reference>
115+
<Reference Include="nunit.util.dll"><Private>True</Private></Reference>
116+
<Reference Include="nunit.framework.dll"><Private>True</Private></Reference>
125117
<ProjectReference Include="$(FSharpSourcesRoot)\fsharp\Fsc\Fsc.fsproj">
126118
<Project>{ffde9e47-9675-4498-b540-69b2583dd600}</Project>
127119
<Name>Fsc</Name>
@@ -178,11 +170,4 @@
178170
</ProjectReference>
179171
</ItemGroup>
180172
<Import Project="$(FSharpSourcesRoot)\FSharpSource.targets" />
181-
<Target Name="BeforeResolveReferences" Condition="'$(UseNugetPackages)'=='true'">
182-
<CreateProperty Value="$(ProjectDir)..\..\..\packages\NUnit.2.6.3\lib\;$(ProjectDir)..\..\..\packages\NUnit.Runners.2.6.3\tools\lib\;$(AssemblySearchPaths)">
183-
<Output TaskParameter="Value"
184-
PropertyName="AssemblySearchPaths" />
185-
</CreateProperty>
186-
</Target>
187-
188173
</Project>

0 commit comments

Comments
 (0)