mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Use .lg.cs and .oz.cs to determine whether file should be built
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
#if OPENZUNE
|
||||
|
||||
using System.Net.Http;
|
||||
using System.Net.Http;
|
||||
using ZuneUI;
|
||||
|
||||
namespace Microsoft.Zune.Service
|
||||
@@ -46,5 +44,3 @@ namespace Microsoft.Zune.Service
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using ZuneUI;
|
||||
|
||||
namespace Microsoft.Zune.Service
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#if !OPENZUNE
|
||||
|
||||
using System.Net;
|
||||
using System.Net;
|
||||
|
||||
namespace Microsoft.Zune.Service
|
||||
{
|
||||
@@ -26,5 +24,3 @@ namespace Microsoft.Zune.Service
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#if OPENZUNE
|
||||
|
||||
using System.Linq;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
|
||||
namespace Microsoft.Zune.Service
|
||||
@@ -36,5 +34,3 @@ namespace Microsoft.Zune.Service
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -29,6 +29,18 @@
|
||||
<PackageReference Include="Zune.Xml" Version="0.1.0" />
|
||||
|
||||
<ProjectReference Include="..\libs\MicrosoftIris\UIX\UIX.csproj" />
|
||||
|
||||
<None Include="**\*.lg.cs" Exclude="bin\**\*.lg.cs;obj\**\*.lg.cs" />
|
||||
<Compile Remove="**\*.lg.cs" />
|
||||
<Compile Include="**\*.lg.cs"
|
||||
Exclude="bin\**\*.lg.cs;obj\**\*.lg.cs"
|
||||
Condition="!$(UseOpenZune)" />
|
||||
|
||||
<None Include="**\*.oz.cs" Exclude="bin\**\*.oz.cs;obj\**\*.oz.cs" />
|
||||
<Compile Remove="**\*.oz.cs" />
|
||||
<Compile Include="**\*.oz.cs"
|
||||
Exclude="bin\**\*.oz.cs;obj\**\*.oz.cs"
|
||||
Condition="$(UseOpenZune)" />
|
||||
</ItemGroup>
|
||||
|
||||
<Choose>
|
||||
|
||||
Reference in New Issue
Block a user