Browse Source
Fixed Project > Check with FxCop. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2701 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
13 changed files with 124 additions and 53 deletions
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?> |
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTarget="Build"> |
||||
<!-- This target file is automatically included into C# and VB projects that use MSBuild 2.0 --> |
||||
<!-- It causes build warning when using features that are not supported in the MSBuild --> |
||||
<!-- version coming with .NET 2.0 --> |
||||
<PropertyGroup> |
||||
<BuildDependsOn>SharpDevelopCheckMSBuild35Features;$(BuildDependsOn)</BuildDependsOn> |
||||
</PropertyGroup> |
||||
|
||||
<Target Name="SharpDevelopCheckMSBuild35Features"> |
||||
<Warning Text="Embedding application manifests requires using the C# 3.0 / VB 9 compiler." |
||||
Condition="'$(ApplicationManifest)' != ''"/> |
||||
|
||||
<Warning Text="The application is configured to compile for .NET 2.0, but you referenced the assembly @(Reference) which requires .NET %(Reference.RequiredTargetFramework)." |
||||
Condition="'%(Reference.RequiredTargetFramework)' != ''"/> |
||||
</Target> |
||||
</Project> |
Loading…
Reference in new issue