Skip to content

Commit 64ad62a

Browse files
committed
Added common MSBuild targets file.
1 parent 1552397 commit 64ad62a

File tree

33 files changed

+45
-83
lines changed

33 files changed

+45
-83
lines changed

Diagnostics/PostSharp.Samples.Audit.Extended/PostSharp.Samples.Audit.Extended.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,6 @@
6969
<Version>4.5.0</Version>
7070
</PackageReference>
7171
</ItemGroup>
72+
<Import Project="..\..\PostSharp.Samples.targets"/>
7273
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7374
</Project>

Diagnostics/PostSharp.Samples.Audit/PostSharp.Samples.Audit.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,6 @@
6565
<Version>4.5.0</Version>
6666
</PackageReference>
6767
</ItemGroup>
68+
<Import Project="..\..\PostSharp.Samples.targets"/>
6869
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6970
</Project>

Diagnostics/PostSharp.Samples.Logging.CommonLogging/PostSharp.Samples.Logging.CommonLogging.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,6 @@
7272
</PackageReference>
7373
</ItemGroup>
7474
<Import Project="..\PostSharp.Samples.Logging.BusinessLogic\PostSharp.Samples.Logging.BusinessLogic.projitems" Label="Shared" />
75+
<Import Project="..\..\PostSharp.Samples.targets"/>
7576
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7677
</Project>

Diagnostics/PostSharp.Samples.Logging.Console/PostSharp.Samples.Logging.Console.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,6 @@
6363
</PackageReference>
6464
</ItemGroup>
6565
<Import Project="..\PostSharp.Samples.Logging.BusinessLogic\PostSharp.Samples.Logging.BusinessLogic.projitems" Label="Shared" />
66+
<Import Project="..\..\PostSharp.Samples.targets"/>
6667
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6768
</Project>

Diagnostics/PostSharp.Samples.Logging.CustomBackend.ServiceStack/PostSharp.Samples.Logging.CustomBackend.ServiceStack.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@
7070
</PackageReference>
7171
</ItemGroup>
7272
<Import Project="..\PostSharp.Samples.Logging.BusinessLogic\PostSharp.Samples.Logging.BusinessLogic.projitems" Label="Shared" />
73+
<Import Project="..\..\PostSharp.Samples.targets"/>
7374
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7475
</Project>

Diagnostics/PostSharp.Samples.Logging.Customization/PostSharp.Samples.Logging.Customization.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,6 @@
6868
</PackageReference>
6969
</ItemGroup>
7070
<Import Project="..\PostSharp.Samples.Logging.BusinessLogic\PostSharp.Samples.Logging.BusinessLogic.projitems" Label="Shared" />
71+
<Import Project="..\..\PostSharp.Samples.targets"/>
7172
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7273
</Project>

Diagnostics/PostSharp.Samples.Logging.ElasticStack/ApplicationInsightsLib/ApplicationInsightsLib.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
<PackageReference Include="Serilog.Sinks.ApplicationInsights" Version="2.6.0" />
1111
</ItemGroup>
1212

13+
<Import Project="..\..\..\PostSharp.Samples.targets"/>
1314
</Project>

Diagnostics/PostSharp.Samples.Logging.ElasticStack/ClientExample/ClientExample.csproj

+1-20
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,13 @@
1717
<PackageReference Include="Serilog.Sinks.Async" Version="1.3.0" />
1818
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
1919
<PackageReference Include="Serilog.Sinks.Http" Version="5.0.0" />
20-
</ItemGroup>
21-
22-
<ItemGroup Condition="'$(Configuration)'!='Development'">
2320
<PackageReference Include="PostSharp.Patterns.Diagnostics" Version="6.2.9" />
2421
<PackageReference Include="PostSharp.Patterns.Diagnostics.Serilog" Version="6.2.9" />
2522
</ItemGroup>
2623

