Skip to content

Commit 7a7055a

Browse files
committed
Updating all platforms and configurations to target the x86 platform, as the mp4v2.dll is a 32-bit dll and can only be accessed by a 32-bit executable.
1 parent b2388e0 commit 7a7055a

File tree

3 files changed

+64
-4
lines changed

3 files changed

+64
-4
lines changed

MP4V2.NET.sln

+22-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "iTunesMetaDataDownloader",
55
EndProject
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MP4V2.NET", "MP4V2.NET\MP4V2.NET.csproj", "{B162971A-501C-468A-9C4A-466FC9027881}"
77
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MP4V2.NET.Tests", "MP4V2.NET.Tests\MP4V2.NET.Tests.csproj", "{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}"
9+
EndProject
810
Global
911
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1012
Debug|Any CPU = Debug|Any CPU
@@ -15,12 +17,14 @@ Global
1517
Release|x86 = Release|x86
1618
EndGlobalSection
1719
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18-
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Debug|Any CPU.ActiveCfg = Debug|x86
20+
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
1922
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
2023
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Debug|Mixed Platforms.Build.0 = Debug|x86
2124
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Debug|x86.ActiveCfg = Debug|x86
2225
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Debug|x86.Build.0 = Debug|x86
23-
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Release|Any CPU.ActiveCfg = Release|x86
26+
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Release|Any CPU.Build.0 = Release|Any CPU
2428
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Release|Mixed Platforms.ActiveCfg = Release|x86
2529
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Release|Mixed Platforms.Build.0 = Release|x86
2630
{5F60AF65-751B-413A-BFAE-50BE478658D4}.Release|x86.ActiveCfg = Release|x86
@@ -29,12 +33,26 @@ Global
2933
{B162971A-501C-468A-9C4A-466FC9027881}.Debug|Any CPU.Build.0 = Debug|Any CPU
3034
{B162971A-501C-468A-9C4A-466FC9027881}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
3135
{B162971A-501C-468A-9C4A-466FC9027881}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
32-
{B162971A-501C-468A-9C4A-466FC9027881}.Debug|x86.ActiveCfg = Debug|Any CPU
36+
{B162971A-501C-468A-9C4A-466FC9027881}.Debug|x86.ActiveCfg = Debug|x86
37+
{B162971A-501C-468A-9C4A-466FC9027881}.Debug|x86.Build.0 = Debug|x86
3338
{B162971A-501C-468A-9C4A-466FC9027881}.Release|Any CPU.ActiveCfg = Release|Any CPU
3439
{B162971A-501C-468A-9C4A-466FC9027881}.Release|Any CPU.Build.0 = Release|Any CPU
3540
{B162971A-501C-468A-9C4A-466FC9027881}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
3641
{B162971A-501C-468A-9C4A-466FC9027881}.Release|Mixed Platforms.Build.0 = Release|Any CPU
37-
{B162971A-501C-468A-9C4A-466FC9027881}.Release|x86.ActiveCfg = Release|Any CPU
42+
{B162971A-501C-468A-9C4A-466FC9027881}.Release|x86.ActiveCfg = Release|x86
43+
{B162971A-501C-468A-9C4A-466FC9027881}.Release|x86.Build.0 = Release|x86
44+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
46+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
47+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
48+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Debug|x86.ActiveCfg = Debug|x86
49+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Debug|x86.Build.0 = Debug|x86
50+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
51+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Release|Any CPU.Build.0 = Release|Any CPU
52+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
53+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Release|Mixed Platforms.Build.0 = Release|Any CPU
54+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Release|x86.ActiveCfg = Release|x86
55+
{6A9B186C-7CC0-4E20-AFDD-78A7F0D820B1}.Release|x86.Build.0 = Release|x86
3856
EndGlobalSection
3957
GlobalSection(SolutionProperties) = preSolution
4058
HideSolutionNode = FALSE

MP4V2.NET/MP4V2.NET.csproj

+22
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
24+
<PlatformTarget>x86</PlatformTarget>
2425
</PropertyGroup>
2526
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2627
<DebugType>pdbonly</DebugType>
@@ -29,6 +30,27 @@
2930
<DefineConstants>TRACE</DefineConstants>
3031
<ErrorReport>prompt</ErrorReport>
3132
<WarningLevel>4</WarningLevel>
33+
<PlatformTarget>x86</PlatformTarget>
34+
</PropertyGroup>
35+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
36+
<DebugSymbols>true</DebugSymbols>
37+
<OutputPath>bin\x86\Debug\</OutputPath>
38+
<DefineConstants>DEBUG;TRACE</DefineConstants>
39+
<DebugType>full</DebugType>
40+
<PlatformTarget>x86</PlatformTarget>
41+
<ErrorReport>prompt</ErrorReport>
42+
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
43+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
44+
</PropertyGroup>
45+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
46+
<OutputPath>bin\x86\Release\</OutputPath>
47+
<DefineConstants>TRACE</DefineConstants>
48+
<Optimize>true</Optimize>
49+
<DebugType>pdbonly</DebugType>
50+
<PlatformTarget>x86</PlatformTarget>
51+
<ErrorReport>prompt</ErrorReport>
52+
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
53+
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
3254
</PropertyGroup>
3355
<ItemGroup>
3456
<Reference Include="System" />

iTunesMetaDataDownloader/iTunesMetaDataDownloader.csproj

+20
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,26 @@
3434
<ErrorReport>prompt</ErrorReport>
3535
<WarningLevel>4</WarningLevel>
3636
</PropertyGroup>
37+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
38+
<DebugSymbols>true</DebugSymbols>
39+
<OutputPath>bin\Debug\</OutputPath>
40+
<DefineConstants>DEBUG;TRACE</DefineConstants>
41+
<DebugType>full</DebugType>
42+
<PlatformTarget>x86</PlatformTarget>
43+
<ErrorReport>prompt</ErrorReport>
44+
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
45+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
46+
</PropertyGroup>
47+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
48+
<OutputPath>bin\Release\</OutputPath>
49+
<DefineConstants>TRACE</DefineConstants>
50+
<Optimize>true</Optimize>
51+
<DebugType>pdbonly</DebugType>
52+
<PlatformTarget>x86</PlatformTarget>
53+
<ErrorReport>prompt</ErrorReport>
54+
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
55+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
56+
</PropertyGroup>
3757
<ItemGroup>
3858
<Reference Include="Newtonsoft.Json">
3959
<HintPath>..\lib\Newtonsoft.Json.dll</HintPath>

0 commit comments

Comments
 (0)