From 89baf2ecdca1fb8bd25c449b3f3b05b47706377d Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Tue, 16 Jul 2019 14:21:09 +0800 Subject: fix sln --- tests/plugins/project/test.lua | 6 +++--- xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/tests/plugins/project/test.lua b/tests/plugins/project/test.lua index 16a27b5f3..32fffd33c 100644 --- a/tests/plugins/project/test.lua +++ b/tests/plugins/project/test.lua @@ -40,11 +40,11 @@ function test_vsxmake(t) if ok then return end - io.write("--- sln file ---") + io.write("--- sln file ---\n") io.write(io.readfile("c_" .. vstype .. ".sln"), "\n") - io.write("--- vcx file ---") + io.write("--- vcx file ---\n") io.write(io.readfile("project/project.vcxproj"), "\n") - io.write("--- filter file ---") + io.write("--- filter file ---\n") io.write(io.readfile("project/project.vcxproj.filters"), "\n") raise("msbuild failed") end diff --git a/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln b/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln index bc2872afe..fa719dfff 100644 --- a/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln +++ b/xmake/plugins/project/vsxmake/vsproj/templates/sln/vsxmake.sln @@ -20,11 +20,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Properties", "Properties", EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution -#Import(SlnConfig)# - EndGlobalSection +#Import(SlnConfig)# EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution -#Import(ProjConfig)# - EndGlobalSection +#Import(ProjConfig)# EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection -- cgit v1.3.1