From 123b14917fb204e1e67fa53c041aec2877062264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pedro?= Date: Mon, 11 Jun 2018 23:36:30 +0100 Subject: [PATCH] Added option to deploy content files. --- .../Cosmos.Build.Tasks/build/Cosmos.Build.targets | 9 +++++++++ .../BuildSystem/Cosmos.DesignTime.targets | 3 +++ .../BuildSystem/Rules/Content.xaml | 13 +++++++++++++ .../Cosmos.VS.ProjectSystem.csproj | 1 + 4 files changed, 26 insertions(+) create mode 100644 source/Cosmos.VS.ProjectSystem/BuildSystem/Rules/Content.xaml diff --git a/source/Cosmos.Build.Tasks/build/Cosmos.Build.targets b/source/Cosmos.Build.Tasks/build/Cosmos.Build.targets index ae87bd8da..3d9621189 100644 --- a/source/Cosmos.Build.Tasks/build/Cosmos.Build.targets +++ b/source/Cosmos.Build.Tasks/build/Cosmos.Build.targets @@ -61,6 +61,14 @@ $(CosmosToolsPath)Cosmos.Build.Tasks.dll + + + + + + + + @@ -274,6 +282,7 @@ <_IsoFile Include="$(SyslinuxPath)com32\lib\libcom32.c32" /> <_IsoFile Include="$(SyslinuxPath)com32\mboot\mboot.c32" /> <_IsoFile Include="$(BinFile)" /> + <_IsoFile Include="@(ContentToDeploy)" /> diff --git a/source/Cosmos.VS.ProjectSystem/BuildSystem/Cosmos.DesignTime.targets b/source/Cosmos.VS.ProjectSystem/BuildSystem/Cosmos.DesignTime.targets index 68744502a..f5407a84a 100644 --- a/source/Cosmos.VS.ProjectSystem/BuildSystem/Cosmos.DesignTime.targets +++ b/source/Cosmos.VS.ProjectSystem/BuildSystem/Cosmos.DesignTime.targets @@ -15,6 +15,9 @@ + + File;BrowseObject + Project diff --git a/source/Cosmos.VS.ProjectSystem/BuildSystem/Rules/Content.xaml b/source/Cosmos.VS.ProjectSystem/BuildSystem/Rules/Content.xaml new file mode 100644 index 000000000..8677e5206 --- /dev/null +++ b/source/Cosmos.VS.ProjectSystem/BuildSystem/Rules/Content.xaml @@ -0,0 +1,13 @@ + + + + + + diff --git a/source/Cosmos.VS.ProjectSystem/Cosmos.VS.ProjectSystem.csproj b/source/Cosmos.VS.ProjectSystem/Cosmos.VS.ProjectSystem.csproj index b01c5b298..3577ab1ed 100644 --- a/source/Cosmos.VS.ProjectSystem/Cosmos.VS.ProjectSystem.csproj +++ b/source/Cosmos.VS.ProjectSystem/Cosmos.VS.ProjectSystem.csproj @@ -30,6 +30,7 @@ +