未验证 提交 fc4649cc 编写于 作者: T ThomasGoulet73 提交者: GitHub

Pull release/6.0 into main (#6071)

上级 41c55369
...@@ -46,13 +46,13 @@ ...@@ -46,13 +46,13 @@
Outputs="$(IntellisenseXmlDir)$(AssemblyName).xml"> Outputs="$(IntellisenseXmlDir)$(AssemblyName).xml">
<PropertyGroup> <PropertyGroup>
<!-- Also in global.json --> <!-- Also in global.json -->
<DotNetApiDocsNet50>0.0.0.3</DotNetApiDocsNet50> <DotNetApiDocsNet60>0.0.0.4</DotNetApiDocsNet60>
<!-- <!--
This blob lives in Azure storage at https://netcorenativeassets.blob.core.windows.net/resource-packages/external/windows/dotnet-api-docs_net6.0/ This blob lives in Azure storage at https://netcorenativeassets.blob.core.windows.net/resource-packages/external/windows/dotnet-api-docs_net6.0/
Instructions for updating these artifacts are at https://github.com/dotnet/wpf/blob/master/docs/intellisense.md Instructions for updating these artifacts are at https://github.com/dotnet/wpf/blob/master/docs/intellisense.md
--> -->
<IntellisenseXmlDir>$(CommonLibrary_NativeInstallDir)\bin\dotnet-api-docs_net5.0\$(DotNetApiDocsNet50)\_intellisense\net-5.0\</IntellisenseXmlDir> <IntellisenseXmlDir>$(CommonLibrary_NativeInstallDir)\bin\dotnet-api-docs_net6.0\$(DotNetApiDocsNet60)\_intellisense\net-6.0\</IntellisenseXmlDir>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('$(IntellisenseXmlDir)')" <Error Condition="!Exists('$(IntellisenseXmlDir)')"
......
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
"native-tools": { "native-tools": {
"strawberry-perl": "5.28.1.1-1", "strawberry-perl": "5.28.1.1-1",
"net-framework-48-ref-assemblies": "0.0.0.1", "net-framework-48-ref-assemblies": "0.0.0.1",
"dotnet-api-docs_net5.0": "0.0.0.3" "dotnet-api-docs_net6.0": "0.0.0.4"
} }
} }
...@@ -281,15 +281,11 @@ private bool ExecuteGenerateTemporaryTargetAssemblyWithPackageReferenceSupport() ...@@ -281,15 +281,11 @@ private bool ExecuteGenerateTemporaryTargetAssemblyWithPackageReferenceSupport()
// Save the xmlDocument content into the temporary project file. // Save the xmlDocument content into the temporary project file.
xmlProjectDoc.Save(TemporaryTargetAssemblyProjectName); xmlProjectDoc.Save(TemporaryTargetAssemblyProjectName);
// Disable conflicting Arcade SDK workaround that imports NuGet props/targets
Hashtable globalProperties = new Hashtable(1);
globalProperties["_WpfTempProjectNuGetFilePathNoExt"] = "";
// //
// Compile the temporary target assembly project // Compile the temporary target assembly project
// //
Dictionary<string, ITaskItem[]> targetOutputs = new Dictionary<string, ITaskItem[]>(); Dictionary<string, ITaskItem[]> targetOutputs = new Dictionary<string, ITaskItem[]>();
retValue = BuildEngine.BuildProjectFile(TemporaryTargetAssemblyProjectName, new string[] { CompileTargetName }, globalProperties, targetOutputs); retValue = BuildEngine.BuildProjectFile(TemporaryTargetAssemblyProjectName, new string[] { CompileTargetName }, null, targetOutputs);
// If the inner build succeeds, retrieve the path to the local type assembly from the task's TargetOutputs. // If the inner build succeeds, retrieve the path to the local type assembly from the task's TargetOutputs.
if (retValue) if (retValue)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册