浏览代码

update debug

Oren Novotny 7 年之前
父节点
当前提交
543a644f53
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      Ix.NET/Source/Directory.build.props
  2. 2 1
      Ix.NET/Source/Directory.build.targets

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

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

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

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