|
26 | 26 | <IISExpressUseClassicPipelineMode /> |
27 | 27 | <TargetFrameworkProfile /> |
28 | 28 | <MSBuildCommunityTasksPath>$(MSBuildThisFileDirectory)..\..\packages\MSBuildTasks.1.4.0.88\tools</MSBuildCommunityTasksPath> |
| 29 | + <DontImportPostSharp>True</DontImportPostSharp> |
29 | 30 | </PropertyGroup> |
30 | 31 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
31 | 32 | <DebugSymbols>true</DebugSymbols> |
|
68 | 69 | <Prefer32Bit>false</Prefer32Bit> |
69 | 70 | </PropertyGroup> |
70 | 71 | <ItemGroup> |
71 | | - <Reference Include="PostSharp, Version=4.2.9.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL"> |
72 | | - <SpecificVersion>False</SpecificVersion> |
73 | | - <HintPath>..\..\packages\PostSharp.4.2.9-preview\lib\net35-client\PostSharp.dll</HintPath> |
| 72 | + <Reference Include="PostSharp, Version=4.3.25.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL"> |
| 73 | + <HintPath>..\..\packages\PostSharp.4.3.25\lib\net35-client\PostSharp.dll</HintPath> |
| 74 | + <Private>True</Private> |
74 | 75 | </Reference> |
75 | | - <Reference Include="PostSharp.Compiler.Common, Version=4.2.9.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL"> |
76 | | - <SpecificVersion>False</SpecificVersion> |
77 | | - <HintPath>..\..\packages\PostSharp.Compiler.Common.4.2.9-preview\lib\net40\PostSharp.Compiler.Common.dll</HintPath> |
| 76 | + <Reference Include="PostSharp.Compiler.Common, Version=4.3.25.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL"> |
| 77 | + <HintPath>..\..\packages\PostSharp.Compiler.Common.4.3.25\lib\net40\PostSharp.Compiler.Common.dll</HintPath> |
| 78 | + <Private>True</Private> |
78 | 79 | </Reference> |
79 | | - <Reference Include="PostSharp.Compiler.Settings, Version=4.2.9.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL"> |
80 | | - <SpecificVersion>False</SpecificVersion> |
81 | | - <HintPath>..\..\packages\PostSharp.Compiler.Settings.4.2.9-preview\lib\net40\PostSharp.Compiler.Settings.dll</HintPath> |
| 80 | + <Reference Include="PostSharp.Compiler.Settings, Version=4.3.25.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7, processorArchitecture=MSIL"> |
| 81 | + <HintPath>..\..\packages\PostSharp.Compiler.Settings.4.3.25\lib\net40\PostSharp.Compiler.Settings.dll</HintPath> |
| 82 | + <Private>True</Private> |
82 | 83 | </Reference> |
83 | 84 | <Reference Include="System" /> |
84 | 85 | <Reference Include="System.Data" /> |
|
241 | 242 | </PropertyGroup> |
242 | 243 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
243 | 244 | <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" /> |
244 | | - <Import Project="$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.Targets"/> |
| 245 | + <Import Project="$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.Targets" /> |
245 | 246 | <ProjectExtensions> |
246 | 247 | <VisualStudio> |
247 | 248 | <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> |
|
252 | 253 | </VisualStudio> |
253 | 254 | </ProjectExtensions> |
254 | 255 | <Target Name="VerifyDependencies"> |
255 | | - <Error Text="Web Publishing extension is not present." Condition="'$(WebPublishTasksDir)'==''"/> |
| 256 | + <Error Text="Web Publishing extension is not present." Condition="'$(WebPublishTasksDir)'==''" /> |
256 | 257 | </Target> |
257 | 258 | <Target Name="Zip" DependsOnTargets="VerifyDependencies;Package"> |
258 | 259 | <XmlUpdate XmlFileName="obj\$(Configuration)\Package\PackageTmp\web.config" XPath="/configuration/applicationSettings/PostSharp.LicenseServer.Properties.Settings/setting[@name='GracePeriodWarningDays']/value" Value="1" /> |
|
265 | 266 | <XmlUpdate XmlFileName="obj\$(Configuration)\Package\PackageTmp\web.config" XPath="/configuration/connectionStrings/add/@connectionString" Value="Data Source=localhost;Initial Catalog=SharpCraftersLicenseServer;Integrated Security=True" /> |
266 | 267 | <XmlUpdate XmlFileName="obj\$(Configuration)\Package\PackageTmp\web.config" XPath="/configuration/system.net/mailSettings/smtp/network/@host" Value="localhost" /> |
267 | 268 | <ItemGroup> |
268 | | - <_ZipFiles Include="obj\$(Configuration)\Package\PackageTmp\**\*"/> |
| 269 | + <_ZipFiles Include="obj\$(Configuration)\Package\PackageTmp\**\*" /> |
269 | 270 | </ItemGroup> |
270 | 271 | <Zip ZipFileName="$(OutputPath)PostSharp.LicenseServer.zip" Files="@(_ZipFiles)" WorkingDirectory="obj\$(Configuration)\Package\PackageTmp" /> |
271 | | - <Message Importance="High" Text="The license server release is ready in $(MSBuildThisFileDirectory)$(OutputPath)PostSharp.LicenseServer.zip."/> |
| 272 | + <Message Importance="High" Text="The license server release is ready in $(MSBuildThisFileDirectory)$(OutputPath)PostSharp.LicenseServer.zip." /> |
| 273 | + </Target> |
| 274 | + <Import Project="..\..\packages\PostSharp.4.3.25\tools\PostSharp.targets" Condition="Exists('..\..\packages\PostSharp.4.3.25\tools\PostSharp.targets')" /> |
| 275 | + <Target Name="EnsurePostSharpImported" BeforeTargets="BeforeBuild" Condition="'$(PostSharp30Imported)' == ''"> |
| 276 | + <Error Condition="!Exists('..\..\packages\PostSharp.4.3.25\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." /> |
| 277 | + <Error Condition="Exists('..\..\packages\PostSharp.4.3.25\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." /> |
272 | 278 | </Target> |
273 | 279 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
274 | 280 | Other similar extension points exist, see Microsoft.Common.targets. |
|
0 commit comments