27-
<ItemGroup Condition="'$(Configuration)'=='Development'">
28-
<Reference Include="PostSharp">
29-
<HintPath>C:\src\postsharp\Build\bin\bin.Debug\netstandard2.0\PostSharp.dll</HintPath>
30-
</Reference>
31-
<Reference Include="PostSharp.Patterns.Common">
32-
<HintPath>C:\src\postsharp\Patterns\Build\bin\Debug\netstandard2.0\PostSharp.Patterns.Common.dll</HintPath>
33-
</Reference>
34-
<Reference Include="PostSharp.Patterns.Diagnostics">
35-
<HintPath>C:\src\postsharp\Patterns\Build\bin\Debug\netstandard2.0\PostSharp.Patterns.Diagnostics.dll</HintPath>
36-
</Reference>
37-
<Reference Include="PostSharp.Patterns.Diagnostics.Backends.Serilog">
38-
<HintPath>C:\src\postsharp\Patterns\Build\bin\Debug\netstandard2.0\PostSharp.Patterns.Diagnostics.Backends.Serilog.dll</HintPath>
39-
</Reference>
40-
<PostSharpAddIn Include="C:\src\postsharp\Patterns\Build\bin\Debug\PostSharp.Patterns.Common.Weaver.dll" />
41-
</ItemGroup>
42-
4324
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
4425

45-
<Import Project="C:\src\postsharp\Build\bin\PostSharp.targets" Condition="'$(Configuration)'=='Development'" />
26+
<Import Project="..\..\..\PostSharp.Samples.targets"/>
4627

4728

4829

Diagnostics/PostSharp.Samples.Logging.ElasticStack/MicroserviceExample/MicroserviceExample.csproj

+1-20
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,16 @@
2121
<PackageReference Include="Serilog.Sinks.Async" Version="1.3.0" />
2222
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
2323
<PackageReference Include="Serilog.Sinks.Http" Version="5.0.0" />
24-
</ItemGroup>
25-
26-
27-
<ItemGroup Condition="'$(Configuration)'!='Development'">
2824
<PackageReference Include="PostSharp.Patterns.Diagnostics" Version="6.2.9" />
2925
<PackageReference Include="PostSharp.Patterns.Diagnostics.Serilog" Version="6.2.9" />
3026
</ItemGroup>
3127

32-
<ItemGroup Condition="'$(Configuration)'=='Development'">
33-
<Reference Include="PostSharp">
34-
<HintPath>C:\src\postsharp\Build\bin\bin.Debug\netstandard2.0\PostSharp.dll</HintPath>
35-
</Reference>
36-
<Reference Include="PostSharp.Patterns.Common">
37-
<HintPath>C:\src\postsharp\Patterns\Build\bin\Debug\netstandard2.0\PostSharp.Patterns.Common.dll</HintPath>
38-
</Reference>
39-
<Reference Include="PostSharp.Patterns.Diagnostics">
40-
<HintPath>C:\src\postsharp\Patterns\Build\bin\Debug\netstandard2.0\PostSharp.Patterns.Diagnostics.dll</HintPath>
41-
</Reference>
42-
<Reference Include="PostSharp.Patterns.Diagnostics.Backends.Serilog">
43-
<HintPath>C:\src\postsharp\Patterns\Build\bin\Debug\netstandard2.0\PostSharp.Patterns.Diagnostics.Backends.Serilog.dll</HintPath>
44-
</Reference>
45-
<PostSharpAddIn Include="C:\src\postsharp\Patterns\Build\bin\Debug\PostSharp.Patterns.Common.Weaver.dll" />
46-
</ItemGroup>
4728

4829
<ItemGroup>
4930
<WCFMetadata Include="Connected Services" />
5031
</ItemGroup>
5132

5233
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.Web" />
5334

54-
<Import Project="C:\src\postsharp\Build\bin\PostSharp.targets" Condition="'$(Configuration)'=='Development'" />
35+
<Import Project="..\..\..\PostSharp.Samples.targets"/>
5536
</Project>

Diagnostics/PostSharp.Samples.Logging.Etw.CustomSource/PostSharp.Samples.Logging.Etw.CustomSource.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,6 @@
6767
</PackageReference>
6868
</ItemGroup>
6969
<Import Project="..\PostSharp.Samples.Logging.BusinessLogic\PostSharp.Samples.Logging.BusinessLogic.projitems" Label="Shared" />
70+
<Import Project="..\..\PostSharp.Samples.targets"/>
7071
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7172
</Project>

Diagnostics/PostSharp.Samples.Logging.Etw/PostSharp.Samples.Logging.Etw.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,6 @@
6666
</PackageReference>
6767
</ItemGroup>
6868
<Import Project="..\PostSharp.Samples.Logging.BusinessLogic\PostSharp.Samples.Logging.BusinessLogic.projitems" Label="Shared" />
69+
<Import Project="..\..\PostSharp.Samples.targets"/>
6970
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7071
</Project>

Diagnostics/PostSharp.Samples.Logging.Log4Net/PostSharp.Samples.Logging.Log4Net.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@
7474
</PackageReference>
7575
</ItemGroup>
7676
<Import Project="..\PostSharp.Samples.Logging.BusinessLogic\PostSharp.Samples.Logging.BusinessLogic.projitems" Label="Shared" />
77+
<Import Project="..\..\PostSharp.Samples.targets"/>
7778
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7879
</Project>

Diagnostics/PostSharp.Samples.Logging.NLog/PostSharp.Samples.Logging.NLog.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@
7474
</PackageReference>
7575
</ItemGroup>
7676
<Import Project="..\PostSharp.Samples.Logging.BusinessLogic\PostSharp.Samples.Logging.BusinessLogic.projitems" Label="Shared" />
77+
<Import Project="..\..\PostSharp.Samples.targets"/>
7778
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7879
</Project>

Diagnostics/PostSharp.Samples.Logging.Serilog/PostSharp.Samples.Logging.Serilog.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,6 @@
7878
</PackageReference>
7979
</ItemGroup>
8080
<Import Project="..\PostSharp.Samples.Logging.BusinessLogic\PostSharp.Samples.Logging.BusinessLogic.projitems" Label="Shared" />
81+
<Import Project="..\..\PostSharp.Samples.targets"/>
8182
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8283
</Project>

Framework/PostSharp.Samples.Authorization/PostSharp.Samples.Authorization.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,6 @@
8989
<Version>4.5.0</Version>
9090
</PackageReference>
9191
</ItemGroup>
92+
<Import Project="..\..\PostSharp.Samples.targets"/>
9293
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
9394
</Project>

Framework/PostSharp.Samples.AutoRetry/PostSharp.Samples.AutoRetry.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
<Version>6.2.9</Version>
7676
</PackageReference>
7777
</ItemGroup>
78+
<Import Project="..\..\PostSharp.Samples.targets"/>
7879
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7980
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8081
Other similar extension points exist, see Microsoft.Common.targets.

Framework/PostSharp.Samples.CustomCaching/PostSharp.Samples.CustomCaching.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
<Version>6.2.9</Version>
6363
</PackageReference>
6464
</ItemGroup>
65+
<Import Project="..\..\PostSharp.Samples.targets"/>
6566
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6667
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6768
Other similar extension points exist, see Microsoft.Common.targets.

Framework/PostSharp.Samples.CustomLogging/PostSharp.Samples.CustomLogging.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
<Version>6.2.9</Version>
6363
</PackageReference>
6464
</ItemGroup>
65+
<Import Project="..\..\PostSharp.Samples.targets"/>
6566
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6667
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6768
Other similar extension points exist, see Microsoft.Common.targets.

Framework/PostSharp.Samples.Encryption/PostSharp.Samples.Encryption.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
<Version>6.2.9</Version>
6262
</PackageReference>
6363
</ItemGroup>
64+
<Import Project="..\..\PostSharp.Samples.targets"/>
6465
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6566
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6667
Other similar extension points exist, see Microsoft.Common.targets.

Framework/PostSharp.Samples.ExceptionHandling/PostSharp.Samples.ExceptionHandling.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
<Version>6.2.9</Version>
6363
</PackageReference>
6464
</ItemGroup>
65+
<Import Project="..\..\PostSharp.Samples.targets"/>
6566
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6667
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6768
Other similar extension points exist, see Microsoft.Common.targets.

