Author: brett Date: Tue Jul 9 07:47:55 2013 New Revision: 1501120 URL: http://svn.apache.org/r1501120 Log: add condition for tests
ensure that they can run even if the Portable targets are not installed Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/PortableClassLibrary1/PortableClassLibrary1/PortableClassLibrary1.csproj Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/PortableClassLibrary1/PortableClassLibrary1/PortableClassLibrary1.csproj URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/PortableClassLibrary1/PortableClassLibrary1/PortableClassLibrary1.csproj?rev=1501120&r1=1501119&r2=1501120&view=diff ============================================================================== --- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/PortableClassLibrary1/PortableClassLibrary1/PortableClassLibrary1.csproj (original) +++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/PortableClassLibrary1/PortableClassLibrary1/PortableClassLibrary1.csproj Tue Jul 9 07:47:55 2013 @@ -40,7 +40,7 @@ <Compile Include="Class1.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> - <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" /> + <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" Condition="exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets')"/> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> @@ -48,4 +48,4 @@ <Target Name="AfterBuild"> </Target> --> -</Project> \ No newline at end of file +</Project>