From f39bbc29792fe70c96d5a7c5703ffee5b9a540f7 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Sun, 23 Oct 2016 13:42:58 +0200 Subject: [PATCH] Adds client to solution so task runner explorer can be used to build the client-side files in VS --- build/BuildClientFiles.bat | 4 ++++ our.umbraco.org.sln | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/build/BuildClientFiles.bat b/build/BuildClientFiles.bat index eb282b3a..3b906051 100644 --- a/build/BuildClientFiles.bat +++ b/build/BuildClientFiles.bat @@ -24,6 +24,10 @@ SET buildFolder=%CD% ECHO Change directory to %CD%\..\OurUmbraco.Client\ CD %CD%\..\OurUmbraco.Client\ +ECHO. +ECHO Setting node_modules folder to hidden to prevent VS13 from crashing on it while loading the websites project +attrib +h node_modules + ECHO Do npm install and the gulp build call npm cache clean call npm install diff --git a/our.umbraco.org.sln b/our.umbraco.org.sln index ab9f19d2..d06cf7c5 100644 --- a/our.umbraco.org.sln +++ b/our.umbraco.org.sln @@ -19,6 +19,27 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{F3A30E EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OurUmbraco", "OurUmbraco\OurUmbraco.csproj", "{A8E5C936-ECAB-45B3-BFDA-D12F680EB2A6}" EndProject +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "OurUmbraco.Client", "OurUmbraco.Client\", "{1B63C7B3-6FCF-4961-9933-53A591CD16E4}" + ProjectSection(WebsiteProperties) = preProject + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0" + Debug.AspNetCompiler.VirtualPath = "/localhost_59200" + Debug.AspNetCompiler.PhysicalPath = "OurUmbraco.Client\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_59200\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_59200" + Release.AspNetCompiler.PhysicalPath = "OurUmbraco.Client\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_59200\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + VWDPort = "59200" + SlnRelativePath = "OurUmbraco.Client\" + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -51,6 +72,16 @@ Global {A8E5C936-ECAB-45B3-BFDA-D12F680EB2A6}.Release|Mixed Platforms.Build.0 = Release|Any CPU {A8E5C936-ECAB-45B3-BFDA-D12F680EB2A6}.Release|x86.ActiveCfg = Release|Any CPU {A8E5C936-ECAB-45B3-BFDA-D12F680EB2A6}.Release|x86.Build.0 = Release|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Debug|x86.ActiveCfg = Debug|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Debug|x86.Build.0 = Debug|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Release|Mixed Platforms.ActiveCfg = Debug|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Release|Mixed Platforms.Build.0 = Debug|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Release|x86.ActiveCfg = Debug|Any CPU + {1B63C7B3-6FCF-4961-9933-53A591CD16E4}.Release|x86.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE