- fixed metro project file generation for samples. Samples are still NOT working in metro. Metro building is still experimental.
This commit is contained in:
parent
eba46e6379
commit
08b945da2e
@ -40,7 +40,9 @@
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.cs" />
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
|
@ -67,7 +67,9 @@
|
||||
<Reference Include="System.Net" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AddInSelector.cs" />
|
||||
<Compile Include="AddInSelector.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="AddInSelector.Designer.cs">
|
||||
<DependentUpon>AddInSelector.cs</DependentUpon>
|
||||
</Compile>
|
||||
|
@ -31,7 +31,7 @@ namespace ProjectConverter.Platforms.Metro
|
||||
}
|
||||
|
||||
XName contentNodeName = XName.Get("Content", itemGroup.Name.NamespaceName);
|
||||
string anxAssetsPath = "../../media/MetroDefaultAssets";
|
||||
string anxAssetsPath = "../media/MetroDefaultAssets";
|
||||
foreach (string assetFilepath in Directory.GetFiles(anxAssetsPath))
|
||||
{
|
||||
string filename = Path.GetFileName(assetFilepath);
|
||||
|
@ -1,4 +1,4 @@
|
||||
<project name="ANX.Framework Build" default="build">
|
||||
<project name="ANX.Framework Build" default="build" basedir="./">
|
||||
<property name="build.platform" value="Any CPU" />
|
||||
<property name="build.dir" value="../../bin" />
|
||||
<property name="build.dir.tools" value="../bin" />
|
||||
@ -650,8 +650,10 @@
|
||||
<exclude name="**/*_PSVita.csproj" />
|
||||
<exclude name="**/*_WindowsMetro.csproj" />
|
||||
|
||||
<exclude name="Samples/**/*.csproj" if="${project.anx.metro}" />
|
||||
</fileset>
|
||||
<!--
|
||||
<exclude name="Samples/**/*.csproj" if="${project.anx.metro}" />
|
||||
-->
|
||||
</fileset>
|
||||
|
||||
<foreach item="File" property="projectFile">
|
||||
<in>
|
||||
|
Loading…
x
Reference in New Issue
Block a user