Framework/PostSharp.Samples.NormalizeString/PostSharp.Samples.NormalizeString.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,6 @@
5757
<Version>6.2.9</Version>
5858
</PackageReference>
5959
</ItemGroup>
60+
<Import Project="..\..\PostSharp.Samples.targets"/>
6061
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6162
</Project>

Framework/PostSharp.Samples.Persistence/PostSharp.Samples.Persistence.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
<Version>6.2.9</Version>
6464
</PackageReference>
6565
</ItemGroup>
66+
<Import Project="..\..\PostSharp.Samples.targets"/>
6667
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
6768
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6869
Other similar extension points exist, see Microsoft.Common.targets.

Framework/PostSharp.Samples.Profiling/PostSharp.Samples.Profiling.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
<Version>6.2.9</Version>
7575
</PackageReference>
7676
</ItemGroup>
77+
<Import Project="..\..\PostSharp.Samples.targets"/>
7778
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7879
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7980
Other similar extension points exist, see Microsoft.Common.targets.

Framework/PostSharp.Samples.ResharperAnnotations/PostSharp.Samples.ResharperAnnotations.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,6 @@
6868
<Version>4.5.0</Version>
6969
</PackageReference>
7070
</ItemGroup>
71+
<Import Project="..\..\PostSharp.Samples.targets"/>
7172
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7273
</Project>

Framework/PostSharp.Samples.Transactions/PostSharp.Samples.Transactions.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
<Version>6.2.9</Version>
185185
</PackageReference>
186186
</ItemGroup>
187+
<Import Project="..\..\PostSharp.Samples.targets"/>
187188
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
188189
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
189190
Other similar extension points exist, see Microsoft.Common.targets.

Framework/PostSharp.Samples.ValidateResourceString/PostSharp.Samples.ValidateResourceString.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
<Version>6.2.9</Version>
7373
</PackageReference>
7474
</ItemGroup>
75+
<Import Project="..\..\PostSharp.Samples.targets"/>
7576
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7677
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7778
Other similar extension points exist, see Microsoft.Common.targets.

Framework/PostSharp.Samples.WeakEvent/PostSharp.Samples.WeakEvent.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<Version>1.5.0</Version>
6868
</PackageReference>
6969
</ItemGroup>
70+
<Import Project="..\..\PostSharp.Samples.targets"/>
7071
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7172
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7273
Other similar extension points exist, see Microsoft.Common.targets.

PostSharp.Samples.targets

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
4+
</Project>

Solid/PostSharp.Samples.Caching/PostSharp.Samples.Caching.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,6 @@
8787
<Version>4.3.0</Version>
8888
</PackageReference>
8989
</ItemGroup>
90+
<Import Project="..\..\PostSharp.Samples.targets"/>
9091
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
9192
</Project>

Threading/PostSharp.Samples.Threading.PingPong/PostSharp.Samples.Threading.PingPong.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<Version>4.5.0</Version>
6868
</PackageReference>
6969
</ItemGroup>
70+
<Import Project="..\..\PostSharp.Samples.targets"/>
7071
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7172
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
7273
Other similar extension points exist, see Microsoft.Common.targets.

Threading/PostSharp.Samples.Threading.ThreadDispatching/PostSharp.Samples.Threading.ThreadDispatching.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
<Version>6.2.9</Version>
106106
</PackageReference>
107107
</ItemGroup>
108+
<Import Project="..\..\PostSharp.Samples.targets"/>
108109
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
109110
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
110111
Other similar extension points exist, see Microsoft.Common.targets.

Xaml/PostSharp.Samples.Xaml/PostSharp.Samples.Xaml.csproj

