Skip to content

Commit

Permalink
Updated build location to be standard location, and updated nuspec to…
Browse files Browse the repository at this point in the history
… reflect it, to see if this can solve the symbolsource.org issue. Not convinced it will, though. Also updated appveyor.yml to have nuget generate a standard symbols package.
  • Loading branch information
abe545 committed Apr 11, 2015
1 parent a467e3b commit 68c3519
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\Bin\Debug\NET40\</OutputPath>
<OutputPath>Bin\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;NET40</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down Expand Up @@ -58,7 +58,7 @@
<CodeContractsRuntimeCheckingLevel>Full</CodeContractsRuntimeCheckingLevel>
<CodeContractsReferenceAssembly>Build</CodeContractsReferenceAssembly>
<CodeContractsAnalysisWarningLevel>0</CodeContractsAnalysisWarningLevel>
<DocumentationFile>..\Bin\Debug\NET40\CodeOnlyStoredProcedure.XML</DocumentationFile>
<DocumentationFile>Bin\Debug\CodeOnlyStoredProcedure.XML</DocumentationFile>
<CodeContractsAssertsToContractsCheckBox>True</CodeContractsAssertsToContractsCheckBox>
<CodeContractsRedundantTests>True</CodeContractsRedundantTests>
<CodeContractsMissingPublicEnsuresAsWarnings>True</CodeContractsMissingPublicEnsuresAsWarnings>
Expand All @@ -72,7 +72,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\Bin\Release\NET40\</OutputPath>
<OutputPath>Bin\Release\</OutputPath>
<DefineConstants>TRACE;NET40</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down Expand Up @@ -110,7 +110,7 @@
<CodeContractsRuntimeCheckingLevel>Full</CodeContractsRuntimeCheckingLevel>
<CodeContractsReferenceAssembly>Build</CodeContractsReferenceAssembly>
<CodeContractsAnalysisWarningLevel>0</CodeContractsAnalysisWarningLevel>
<DocumentationFile>..\Bin\Release\NET40\CodeOnlyStoredProcedure.XML</DocumentationFile>
<DocumentationFile>Bin\Release\CodeOnlyStoredProcedure.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
Expand Down
8 changes: 4 additions & 4 deletions CodeOnlyStoredProcedure/CodeOnlyStoredProcedure.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\Bin\Debug\NET45\</OutputPath>
<OutputPath>Bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down Expand Up @@ -56,7 +56,7 @@
<CodeContractsRuntimeCheckingLevel>Full</CodeContractsRuntimeCheckingLevel>
<CodeContractsAnalysisWarningLevel>0</CodeContractsAnalysisWarningLevel>
<CodeContractsReferenceAssembly>Build</CodeContractsReferenceAssembly>
<DocumentationFile>..\Bin\Debug\NET45\CodeOnlyStoredProcedure.XML</DocumentationFile>
<DocumentationFile>Bin\Debug\CodeOnlyStoredProcedure.XML</DocumentationFile>
<CodeContractsAssertsToContractsCheckBox>True</CodeContractsAssertsToContractsCheckBox>
<CodeContractsRedundantTests>True</CodeContractsRedundantTests>
<CodeContractsMissingPublicEnsuresAsWarnings>True</CodeContractsMissingPublicEnsuresAsWarnings>
Expand All @@ -70,7 +70,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\Bin\Release\NET45\</OutputPath>
<OutputPath>Bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand Down Expand Up @@ -108,7 +108,7 @@
<CodeContractsRuntimeCheckingLevel>Full</CodeContractsRuntimeCheckingLevel>
<CodeContractsReferenceAssembly>Build</CodeContractsReferenceAssembly>
<CodeContractsAnalysisWarningLevel>0</CodeContractsAnalysisWarningLevel>
<DocumentationFile>..\Bin\Release\NET45\CodeOnlyStoredProcedure.XML</DocumentationFile>
<DocumentationFile>Bin\Release\CodeOnlyStoredProcedure.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.CSharp" />
Expand Down
3 changes: 2 additions & 1 deletion CodeOnlyStoredProcedures.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ Added xml comments to all public methods. While not complete documentation, they
</references>
</metadata>
<files>
<file src="Bin\Release\**\CodeOnlyStoredProcedure.*" exclude="**\*.old" target="lib" />
<file src="CodeOnlyStoredProcedure\Bin\Release\**\CodeOnlyStoredProcedure*" exclude="**\*.old" target="lib\net45" />
<file src="CodeOnlyStoredProcedure-NET40\Bin\Release\**\CodeOnlyStoredProcedure*" exclude="**\*.old" target="lib\net40" />
<file src="**\*.cs" exclude="*Test*\**\*;CodeOnlyStoredProcedure\obj\**\*" target="src" />
</files>
</package>
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ test:
after_test:
- .\SmokeTests\bin\Release\SmokeTests.exe
- .\SmokeTests-NET40\bin\Release\SmokeTests-NET40.exe
- ps: nuget pack CodeOnlyStoredProcedures.nuspec -Symbols -NonInteractive -Verbosity detailed -Exclude "**\Contracts\*" -Version $env:packageVersion
- ps: nuget pack CodeOnlyStoredProcedures.nuspec -NonInteractive -Verbosity detailed -Exclude "**\*.cs;**\*.pdb" -Version $env:packageVersion
- ps: nuget pack CodeOnlyStoredProcedures.nuspec -Symbols -NonInteractive -Verbosity detailed -Version $env:packageVersion

artifacts:
- path: '*.nupkg'
Expand Down

0 comments on commit 68c3519

Please sign in to comment.