Skip to content

Commit

Permalink
Updated to PostSharp 4.3.15.
Browse files Browse the repository at this point in the history
  • Loading branch information
gfraiteur committed Aug 4, 2016
1 parent a114647 commit 08760be
Show file tree
Hide file tree
Showing 28 changed files with 113 additions and 111 deletions.
10 changes: 5 additions & 5 deletions PostSharp.Samples.AutoRetry/PostSharp.Samples.AutoRetry.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="PostSharp, Version=4.3.14.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.14\lib\net35-client\PostSharp.dll</HintPath>
<Reference Include="PostSharp, Version=4.3.15.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.15\lib\net35-client\PostSharp.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -59,10 +59,10 @@
<None Include="README.md" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\PostSharp.4.3.14\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" />
<Import Project="..\packages\PostSharp.4.3.15\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" />
<Target Name="EnsurePostSharpImported" BeforeTargets="BeforeBuild" Condition="'$(PostSharp30Imported)' == ''">
<Error Condition="!Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="!Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
3 changes: 2 additions & 1 deletion PostSharp.Samples.AutoRetry/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ internal static class Program

private static void Main(string[] args)
{
Console.WriteLine(DownloadFile());
var content = DownloadFile();
Console.WriteLine(content);
}


Expand Down
2 changes: 1 addition & 1 deletion PostSharp.Samples.AutoRetry/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="PostSharp" version="4.3.14" targetFramework="net40" />
<package id="PostSharp" version="4.3.15" targetFramework="net40" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="PostSharp, Version=4.3.14.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.14\lib\net35-client\PostSharp.dll</HintPath>
<Reference Include="PostSharp, Version=4.3.15.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.15\lib\net35-client\PostSharp.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -61,10 +61,10 @@
<None Include="README.md" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\PostSharp.4.3.14\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" />
<Import Project="..\packages\PostSharp.4.3.15\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" />
<Target Name="EnsurePostSharpImported" BeforeTargets="BeforeBuild" Condition="'$(PostSharp30Imported)' == ''">
<Error Condition="!Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="!Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
2 changes: 1 addition & 1 deletion PostSharp.Samples.CustomCaching/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="PostSharp" version="4.3.14" targetFramework="net40" />
<package id="PostSharp" version="4.3.15" targetFramework="net40" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="PostSharp, Version=4.3.14.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.14\lib\net35-client\PostSharp.dll</HintPath>
<Reference Include="PostSharp, Version=4.3.15.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.15\lib\net35-client\PostSharp.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -62,10 +62,10 @@
<None Include="README.md" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\PostSharp.4.3.14\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" />
<Import Project="..\packages\PostSharp.4.3.15\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" />
<Target Name="EnsurePostSharpImported" BeforeTargets="BeforeBuild" Condition="'$(PostSharp30Imported)' == ''">
<Error Condition="!Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="!Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
5 changes: 3 additions & 2 deletions PostSharp.Samples.CustomLogging/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ internal static class Program
{
[LogSetValue] private static int Value;

private static void Main(string[] args)
private static void Main()
{
// Demonstrate that we can create a nice hierarchical log including parameter and return values.
Value = Fibonacci(5);
Expand All @@ -49,7 +49,8 @@ private static int Fibonacci(int n)
return 0;
if (n == 1)
return 1;
return Fibonacci(n - 1) + Fibonacci(n - 2);

return Fibonacci(n - 1) + Fibonacci(n - 2);
}
}
}
2 changes: 1 addition & 1 deletion PostSharp.Samples.CustomLogging/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="PostSharp" version="4.3.14" targetFramework="net40" />
<package id="PostSharp" version="4.3.15" targetFramework="net40" />
</packages>
10 changes: 5 additions & 5 deletions PostSharp.Samples.Encryption/PostSharp.Samples.Encryption.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="PostSharp, Version=4.3.14.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.14\lib\net35-client\PostSharp.dll</HintPath>
<Reference Include="PostSharp, Version=4.3.15.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.15\lib\net35-client\PostSharp.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -59,10 +59,10 @@
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\PostSharp.4.3.14\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" />
<Import Project="..\packages\PostSharp.4.3.15\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" />
<Target Name="EnsurePostSharpImported" BeforeTargets="BeforeBuild" Condition="'$(PostSharp30Imported)' == ''">
<Error Condition="!Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="!Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
2 changes: 1 addition & 1 deletion PostSharp.Samples.Encryption/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="PostSharp" version="4.3.14" targetFramework="net40" />
<package id="PostSharp" version="4.3.15" targetFramework="net40" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="PostSharp, Version=4.3.14.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.14\lib\net35-client\PostSharp.dll</HintPath>
<Reference Include="PostSharp, Version=4.3.15.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.15\lib\net35-client\PostSharp.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -61,10 +61,10 @@
<None Include="README.md" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\PostSharp.4.3.14\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" />
<Import Project="..\packages\PostSharp.4.3.15\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" />
<Target Name="EnsurePostSharpImported" BeforeTargets="BeforeBuild" Condition="'$(PostSharp30Imported)' == ''">
<Error Condition="!Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="!Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
2 changes: 1 addition & 1 deletion PostSharp.Samples.ExceptionHandling/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="PostSharp" version="4.3.14" targetFramework="net40" />
<package id="PostSharp" version="4.3.15" targetFramework="net40" />
</packages>
10 changes: 5 additions & 5 deletions PostSharp.Samples.Profiling/PostSharp.Samples.Profiling.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="PostSharp, Version=4.3.14.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.14\lib\net35-client\PostSharp.dll</HintPath>
<Reference Include="PostSharp, Version=4.3.15.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
<HintPath>..\packages\PostSharp.4.3.15\lib\net35-client\PostSharp.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
Expand All @@ -59,10 +59,10 @@
<None Include="README.md" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\PostSharp.4.3.14\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" />
<Import Project="..\packages\PostSharp.4.3.15\tools\PostSharp.targets" Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" />
<Target Name="EnsurePostSharpImported" BeforeTargets="BeforeBuild" Condition="'$(PostSharp30Imported)' == ''">
<Error Condition="!Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.14\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="!Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://www.postsharp.net/links/nuget-restore." />
<Error Condition="Exists('..\packages\PostSharp.4.3.15\tools\PostSharp.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://www.postsharp.net/links/nuget-restore." />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
2 changes: 1 addition & 1 deletion PostSharp.Samples.Profiling/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="PostSharp" version="4.3.14" targetFramework="net45" />
<package id="PostSharp" version="4.3.15" targetFramework="net45" />
</packages>

0 comments on commit 08760be

Please sign in to comment.