+11-28
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\..\packages\PostSharp.6.2.9\build\PostSharp.props" Condition="Exists('..\..\packages\PostSharp.6.2.9\build\PostSharp.props')" />
43
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
54
<PropertyGroup>
65
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -38,24 +37,6 @@
3837
<WarningLevel>4</WarningLevel>
3938
</PropertyGroup>
4039
<ItemGroup>
41-
<Reference Include="PostSharp, Version=6.2.9.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL">
42-
<HintPath>..\..\packages\PostSharp.Redist.6.2.9\lib\net45\PostSharp.dll</HintPath>
43-
</Reference>
44-
<Reference Include="PostSharp.Patterns.Aggregation, Version=6.2.9.0, Culture=neutral, PublicKeyToken=e7f631e6ce13f078, processorArchitecture=MSIL">
45-
<HintPath>..\..\packages\PostSharp.Patterns.Aggregation.Redist.6.2.9\lib\net45\PostSharp.Patterns.Aggregation.dll</HintPath>
46-
</Reference>
47-
<Reference Include="PostSharp.Patterns.Common, Version=6.2.9.0, Culture=neutral, PublicKeyToken=e7f631e6ce13f078, processorArchitecture=MSIL">
48-
<HintPath>..\..\packages\PostSharp.Patterns.Common.Redist.6.2.9\lib\net47\PostSharp.Patterns.Common.dll</HintPath>
49-
</Reference>
50-
<Reference Include="PostSharp.Patterns.Model, Version=6.2.9.0, Culture=neutral, PublicKeyToken=e7f631e6ce13f078, processorArchitecture=MSIL">
51-
<HintPath>..\..\packages\PostSharp.Patterns.Model.Redist.6.2.9\lib\net40\PostSharp.Patterns.Model.dll</HintPath>
52-
</Reference>
53-
<Reference Include="PostSharp.Patterns.Threading, Version=6.2.9.0, Culture=neutral, PublicKeyToken=e7f631e6ce13f078, processorArchitecture=MSIL">
54-
<HintPath>..\..\packages\PostSharp.Patterns.Threading.Redist.6.2.9\lib\net45\PostSharp.Patterns.Threading.dll</HintPath>
55-
</Reference>
56-
<Reference Include="PostSharp.Patterns.Xaml, Version=6.2.9.0, Culture=neutral, PublicKeyToken=e7f631e6ce13f078, processorArchitecture=MSIL">
57-
<HintPath>..\..\packages\PostSharp.Patterns.Xaml.Redist.6.2.9\lib\net40\PostSharp.Patterns.Xaml.dll</HintPath>
58-
</Reference>
5940
<Reference Include="System" />
6041
<Reference Include="System.Data" />
6142
<Reference Include="System.Xml" />
@@ -120,23 +101,25 @@
120101
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
121102
</EmbeddedResource>
122103
<None Include="app.config" />
123-
<None Include="packages.config" />
124104
<None Include="Properties\Settings.settings">
125105
<Generator>SettingsSingleFileGenerator</Generator>
126106
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
127107
</None>
128108
<AppDesigner Include="Properties\" />
129109
<None Include="README.md" />
130110
</ItemGroup>
111+
<ItemGroup>
112+
<PackageReference Include="PostSharp">
113+
<Version>6.2.9</Version>
114+
</PackageReference>
115+
<PackageReference Include="PostSharp.Patterns.Threading">
116+
<Version>6.2.9</Version>
117+
</PackageReference>
118+
<PackageReference Include="PostSharp.Patterns.Xaml">
119+
<Version>6.2.9</Version>
120+
</PackageReference>
121+
</ItemGroup>
131122
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
132-
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
133-
<PropertyGroup>
134-
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
135-
</PropertyGroup>
136-
<Error Condition="!Exists('..\..\packages\PostSharp.6.2.9\build\PostSharp.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\PostSharp.6.2.9\build\PostSharp.props'))" />
137-
<Error Condition="!Exists('..\..\packages\PostSharp.6.2.9\build\PostSharp.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\PostSharp.6.2.9\build\PostSharp.targets'))" />
138-
</Target>
139-
<Import Project="..\..\packages\PostSharp.6.2.9\build\PostSharp.targets" Condition="Exists('..\..\packages\PostSharp.6.2.9\build\PostSharp.targets')" />
140123
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
141124
Other similar extension points exist, see Microsoft.Common.targets.
142125
<Target Name="BeforeBuild">

Xaml/PostSharp.Samples.Xaml/packages.config

-15
This file was deleted.

0 commit comments

Comments
 (0)