Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorjimstitt <none@none>2014-01-18 08:05:54 +0400
committerjimstitt <none@none>2014-01-18 08:05:54 +0400
commit0fe4cb2c50b3ac39faf91486bcf20b4d78ed68f8 (patch)
tree606dc414f9594996d66e8e70bb17fd71771898c7 /src/tools
parent1e7666ebd924c1aa138ec9db7571e04ae83622bb (diff)
Add support for xaml extension.
--HG-- branch : WDS-build
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dotnet.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/dotnet.lua b/src/tools/dotnet.lua
index 69feffa..c52d326 100644
--- a/src/tools/dotnet.lua
+++ b/src/tools/dotnet.lua
@@ -3,7 +3,6 @@
-- Interface for the C# compilers, all of which are flag compatible.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
-
premake.dotnet = { }
premake.dotnet.namestyle = "windows"
@@ -36,6 +35,12 @@
return "EmbeddedResource"
elseif fcfg.buildaction == "Copy" or ext == ".asax" or ext == ".aspx" then
return "Content"
+ elseif fcfg.buildaction == "Page" or ext == ".xaml" then
+ if ( path.getname( fcfg.name ) == "App.xaml" ) then
+ return "ApplicationDefinition"
+ else
+ return "Page"
+ end
else
return "None"
end