Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/msbuild/MonoDevelop.AfterCommon.props')
-rw-r--r--main/msbuild/MonoDevelop.AfterCommon.props37
1 files changed, 35 insertions, 2 deletions
diff --git a/main/msbuild/MonoDevelop.AfterCommon.props b/main/msbuild/MonoDevelop.AfterCommon.props
index 43d5378021..f6e0af599a 100644
--- a/main/msbuild/MonoDevelop.AfterCommon.props
+++ b/main/msbuild/MonoDevelop.AfterCommon.props
@@ -5,8 +5,22 @@
</PropertyGroup>
<PropertyGroup>
+ <_IsSdkStyleProject>false</_IsSdkStyleProject>
+ <_IsSdkStyleProject Condition="'$(Configurations)' != '' and '$(Platforms)' != ''">true</_IsSdkStyleProject>
<!-- target framework for the core and addins -->
- <MDFrameworkVersion>v4.7.1</MDFrameworkVersion>
+ <MDFrameworkVersion>v4.7.2</MDFrameworkVersion>
+ <MDTargetFramework>net472</MDTargetFramework>
+ <!--
+ for sdk-style projects we can set the value directly.
+ old-style projects need to set it themselves or some IDE stuff breaks.
+ -->
+ <TargetFramework Condition="'$(_IsSdkStyleProject)'=='true'">$(MDTargetFramework)</TargetFramework>
+ </PropertyGroup>
+
+ <!-- set some common AssemblyInfo values so SDK-style projects don't have to set them -->
+ <PropertyGroup>
+ <AssemblyVersion>2.6.0</AssemblyVersion>
+ <AssemblyProduct>MonoDevelop</AssemblyProduct>
</PropertyGroup>
<!--
@@ -19,7 +33,7 @@
</PropertyGroup>
<PropertyGroup>
- <MDBuildTasks>$(MSBuildThisFileDirectory)</MDBuildTasks>
+ <DownloadNupkgDirectory>$(MSBuildThisFileDirectory)..\packages\</DownloadNupkgDirectory>
</PropertyGroup>
<!-- set a bunch of default value the project can override -->
@@ -50,4 +64,23 @@
<ItemGroup>
<Analyzer Include="$(MonoDevelopDevAnalyzer)" Condition="Exists('$(MonoDevelopDevAnalyzer)')" />
</ItemGroup>
+
+ <!-- hide these items from VS -->
+ <ItemDefinitionGroup>
+ <IncludeCopyLocal>
+ <Visible>False</Visible>
+ </IncludeCopyLocal>
+ <SuppressCopyLocal>
+ <Visible>False</Visible>
+ </SuppressCopyLocal>
+ <DownloadNupkg>
+ <Visible>False</Visible>
+ </DownloadNupkg>
+ </ItemDefinitionGroup>
+
+ <!-- default items -->
+ <ItemGroup Condition="'$(EnableDefaultItems)' == 'true'">
+ <EmbeddedResource Include="**\*.addin.xml" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
+ </ItemGroup>
+
</Project>