diff options
author | jimstitt <none@none> | 2014-01-18 08:05:54 +0400 |
---|---|---|
committer | jimstitt <none@none> | 2014-01-18 08:05:54 +0400 |
commit | 0fe4cb2c50b3ac39faf91486bcf20b4d78ed68f8 (patch) | |
tree | 606dc414f9594996d66e8e70bb17fd71771898c7 /src/tools/dotnet.lua | |
parent | 1e7666ebd924c1aa138ec9db7571e04ae83622bb (diff) |
Add support for xaml extension.
--HG--
branch : WDS-build
Diffstat (limited to 'src/tools/dotnet.lua')
-rw-r--r-- | src/tools/dotnet.lua | 7 |
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 |