From 5425c69df6eae203c58a5f00c9a65baa97e4765f Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Mon, 18 Dec 2017 13:23:14 -0800 Subject: [PATCH] Use path.combine instead --- .../IntegrationTests/CleanProjectIntegrationTest.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/CleanProjectIntegrationTest.cs b/test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/CleanProjectIntegrationTest.cs index 83f34292c5..46f456ff5c 100644 --- a/test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/CleanProjectIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/CleanProjectIntegrationTest.cs @@ -1,6 +1,7 @@ // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +using System.IO; using System.Threading.Tasks; using Xunit; @@ -15,8 +16,8 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests var result = await DotnetMSBuild("Restore;Build", "/p:RazorCompileOnBuild=true"); Assert.BuildPassed(result); - Assert.FileExists(result, @"bin/Debug/netcoreapp2.0/SimpleMvc.dll"); - Assert.FileExists(result, @"bin/Debug/netcoreapp2.0/SimpleMvc.PrecompiledViews.dll"); + Assert.FileExists(result, Path.Combine("bin", "Debug", "netcoreapp2.0", "SimpleMvc.dll")); + Assert.FileExists(result, Path.Combine("bin", "Debug", "netcoreapp2.0", "SimpleMvc.PrecompiledViews.dll")); } } }