Oren Novotny 7 роки тому
батько
коміт
543a644f53

+ 1 - 1
Ix.NET/Source/Directory.build.props

@@ -14,9 +14,9 @@
     <NoWarn>$(NoWarn);1701;1702;CS1591;NU5105</NoWarn>
     <DefaultLanguage>en-US</DefaultLanguage>
     <IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
-    <DebugType>embedded</DebugType>
     <EmbedUntrackedSources>true</EmbedUntrackedSources>
     <PublishRepositoryUrl>true</PublishRepositoryUrl>
+    <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
     <LangVersion>latest</LangVersion>
   </PropertyGroup>
     

+ 2 - 1
Ix.NET/Source/Directory.build.targets

@@ -1,7 +1,8 @@
 <Project>  
   <!-- This has to be set in targets as the default props will overwrite -->
   <PropertyGroup>
-    <DebugType Condition="'$(IsTestProject)' != 'true'">embedded</DebugType>
+    <!--<DebugType Condition="'$(IsTestProject)' != 'true' and '$(BuildingInsideVisualStudio)' != 'true' ">embedded</DebugType>-->
+    <DebugType Condition="'$(IsTestProject)' != 'true' ">embedded</DebugType>
   </PropertyGroup>
   
   <!-- This props all need to be set in targets as they depend on the values set earlier -->