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:
authorMatt Ward <matt.ward@microsoft.com>2018-09-05 20:19:40 +0300
committerMatt Ward <matt.ward@microsoft.com>2018-09-05 20:19:40 +0300
commit8447fab59d218d1e94ed3856c418f7a0cb98121d (patch)
treea8fd349cf223a1fd7437aee46258d7cb3ad5cd15 /main/src/addins/CSharpBinding/CSharpBinding.addin.xml
parent578caba553bc8f77e76684fcff94d5014f48da98 (diff)
[DotNetCore] Support alternative project type guid used by Visual Studio
Visual Studio 2017 will sometimes change the project type guid used in a solution file from the default C# project type guid to 9A19103F-16F7-4668-BE54-9A1E7A4F7556 due to a bug: https://github.com/dotnet/project-system/issues/1821 Visual Studio for Mac uses the C# project type guid which results in the solution file being changed when it is saved. To avoid this a new MSBuildItemType has been added for the alternative project type guid so that the .NET Core project when loaded will have the correct project type guid and when the solution file is saved the project type guid will not be modified. Note that new C# .NET Core and .NET Standard projects will continue to use the project type guid used by C# projects AE04EC0-301F-11D3-BF4B-00C04F79EFBC which is also what Visual Studio 2017 on Windows uses for new projects. Fixes VSTS #677549 - Project GUID Changes When Building in VS2017 vs Building in VS for Mac
Diffstat (limited to 'main/src/addins/CSharpBinding/CSharpBinding.addin.xml')
-rw-r--r--main/src/addins/CSharpBinding/CSharpBinding.addin.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/addins/CSharpBinding/CSharpBinding.addin.xml b/main/src/addins/CSharpBinding/CSharpBinding.addin.xml
index 896dd5afec..4bd608163d 100644
--- a/main/src/addins/CSharpBinding/CSharpBinding.addin.xml
+++ b/main/src/addins/CSharpBinding/CSharpBinding.addin.xml
@@ -84,6 +84,7 @@
<Extension path = "/MonoDevelop/ProjectModel/MSBuildItemTypes">
<DotNetProjectType
+ id="MonoDevelop.CSharp.Project.CSharpProject"
language="C#"
extension="csproj"
guid="{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"