From 54d42ce7287290b1742c5b7326039ee46dd22cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20St=C3=BCrmer?= Date: Thu, 22 Jun 2017 16:51:44 +0200 Subject: Vs: disable unnecessary for CSharp targets --- Source/cmVisualStudio10TargetGenerator.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index cfe05b8..6d796be 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -3392,6 +3392,9 @@ void cmVisualStudio10TargetGenerator::WriteMidlOptions( void cmVisualStudio10TargetGenerator::WriteItemDefinitionGroups() { + if (this->ProjectType == csproj) { + return; + } for (std::vector::const_iterator i = this->Configurations.begin(); i != this->Configurations.end(); ++i) { -- cgit v0.12