Skip to content

Commit 8248cce

Browse files
committed
Adjusted nuspec-file.
1 parent 5ff6c3c commit 8248cce

File tree

4 files changed

+24
-67
lines changed

4 files changed

+24
-67
lines changed

SQLite.CodeFirst.csproj.nuspec

Lines changed: 0 additions & 29 deletions
This file was deleted.

SQLite.CodeFirst.sln

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{7031BD3C
1818
ProjectSection(SolutionItems) = preProject
1919
BuildAllConfigurations.proj = BuildAllConfigurations.proj
2020
release_appveyor.yml = release_appveyor.yml
21-
ReleaseBuild.proj = ReleaseBuild.proj
22-
SQLite.CodeFirst.csproj.nuspec = SQLite.CodeFirst.csproj.nuspec
2321
EndProjectSection
2422
EndProject
2523
Global

SQLite.CodeFirst/SQLite.CodeFirst.csproj

Lines changed: 20 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -16,53 +16,46 @@
1616
<RestorePackages>true</RestorePackages>
1717
<TargetFrameworkProfile />
1818
</PropertyGroup>
19-
<!-- Debug Configuration -->
20-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU'">
19+
<!-- <Debug Configuration> -->
20+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Debug-45|AnyCPU'">
21+
<PlatformTarget>AnyCPU</PlatformTarget>
2122
<DebugSymbols>true</DebugSymbols>
22-
<OutputPath>bin\Debug-40\</OutputPath>
2323
<DefineConstants>DEBUG;TRACE</DefineConstants>
2424
<DebugType>full</DebugType>
25-
<PlatformTarget>AnyCPU</PlatformTarget>
2625
<ErrorReport>prompt</ErrorReport>
2726
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
27+
</PropertyGroup>
28+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU'">
2829
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
29-
<OutputPath>bin\Debug-40\</OutputPath>
30+
<OutputPath>bin\Debug\net40</OutputPath>
3031
</PropertyGroup>
3132
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug-45|AnyCPU' ">
32-
<PlatformTarget>AnyCPU</PlatformTarget>
33-
<DebugSymbols>true</DebugSymbols>
34-
<DebugType>full</DebugType>
35-
<Optimize>false</Optimize>
36-
<OutputPath>bin\Debug-45\</OutputPath>
37-
<DefineConstants>DEBUG;TRACE</DefineConstants>
38-
<ErrorReport>prompt</ErrorReport>
39-
<WarningLevel>4</WarningLevel>
40-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
33+
<OutputPath>bin\Debug\net45</OutputPath>
34+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
4135
</PropertyGroup>
42-
<!-- Release Configuration -->
43-
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-40|AnyCPU'">
44-
<OutputPath>bin\Release-40\</OutputPath>
36+
<!-- </Debug Configuration> -->
37+
<!-- <Release Configuration> -->
38+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-40|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Release-45|AnyCPU'">
39+
<PlatformTarget>AnyCPU</PlatformTarget>
4540
<DefineConstants>TRACE</DefineConstants>
4641
<Optimize>true</Optimize>
4742
<DebugType>pdbonly</DebugType>
48-
<PlatformTarget>AnyCPU</PlatformTarget>
4943
<ErrorReport>prompt</ErrorReport>
50-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
5144
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
5245
</PropertyGroup>
46+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-40|AnyCPU'">
47+
<OutputPath>bin\Release\net40</OutputPath>
48+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
49+
</PropertyGroup>
5350
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-45|AnyCPU' ">
54-
<PlatformTarget>AnyCPU</PlatformTarget>
55-
<DebugType>pdbonly</DebugType>
56-
<Optimize>true</Optimize>
57-
<OutputPath>bin\Release-45\</OutputPath>
58-
<DefineConstants>TRACE</DefineConstants>
59-
<ErrorReport>prompt</ErrorReport>
60-
<WarningLevel>4</WarningLevel>
61-
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
51+
<OutputPath>bin\Release\net45</OutputPath>
52+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
6253
</PropertyGroup>
54+
<!-- </Release Configuration> -->
6355
<PropertyGroup>
6456
<StartupObject />
6557
</PropertyGroup>
58+
<!-- TargetFrameworkVersion depended references -->
6659
<ItemGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-40|AnyCPU' OR '$(Configuration)|$(Platform)' == 'Release-40|AnyCPU'">
6760
<Reference Include="EntityFramework">
6861
<HintPath>..\packages\EntityFramework.6.1.2\lib\net40\EntityFramework.dll</HintPath>
@@ -122,11 +115,4 @@
122115
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
123116
</Target>
124117
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
125-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
126-
Other similar extension points exist, see Microsoft.Common.targets.
127-
<Target Name="BeforeBuild">
128-
</Target>
129-
<Target Name="AfterBuild">
130-
</Target>
131-
-->
132118
</Project>

SQLite.CodeFirst/SQLite.CodeFirst.csproj.nuspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
</frameworkAssemblies>
2424
</metadata>
2525
<files>
26-
<file src="bin\Release-40\$id$.dll" target="lib\net40\SQLite.CodeFirst.dll" />
27-
<file src="bin\Release-45\$id$.dll" target="lib\net45\SQLite.CodeFirst.dll" />
26+
<!-- Exclude all debug stuff -->
27+
<file src="bin\Debug\**\$id$.dll" target="lib" exclude="bin\Debug\**" />
28+
<!-- Include the release dlls -->
29+
<file src="bin\Release\**\$id$.dll" target="lib" />
2830
</files>
2931
</package>

0 commit comments

Comments
 (0)