Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add in CRLFs to all targets and XML files

  • Loading branch information...
commit dd25fb6ebd6c4a120a99ccdcefd952fbfc36ae57 1 parent 3a97b90
@paulcbetts authored
View
10 Fody.Tests/ProjectWeaversReaderTests/FodyWeavers1.xml
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<Weavers >
- <SampleTask1 MyProperty1="PropertyValue2"/>
- <SampleTask2 MyProperty2="PropertyValue2"/>
-</Weavers>
+<?xml version="1.0" encoding="utf-8" ?>
+<Weavers >
+ <SampleTask1 MyProperty1="PropertyValue2"/>
+ <SampleTask2 MyProperty2="PropertyValue2"/>
+</Weavers>
View
8 Fody.Tests/ProjectWeaversReaderTests/FodyWeavers2.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8" ?>
-<Weavers >
- <SampleTask3 MyProperty3="PropertyValue3"/>
-</Weavers>
+<?xml version="1.0" encoding="utf-8" ?>
+<Weavers >
+ <SampleTask3 MyProperty3="PropertyValue3"/>
+</Weavers>
View
72 Fody.targets
@@ -1,36 +1,36 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
- <IntermediateDir>$(ProjectDir)$(IntermediateOutputPath)</IntermediateDir>
- <FodyMessageImportance Condition="$(FodyMessageImportance) == '' Or $(FodyMessageImportance) == '*Undefined*'">Low</FodyMessageImportance>
- </PropertyGroup>
- <UsingTask
- TaskName="Fody.WeavingTask"
- AssemblyFile="$(MSBuildThisFileDirectory)Fody.dll" />
- <Target
- AfterTargets="CopyFilesToOutputDirectory"
- Name="FodyTarget">
- <Fody.WeavingTask
- AddinSearchPaths="$(FodyAddinSearchPaths)"
- AssemblyPath="$(TargetPath)"
- IntermediateDir="$(IntermediateDir)"
- KeyFilePath="$(KeyOriginatorFile)"
- MessageImportance="$(FodyMessageImportance)"
- ProjectPath="$(ProjectPath)"
- SolutionDir="$(SolutionDir)"
- References="@(ReferencePath)"
- />
- <Copy
- SourceFiles="$(TargetPath)"
- DestinationFolder="$(IntermediateDir)" />
- <Copy
- SourceFiles="$(TargetDir)$(TargetName).pdb"
- DestinationFolder="$(IntermediateDir)"
- Condition="Exists('$(TargetDir)$(TargetName).pdb')"/>
- <Copy
- SourceFiles="$(TargetDir)$(TargetName).mdb"
- DestinationFolder="$(IntermediateDir)"
- Condition="Exists('$(TargetDir)$(TargetName).mdb')"/>
- </Target>
-</Project>
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
+ <IntermediateDir>$(ProjectDir)$(IntermediateOutputPath)</IntermediateDir>
+ <FodyMessageImportance Condition="$(FodyMessageImportance) == '' Or $(FodyMessageImportance) == '*Undefined*'">Low</FodyMessageImportance>
+ </PropertyGroup>
+ <UsingTask
+ TaskName="Fody.WeavingTask"
+ AssemblyFile="$(MSBuildThisFileDirectory)Fody.dll" />
+ <Target
+ AfterTargets="CopyFilesToOutputDirectory"
+ Name="FodyTarget">
+ <Fody.WeavingTask
+ AddinSearchPaths="$(FodyAddinSearchPaths)"
+ AssemblyPath="$(TargetPath)"
+ IntermediateDir="$(IntermediateDir)"
+ KeyFilePath="$(KeyOriginatorFile)"
+ MessageImportance="$(FodyMessageImportance)"
+ ProjectPath="$(ProjectPath)"
+ SolutionDir="$(SolutionDir)"
+ References="@(ReferencePath)"
+ />
+ <Copy
+ SourceFiles="$(TargetPath)"
+ DestinationFolder="$(IntermediateDir)" />
+ <Copy
+ SourceFiles="$(TargetDir)$(TargetName).pdb"
+ DestinationFolder="$(IntermediateDir)"
+ Condition="Exists('$(TargetDir)$(TargetName).pdb')"/>
+ <Copy
+ SourceFiles="$(TargetDir)$(TargetName).mdb"
+ DestinationFolder="$(IntermediateDir)"
+ Condition="Exists('$(TargetDir)$(TargetName).mdb')"/>
+ </Target>
+</Project>
View
374 Tools/vs2010.sdk/Microsoft.VsSDK.Common.targets
@@ -1,187 +1,187 @@
-
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-<!--
-*************************************************************************
-Copyright (c) Microsoft Corporation. All rights reserved.
-This code is licensed under the Visual Studio SDK license terms.
-THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
-ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
-IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
-PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
-*************************************************************************
--->
-
-
-
-
-
-
-
-
-
-
-
- <UsingTask TaskName="FindVsSDKInstallation" AssemblyFile="Microsoft.VsSDK.Build.Tasks.dll" />
- <UsingTask TaskName="VSCTCompiler" AssemblyFile="Microsoft.VsSDK.Build.Tasks.dll" />
- <UsingTask TaskName="CreateMenuPkgDef" AssemblyFile="Microsoft.VsSDK.Build.Tasks.dll" />
-
- <!--
- Set the general properties for this installation of the SDK
- -->
- <PropertyGroup>
- <VsSDKVersion>10.0</VsSDKVersion>
- <VSSDKTargetPlatformVersion>10.0</VSSDKTargetPlatformVersion>
- <VSSDKTargetsPath>$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VsSDKVersion)\VSSDK</VSSDKTargetsPath>
- <VSSDKTargetPlatformRegRoot>Software\Microsoft\VisualStudio\$(VSSDKTargetPlatformVersion)</VSSDKTargetPlatformRegRoot>
- <VSSDKTargetPlatformRegRootSuffix Condition="'$(VSSDKTargetPlatformRegRootSuffix)' == ''">Exp</VSSDKTargetPlatformRegRootSuffix>
- </PropertyGroup>
-
- <Target Name="FindSDKInstallation"
- Condition="'$(VsSDKInstall)'==''">
- <FindVsSDKInstallation SDKVersion="$(VsSDKVersion)">
- <Output TaskParameter="InstallationPath" PropertyName="VsSDKInstall" />
- <Output TaskParameter="IncludesPath" PropertyName="VsSDKIncludes" />
- <Output TaskParameter="ToolsPath" PropertyName="VsSDKToolsPath" />
- </FindVsSDKInstallation>
- </Target>
-
- <!--
- =======================================================================================================
- VSCT Compilation
- =======================================================================================================
- -->
- <PropertyGroup>
- <VSCTCompileDependsOn>$(VSCTCompileDependsOn);FindSDKInstallation</VSCTCompileDependsOn>
- <!--Make sure that the __CTC__ macro is defined. This macro is used in common headers
- like vsshids.h, so we need it for every VSCT compilation.-->
- <__internal_VSCTDefinitions>__CTC__;_CTC_GUIDS_;$(VSCTDefinitions)</__internal_VSCTDefinitions>
- <VsctVerboseOutput Condition="'$(VsctVerboseOutput)' == ''">false</VsctVerboseOutput>
- </PropertyGroup>
-
- <Target Name="VSCTCompile"
- DependsOnTargets="$(VSCTCompileDependsOn)"
- Condition="'$(BuildingProject)' != 'false' And '@(VSCTCompile)' != ''">
-
- <!--Create the list of include path to use for the VSCT compilation-->
- <ItemGroup>
- <!--First add the user provided folders-->
- <_InternalVSCTIncludePath Include="@(VSCTIncludePath)" Condition="'@(VSCTIncludePath)' != ''"/>
- <!--Now add the internal folders-->
- <_InternalVSCTIncludePath Include="$(VsSDKIncludes)" Condition="'$(VsSDKIncludes)' != ''"/>
- <_InternalVSCTIncludePath Include="$(VsSDKIncludes)\office10" Condition="'$(VsSDKIncludes)' != ''"/>
- </ItemGroup>
-
- <VSCTCompiler AdditionalIncludeDirectories="@(_InternalVSCTIncludePath)"
- IntermediateDirectory="$(IntermediateOutputPath)"
- Definitions="$(__internal_VSCTDefinitions)"
- NoLogo="true"
- OutputFile="%(VSCTCompile.FileName).cto"
- Source="%(VSCTCompile.Identity)"
- Verbose="$(VsctVerboseOutput)"
- SDKVersion="$(VsSDKVersion)">
- <Output TaskParameter="TemporaryFiles" ItemName="_TemporaryVsctCompilerFiles"/>
- </VSCTCompiler>
-
- <!--Record the VSCT compile CTO outputs for the Clean task.-->
- <ItemGroup>
- <FileWrites Include="$(IntermediateOutputPath)%(VSCTCompile.FileName).cto" Condition="Exists('$(IntermediateOutputPath)%(VSCTCompile.FileName).cto')"/>
- <FileWrites Include="@(_TemporaryVsctCompilerFiles)" />
- </ItemGroup>
- </Target>
-
- <!--
- =======================================================================================================
- Force AppId to refresh menu cache
- =======================================================================================================
- -->
- <!-- The goal of this target is to force a change in a Menu entry of a pkgdef file when a .vsct file is updated to force VS to pick up the new .cto -->
- <Target Name="CreateMenuPkgDef"
- Inputs="@(VSCTCompile)"
- Outputs="$(PkgdefFileWithMenuEntry)"
- DependsOnTargets="$(CreateMenuPkgDefDependsOn)"
- AfterTargets="VSCTCompile"
- BeforeTargets="PrepareForRun">
-
- <CreateMenuPkgDef PkgdefFile="$(PkgdefFileWithMenuEntry)" VsctFile="%(VSCTCompile.FullPath)" Condition="'$(PkgdefFileWithMenuEntry)'!=''"/>
- </Target>
-
-
- <!--
- ============================================================
- _VsixCleanRecordFileWrites
-
- Save the list of all files written to disk by the VSIX targets so that it can be used for "Clean" later.
-
- Files written in prior builds are not removed from Clean cache.
- ============================================================
- -->
- <Target
- Name="_VsixCleanRecordFileWrites"
- AfterTargets="IncrementalClean">
-
- <!-- Read the list of files deployed by prior builds from disk. -->
- <ReadLinesFromFile File="$(IntermediateOutputPath)$(VsixCleanFile)">
- <Output TaskParameter="Lines" ItemName="_VsixCleanPriorFileWrites"/>
- </ReadLinesFromFile>
-
- <!--
- Merge list of files from prior builds with the current build and then
- remove duplicates.
- -->
- <RemoveDuplicates Inputs="@(_VsixCleanPriorFileWrites);@(_VsixDeployCurrentFileWrites)">
- <Output TaskParameter="Filtered" ItemName="_VsixCleanUniqueFileWrites"/>
- </RemoveDuplicates>
-
- <!-- Make sure the directory exists. -->
- <MakeDir Directories="$(IntermediateOutputPath)"/>
-
- <!-- Write merged file list back to disk, replacing existing contents. -->
- <WriteLinesToFile
- File="$(IntermediateOutputPath)$(VsixCleanFile)"
- Lines="@(_VsixCleanUniqueFileWrites)"
- Overwrite="true" />
-
- </Target>
-
- <!--
- =======================================================================================================
- Clean Deployed Vsix Extension Files
- =======================================================================================================
- -->
- <PropertyGroup>
- <VsixCleanFile Condition="'$(VsixCleanFile)'==''">$(MSBuildProjectFile).VsixDeployedFileListAbsolute.txt</VsixCleanFile>
- <ShouldCleanDeployedVsixExtensionFiles Condition="'$(ShouldCleanDeployedVsixExtensionFiles)'==''">true</ShouldCleanDeployedVsixExtensionFiles>
- </PropertyGroup>
- <Target Name="CleanDeployedVsixExtensionFiles"
- BeforeTargets="AfterClean"
- Condition="$(ShouldCleanDeployedVsixExtensionFiles)">
-
- <!-- Read the list of files deployed by prior builds from disk. -->
- <ReadLinesFromFile File="$(IntermediateOutputPath)$(VsixCleanFile)">
- <Output TaskParameter="Lines" ItemName="_VsixCleanPriorFileWrites"/>
- </ReadLinesFromFile>
-
- <!-- Remove duplicates. -->
- <RemoveDuplicates Inputs="@(_VsixCleanPriorFileWrites)">
- <Output TaskParameter="Filtered" ItemName="_VsixUniqueCleanPriorFileWrites"/>
- </RemoveDuplicates>
-
- <Delete Files="@(_VsixUniqueCleanPriorFileWrites)" TreatErrorsAsWarnings="true">
- <Output TaskParameter="DeletedFiles" ItemName="_VsixCleanFilesDeleted"/>
- </Delete>
-
- <!-- Create a list of everything that wasn't deleted for some reason. -->
- <ItemGroup>
- <_VsixCleanRemainingFileWritesAfterIncrementalClean Include="@(_VsixUniqueCleanPriorFileWrites)" Exclude="@(_VsixCleanFilesDeleted)"/>
- </ItemGroup>
-
- <!-- Write new list of current files back to disk, replacing the existing list.-->
- <WriteLinesToFile
- File="$(IntermediateOutputPath)$(VsixCleanFile)"
- Lines="@(_VsixCleanRemainingFileWritesAfterIncrementalClean)"
- Condition="'@(_VsixCleanPriorFileWrites)'!='@(_VsixCleanRemainingFileWritesAfterIncrementalClean)'"
- Overwrite="true"/>
-
- </Target>
-
-</Project>
+
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<!--
+*************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+This code is licensed under the Visual Studio SDK license terms.
+THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
+ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
+IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
+PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
+*************************************************************************
+-->
+
+
+
+
+
+
+
+
+
+
+
+ <UsingTask TaskName="FindVsSDKInstallation" AssemblyFile="Microsoft.VsSDK.Build.Tasks.dll" />
+ <UsingTask TaskName="VSCTCompiler" AssemblyFile="Microsoft.VsSDK.Build.Tasks.dll" />
+ <UsingTask TaskName="CreateMenuPkgDef" AssemblyFile="Microsoft.VsSDK.Build.Tasks.dll" />
+
+ <!--
+ Set the general properties for this installation of the SDK
+ -->
+ <PropertyGroup>
+ <VsSDKVersion>10.0</VsSDKVersion>
+ <VSSDKTargetPlatformVersion>10.0</VSSDKTargetPlatformVersion>
+ <VSSDKTargetsPath>$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VsSDKVersion)\VSSDK</VSSDKTargetsPath>
+ <VSSDKTargetPlatformRegRoot>Software\Microsoft\VisualStudio\$(VSSDKTargetPlatformVersion)</VSSDKTargetPlatformRegRoot>
+ <VSSDKTargetPlatformRegRootSuffix Condition="'$(VSSDKTargetPlatformRegRootSuffix)' == ''">Exp</VSSDKTargetPlatformRegRootSuffix>
+ </PropertyGroup>
+
+ <Target Name="FindSDKInstallation"
+ Condition="'$(VsSDKInstall)'==''">
+ <FindVsSDKInstallation SDKVersion="$(VsSDKVersion)">
+ <Output TaskParameter="InstallationPath" PropertyName="VsSDKInstall" />
+ <Output TaskParameter="IncludesPath" PropertyName="VsSDKIncludes" />
+ <Output TaskParameter="ToolsPath" PropertyName="VsSDKToolsPath" />
+ </FindVsSDKInstallation>
+ </Target>
+
+ <!--
+ =======================================================================================================
+ VSCT Compilation
+ =======================================================================================================
+ -->
+ <PropertyGroup>
+ <VSCTCompileDependsOn>$(VSCTCompileDependsOn);FindSDKInstallation</VSCTCompileDependsOn>
+ <!--Make sure that the __CTC__ macro is defined. This macro is used in common headers
+ like vsshids.h, so we need it for every VSCT compilation.-->
+ <__internal_VSCTDefinitions>__CTC__;_CTC_GUIDS_;$(VSCTDefinitions)</__internal_VSCTDefinitions>
+ <VsctVerboseOutput Condition="'$(VsctVerboseOutput)' == ''">false</VsctVerboseOutput>
+ </PropertyGroup>
+
+ <Target Name="VSCTCompile"
+ DependsOnTargets="$(VSCTCompileDependsOn)"
+ Condition="'$(BuildingProject)' != 'false' And '@(VSCTCompile)' != ''">
+
+ <!--Create the list of include path to use for the VSCT compilation-->
+ <ItemGroup>
+ <!--First add the user provided folders-->
+ <_InternalVSCTIncludePath Include="@(VSCTIncludePath)" Condition="'@(VSCTIncludePath)' != ''"/>
+ <!--Now add the internal folders-->
+ <_InternalVSCTIncludePath Include="$(VsSDKIncludes)" Condition="'$(VsSDKIncludes)' != ''"/>
+ <_InternalVSCTIncludePath Include="$(VsSDKIncludes)\office10" Condition="'$(VsSDKIncludes)' != ''"/>
+ </ItemGroup>
+
+ <VSCTCompiler AdditionalIncludeDirectories="@(_InternalVSCTIncludePath)"
+ IntermediateDirectory="$(IntermediateOutputPath)"
+ Definitions="$(__internal_VSCTDefinitions)"
+ NoLogo="true"
+ OutputFile="%(VSCTCompile.FileName).cto"
+ Source="%(VSCTCompile.Identity)"
+ Verbose="$(VsctVerboseOutput)"
+ SDKVersion="$(VsSDKVersion)">
+ <Output TaskParameter="TemporaryFiles" ItemName="_TemporaryVsctCompilerFiles"/>
+ </VSCTCompiler>
+
+ <!--Record the VSCT compile CTO outputs for the Clean task.-->
+ <ItemGroup>
+ <FileWrites Include="$(IntermediateOutputPath)%(VSCTCompile.FileName).cto" Condition="Exists('$(IntermediateOutputPath)%(VSCTCompile.FileName).cto')"/>
+ <FileWrites Include="@(_TemporaryVsctCompilerFiles)" />
+ </ItemGroup>
+ </Target>
+
+ <!--
+ =======================================================================================================
+ Force AppId to refresh menu cache
+ =======================================================================================================
+ -->
+ <!-- The goal of this target is to force a change in a Menu entry of a pkgdef file when a .vsct file is updated to force VS to pick up the new .cto -->
+ <Target Name="CreateMenuPkgDef"
+ Inputs="@(VSCTCompile)"
+ Outputs="$(PkgdefFileWithMenuEntry)"
+ DependsOnTargets="$(CreateMenuPkgDefDependsOn)"
+ AfterTargets="VSCTCompile"
+ BeforeTargets="PrepareForRun">
+
+ <CreateMenuPkgDef PkgdefFile="$(PkgdefFileWithMenuEntry)" VsctFile="%(VSCTCompile.FullPath)" Condition="'$(PkgdefFileWithMenuEntry)'!=''"/>
+ </Target>
+
+
+ <!--
+ ============================================================
+ _VsixCleanRecordFileWrites
+
+ Save the list of all files written to disk by the VSIX targets so that it can be used for "Clean" later.
+
+ Files written in prior builds are not removed from Clean cache.
+ ============================================================
+ -->
+ <Target
+ Name="_VsixCleanRecordFileWrites"
+ AfterTargets="IncrementalClean">
+
+ <!-- Read the list of files deployed by prior builds from disk. -->
+ <ReadLinesFromFile File="$(IntermediateOutputPath)$(VsixCleanFile)">
+ <Output TaskParameter="Lines" ItemName="_VsixCleanPriorFileWrites"/>
+ </ReadLinesFromFile>
+
+ <!--
+ Merge list of files from prior builds with the current build and then
+ remove duplicates.
+ -->
+ <RemoveDuplicates Inputs="@(_VsixCleanPriorFileWrites);@(_VsixDeployCurrentFileWrites)">
+ <Output TaskParameter="Filtered" ItemName="_VsixCleanUniqueFileWrites"/>
+ </RemoveDuplicates>
+
+ <!-- Make sure the directory exists. -->
+ <MakeDir Directories="$(IntermediateOutputPath)"/>
+
+ <!-- Write merged file list back to disk, replacing existing contents. -->
+ <WriteLinesToFile
+ File="$(IntermediateOutputPath)$(VsixCleanFile)"
+ Lines="@(_VsixCleanUniqueFileWrites)"
+ Overwrite="true" />
+
+ </Target>
+
+ <!--
+ =======================================================================================================
+ Clean Deployed Vsix Extension Files
+ =======================================================================================================
+ -->
+ <PropertyGroup>
+ <VsixCleanFile Condition="'$(VsixCleanFile)'==''">$(MSBuildProjectFile).VsixDeployedFileListAbsolute.txt</VsixCleanFile>
+ <ShouldCleanDeployedVsixExtensionFiles Condition="'$(ShouldCleanDeployedVsixExtensionFiles)'==''">true</ShouldCleanDeployedVsixExtensionFiles>
+ </PropertyGroup>
+ <Target Name="CleanDeployedVsixExtensionFiles"
+ BeforeTargets="AfterClean"
+ Condition="$(ShouldCleanDeployedVsixExtensionFiles)">
+
+ <!-- Read the list of files deployed by prior builds from disk. -->
+ <ReadLinesFromFile File="$(IntermediateOutputPath)$(VsixCleanFile)">
+ <Output TaskParameter="Lines" ItemName="_VsixCleanPriorFileWrites"/>
+ </ReadLinesFromFile>
+
+ <!-- Remove duplicates. -->
+ <RemoveDuplicates Inputs="@(_VsixCleanPriorFileWrites)">
+ <Output TaskParameter="Filtered" ItemName="_VsixUniqueCleanPriorFileWrites"/>
+ </RemoveDuplicates>
+
+ <Delete Files="@(_VsixUniqueCleanPriorFileWrites)" TreatErrorsAsWarnings="true">
+ <Output TaskParameter="DeletedFiles" ItemName="_VsixCleanFilesDeleted"/>
+ </Delete>
+
+ <!-- Create a list of everything that wasn't deleted for some reason. -->
+ <ItemGroup>
+ <_VsixCleanRemainingFileWritesAfterIncrementalClean Include="@(_VsixUniqueCleanPriorFileWrites)" Exclude="@(_VsixCleanFilesDeleted)"/>
+ </ItemGroup>
+
+ <!-- Write new list of current files back to disk, replacing the existing list.-->
+ <WriteLinesToFile
+ File="$(IntermediateOutputPath)$(VsixCleanFile)"
+ Lines="@(_VsixCleanRemainingFileWritesAfterIncrementalClean)"
+ Condition="'@(_VsixCleanPriorFileWrites)'!='@(_VsixCleanRemainingFileWritesAfterIncrementalClean)'"
+ Overwrite="true"/>
+
+ </Target>
+
+</Project>
View
112 Tools/vs2010.sdk/Microsoft.VsSDK.Cpp.targets
@@ -1,56 +1,56 @@
-<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-<!--
-*************************************************************************
-Copyright (c) Microsoft Corporation. All rights reserved.
-This code is licensed under the Visual Studio SDK license terms.
-THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
-ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
-IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
-PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
-*************************************************************************
--->
-
- <UsingTask TaskName="RegisterStub" AssemblyFile="Microsoft.VsSDK.Build.Tasks.dll" />
-
- <ItemGroup>
- <PropertyPageSchema Include="$(VSSDKTargetsPath)\ProjectItemsSchema.xml"/>
- </ItemGroup>
-
- <PropertyGroup>
- <BeforeResourceCompileTargets>
- $(BeforeResourceCompileTargets);
- VSCTCompile
- </BeforeResourceCompileTargets>
- <AfterBuildLinkTargets>
- $(AfterBuildLinkTargets);
- IsolatedShellFiles;
- RegisterStubTarget;
- _VsixCleanRecordFileWrites
- </AfterBuildLinkTargets>
- </PropertyGroup>
-
- <Target Name="PkgdefProjectOutputGroup"
- Outputs="@(PkgdefOutputGroupOutput)"
- DependsOnTargets="$(PkgdefProjectOutputGroupDependsOn)">
- <ItemGroup>
- <PkgdefOutputGroupOutput Include="@(PkgdefFile)" />
- </ItemGroup>
- </Target>
-
- <Target Name="IsolatedShellFiles"
- DependsOnTargets="$(IsolatedShellFilesDependsOn)"
- Condition="'$(BuildingProject)' != 'false' And '@(IsolatedShellFiles)' != ''">
- <Copy Condition="'%(IsolatedShellFiles.SubPath)' == ''" SourceFiles="%(IsolatedShellFiles.Identity)" DestinationFiles="$(OutDir)\%(IsolatedShellFiles.Identity)">
- <Output TaskParameter="DestinationFiles" ItemName="_VsixDeployCurrentFileWrites"/>
- </Copy>
- <Copy Condition="'%(IsolatedShellFiles.SubPath)' != ''" SourceFiles="%(IsolatedShellFiles.Identity)" DestinationFiles="$(OutDir)\%(IsolatedShellFiles.SubPath)\%(IsolatedShellFiles.Identity)">
- <Output TaskParameter="DestinationFiles" ItemName="_VsixDeployCurrentFileWrites"/>
- </Copy>
- </Target>
-
- <Target Name="RegisterStubTarget" Condition="'$(ShellDTEGuid)' != ''">
- <RegisterStub InstallDir="$(OutDir)" AppName="$(TargetName)" StubDTEGuid="$(ShellDTEGuid)" />
- </Target>
-
- <Import Project="Microsoft.VsSDK.Common.targets" />
-</Project>
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<!--
+*************************************************************************
+Copyright (c) Microsoft Corporation. All rights reserved.
+This code is licensed under the Visual Studio SDK license terms.
+THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
+ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
+IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
+PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
+*************************************************************************
+-->
+
+ <UsingTask TaskName="RegisterStub" AssemblyFile="Microsoft.VsSDK.Build.Tasks.dll" />
+
+ <ItemGroup>
+ <PropertyPageSchema Include="$(VSSDKTargetsPath)\ProjectItemsSchema.xml"/>
+ </ItemGroup>
+
+ <PropertyGroup>
+ <BeforeResourceCompileTargets>
+ $(BeforeResourceCompileTargets);
+ VSCTCompile
+ </BeforeResourceCompileTargets>
+ <AfterBuildLinkTargets>
+ $(AfterBuildLinkTargets);
+ IsolatedShellFiles;
+ RegisterStubTarget;
+ _VsixCleanRecordFileWrites
+ </AfterBuildLinkTargets>
+ </PropertyGroup>
+
+ <Target Name="PkgdefProjectOutputGroup"
+ Outputs="@(PkgdefOutputGroupOutput)"
+ DependsOnTargets="$(PkgdefProjectOutputGroupDependsOn)">
+ <ItemGroup>
+ <PkgdefOutputGroupOutput Include="@(PkgdefFile)" />
+ </ItemGroup>
+ </Target>
+
+ <Target Name="IsolatedShellFiles"
+ DependsOnTargets="$(IsolatedShellFilesDependsOn)"
+ Condition="'$(BuildingProject)' != 'false' And '@(IsolatedShellFiles)' != ''">
+ <Copy Condition="'%(IsolatedShellFiles.SubPath)' == ''" SourceFiles="%(IsolatedShellFiles.Identity)" DestinationFiles="$(OutDir)\%(IsolatedShellFiles.Identity)">
+ <Output TaskParameter="DestinationFiles" ItemName="_VsixDeployCurrentFileWrites"/>
+ </Copy>
+ <Copy Condition="'%(IsolatedShellFiles.SubPath)' != ''" SourceFiles="%(IsolatedShellFiles.Identity)" DestinationFiles="$(OutDir)\%(IsolatedShellFiles.SubPath)\%(IsolatedShellFiles.Identity)">
+ <Output TaskParameter="DestinationFiles" ItemName="_VsixDeployCurrentFileWrites"/>
+ </Copy>
+ </Target>
+
+ <Target Name="RegisterStubTarget" Condition="'$(ShellDTEGuid)' != ''">
+ <RegisterStub InstallDir="$(OutDir)" AppName="$(TargetName)" StubDTEGuid="$(ShellDTEGuid)" />
+ </Target>
+
+ <Import Project="Microsoft.VsSDK.Common.targets" />
+</Project>
View
2,242 Tools/vs2010.sdk/Microsoft.VsSDK.targets
1,121 additions, 1,121 deletions not shown
View
18 Tools/vs2010.sdk/ProjectItemsSchema.xml
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="utf-8"?>
-<ProjectSchemaDefinitions xmlns="http://schemas.microsoft.com/build/2009/properties" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:my="http://schemas.microsoft.com/developer/msbuild/tasks/2005">
- <ContentType Name="PkgdefFile" DisplayName="Pkgdef File" ItemType="PkgdefFile" />
- <ItemType Name="PkgdefFile" DisplayName="Pkgdef File" />
- <FileExtension Name=".pkgdef" ContentType="PkgdefFile" />
-
- <ContentType Name="IsolatedShellFiles" DisplayName="Isolated Shell File" ItemType="IsolatedShellFiles" />
- <ItemType Name="IsolatedShellFiles" DisplayName="Isolated Shell File" />
-</ProjectSchemaDefinitions>
+<?xml version="1.0" encoding="utf-8"?>
+<ProjectSchemaDefinitions xmlns="http://schemas.microsoft.com/build/2009/properties" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:my="http://schemas.microsoft.com/developer/msbuild/tasks/2005">
+ <ContentType Name="PkgdefFile" DisplayName="Pkgdef File" ItemType="PkgdefFile" />
+ <ItemType Name="PkgdefFile" DisplayName="Pkgdef File" />
+ <FileExtension Name=".pkgdef" ContentType="PkgdefFile" />
+
+ <ContentType Name="IsolatedShellFiles" DisplayName="Isolated Shell File" ItemType="IsolatedShellFiles" />
+ <ItemType Name="IsolatedShellFiles" DisplayName="Isolated Shell File" />
+</ProjectSchemaDefinitions>
Please sign in to comment.
Something went wrong with that request. Please try again.