Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #61 from adamralph/upgrade-nugets
Browse files Browse the repository at this point in the history
#59 upgraded to scriptcs 0.8.1
  • Loading branch information
adamralph committed Nov 10, 2013
2 parents f8b4f08 + f8204b4 commit 0ce7fd1
Show file tree
Hide file tree
Showing 36 changed files with 40 additions and 432 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Expand Up @@ -6,6 +6,14 @@ obj

/src/packages/*
!/src/packages/StyleCop.MSBuild.*
/src/packages/StyleCop.MSBuild.*/*
/src/packages/StyleCop.MSBuild.*/*.*
!/src/packages/StyleCop.MSBuild.*/tools
/src/packages/StyleCop.MSBuild.*/tools/*
/src/packages/StyleCop.MSBuild.*/tools/*.*
!/src/packages/StyleCop.MSBuild.*/tools/StyleCop.Targets

/src/sample/packages/*
!/src/sample/packages/nuget.config

*.sln.ide
8 changes: 4 additions & 4 deletions src/SampleModules/SampleModules.csproj
Expand Up @@ -55,9 +55,9 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="Nancy, Version=0.20.0.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Nancy, Version=0.21.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Nancy.0.20.0\lib\net40\Nancy.dll</HintPath>
<HintPath>..\packages\Nancy.0.21.1\lib\net40\Nancy.dll</HintPath>
</Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand All @@ -70,14 +70,14 @@
</Target>
-->
<PropertyGroup>
<StyleCopMSBuildTargetsFile>..\packages\StyleCop.MSBuild.4.7.46.0\tools\StyleCop.targets</StyleCopMSBuildTargetsFile>
<StyleCopMSBuildTargetsFile>..\packages\StyleCop.MSBuild.4.7.46.1\tools\StyleCop.targets</StyleCopMSBuildTargetsFile>
</PropertyGroup>
<Import Condition="Exists('$(StyleCopMSBuildTargetsFile)')" Project="$(StyleCopMSBuildTargetsFile)" />
<PropertyGroup>
<StyleCopMSBuildMessageMissing>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded. Ensure that the package is present and then restart the build. If you are using an IDE (e.g. Visual Studio), reload the project before restarting the build.</StyleCopMSBuildMessageMissing>
<StyleCopMSBuildMessagePresent>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded (but is now present). To fix this, restart the build. If you are using an IDE (e.g. Visual Studio), reload the project before restarting the build.</StyleCopMSBuildMessagePresent>
<StyleCopMSBuildMessageRestore>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded. To fix this, restore the package and then restart the build. If you are using an IDE (e.g. Visual Studio), you may need to reload the project before restarting the build. Note that regular NuGet package restore (during build) does not work with this package because the package needs to be present before the project is loaded. If this is an automated build (e.g. CI server), you may want to ensure that the build process restores the StyleCop.MSBuild package before the project is built.</StyleCopMSBuildMessageRestore>
<StyleCopMSBuildMessageRestored>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded (but is now present). To fix this, restart the build. If you are using an IDE (e.g. Visual Studio), reload the project before restarting the build. Note that when using regular NuGet package restore (during build) the package will not be available for the initial build because the package needs to be present before the project is loaded. If package restore executes successfully in the intitial build then the package will be available for subsequent builds. If this is an automated build (e.g. CI server), you may want to ensure that the build process restores the StyleCop.MSBuild package before the initial build.</StyleCopMSBuildMessageRestored>
<StyleCopMSBuildMessageRestored>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded (but is now present). To fix this, restart the build. If you are using an IDE (e.g. Visual Studio), reload the project before restarting the build. Note that when using regular NuGet package restore (during build) the package will not be available for the initial build because the package needs to be present before the project is loaded. If package restore executes successfully in the initial build then the package will be available for subsequent builds. If this is an automated build (e.g. CI server), you may want to ensure that the build process restores the StyleCop.MSBuild package before the initial build.</StyleCopMSBuildMessageRestored>
</PropertyGroup>
<Target Name="StyleCopMSBuildTargetsNotFound">
<Warning Condition="!Exists('$(StyleCopMSBuildTargetsFile)') And $(RestorePackages)!=true And $(StyleCopTreatErrorsAsWarnings)!=false" Text="$(StyleCopMSBuildMessageMissing)" />
Expand Down
4 changes: 2 additions & 2 deletions src/SampleModules/packages.config
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Nancy" version="0.20.0" targetFramework="net45" />
<package id="StyleCop.MSBuild" version="4.7.46.0" targetFramework="net45" />
<package id="Nancy" version="0.21.1" targetFramework="net45" />
<package id="StyleCop.MSBuild" version="4.7.46.1" targetFramework="net45" />
</packages>
4 changes: 2 additions & 2 deletions src/ScriptCs.Nancy.nuspec
Expand Up @@ -14,8 +14,8 @@
<copyright>Copyright (c) Adam Ralph. (adam@adamralph.com)</copyright>
<tags>scriptcs nancy selfhosting pack</tags>
<dependencies>
<dependency id="Nancy.Hosting.Self" version="0.20.0" />
<dependency id="ScriptCs.Contracts" version="0.8.0" />
<dependency id="Nancy.Hosting.Self" version="0.21.1" />
<dependency id="ScriptCs.Contracts" version="0.8.1" />
</dependencies>
</metadata>
<files>
Expand Down
1 change: 1 addition & 0 deletions src/ScriptCs.Nancy.sln
Expand Up @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{E52A00
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionFiles", "SolutionFiles", "{32675FB6-555F-4532-A6FA-37200564DD52}"
ProjectSection(SolutionItems) = preProject
ScriptCs.Nancy.CustomDictionary.xml = ScriptCs.Nancy.CustomDictionary.xml
ScriptCs.Nancy.nuspec = ScriptCs.Nancy.nuspec
ScriptCs.Nancy.ruleset = ScriptCs.Nancy.ruleset
Settings.StyleCop = Settings.StyleCop
Expand Down
2 changes: 1 addition & 1 deletion src/ScriptCs.Nancy/Properties/AssemblyInfo.cs
Expand Up @@ -17,4 +17,4 @@

[assembly: AssemblyVersion("0.11.0")]
[assembly: AssemblyFileVersion("0.11.0")]
[assembly: AssemblyInformationalVersion("0.11.0-beta01")]
[assembly: AssemblyInformationalVersion("0.11.0")]
14 changes: 7 additions & 7 deletions src/ScriptCs.Nancy/ScriptCs.Nancy.csproj
Expand Up @@ -56,17 +56,17 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<Reference Include="Nancy, Version=0.20.0.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Nancy, Version=0.21.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Nancy.0.20.0\lib\net40\Nancy.dll</HintPath>
<HintPath>..\packages\Nancy.0.21.1\lib\net40\Nancy.dll</HintPath>
</Reference>
<Reference Include="Nancy.Hosting.Self, Version=0.20.0.0, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="Nancy.Hosting.Self, Version=0.21.1.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Nancy.Hosting.Self.0.20.0\lib\net40\Nancy.Hosting.Self.dll</HintPath>
<HintPath>..\packages\Nancy.Hosting.Self.0.21.1\lib\net40\Nancy.Hosting.Self.dll</HintPath>
</Reference>
<Reference Include="ScriptCs.Contracts, Version=0.8.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\ScriptCs.Contracts.0.8.0\lib\net45\ScriptCs.Contracts.dll</HintPath>
<HintPath>..\packages\ScriptCs.Contracts.0.8.1\lib\net45\ScriptCs.Contracts.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
Expand All @@ -86,14 +86,14 @@
</Target>
-->
<PropertyGroup>
<StyleCopMSBuildTargetsFile>..\packages\StyleCop.MSBuild.4.7.46.0\tools\StyleCop.targets</StyleCopMSBuildTargetsFile>
<StyleCopMSBuildTargetsFile>..\packages\StyleCop.MSBuild.4.7.46.1\tools\StyleCop.targets</StyleCopMSBuildTargetsFile>
</PropertyGroup>
<Import Condition="Exists('$(StyleCopMSBuildTargetsFile)')" Project="$(StyleCopMSBuildTargetsFile)" />
<PropertyGroup>
<StyleCopMSBuildMessageMissing>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded. Ensure that the package is present and then restart the build. If you are using an IDE (e.g. Visual Studio), reload the project before restarting the build.</StyleCopMSBuildMessageMissing>
<StyleCopMSBuildMessagePresent>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded (but is now present). To fix this, restart the build. If you are using an IDE (e.g. Visual Studio), reload the project before restarting the build.</StyleCopMSBuildMessagePresent>
<StyleCopMSBuildMessageRestore>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded. To fix this, restore the package and then restart the build. If you are using an IDE (e.g. Visual Studio), you may need to reload the project before restarting the build. Note that regular NuGet package restore (during build) does not work with this package because the package needs to be present before the project is loaded. If this is an automated build (e.g. CI server), you may want to ensure that the build process restores the StyleCop.MSBuild package before the project is built.</StyleCopMSBuildMessageRestore>
<StyleCopMSBuildMessageRestored>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded (but is now present). To fix this, restart the build. If you are using an IDE (e.g. Visual Studio), reload the project before restarting the build. Note that when using regular NuGet package restore (during build) the package will not be available for the initial build because the package needs to be present before the project is loaded. If package restore executes successfully in the intitial build then the package will be available for subsequent builds. If this is an automated build (e.g. CI server), you may want to ensure that the build process restores the StyleCop.MSBuild package before the initial build.</StyleCopMSBuildMessageRestored>
<StyleCopMSBuildMessageRestored>Failed to import StyleCop.MSBuild targets from '$(StyleCopMSBuildTargetsFile)'. The StyleCop.MSBuild package was either missing or incomplete when the project was loaded (but is now present). To fix this, restart the build. If you are using an IDE (e.g. Visual Studio), reload the project before restarting the build. Note that when using regular NuGet package restore (during build) the package will not be available for the initial build because the package needs to be present before the project is loaded. If package restore executes successfully in the initial build then the package will be available for subsequent builds. If this is an automated build (e.g. CI server), you may want to ensure that the build process restores the StyleCop.MSBuild package before the initial build.</StyleCopMSBuildMessageRestored>
</PropertyGroup>
<Target Name="StyleCopMSBuildTargetsNotFound">
<Warning Condition="!Exists('$(StyleCopMSBuildTargetsFile)') And $(RestorePackages)!=true And $(StyleCopTreatErrorsAsWarnings)!=false" Text="$(StyleCopMSBuildMessageMissing)" />
Expand Down
8 changes: 4 additions & 4 deletions src/ScriptCs.Nancy/packages.config
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="LiteGuard.Source" version="0.7.0" targetFramework="net45" />
<package id="Nancy" version="0.20.0" targetFramework="net45" />
<package id="Nancy.Hosting.Self" version="0.20.0" targetFramework="net45" />
<package id="ScriptCs.Contracts" version="0.8.0" targetFramework="net45" />
<package id="StyleCop.MSBuild" version="4.7.46.0" targetFramework="net45" />
<package id="Nancy" version="0.21.1" targetFramework="net45" />
<package id="Nancy.Hosting.Self" version="0.21.1" targetFramework="net45" />
<package id="ScriptCs.Contracts" version="0.8.1" targetFramework="net45" />
<package id="StyleCop.MSBuild" version="4.7.46.1" targetFramework="net45" />
</packages>
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.

This file was deleted.

9 changes: 0 additions & 9 deletions src/packages/StyleCop.MSBuild.4.7.46.0/license.txt

This file was deleted.

This file was deleted.

0 comments on commit 0ce7fd1

Please sign in to comment.