-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert TestPlatform.vsix from V2 to V3 format. (#316)
* converting TestPlatform.vsix from V2 format to V3 format
- Loading branch information
1 parent
230c966
commit 8c179a7
Showing
10 changed files
with
141 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/V3vsix/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"manifestVersion": "1.1", | ||
"info": { "id": "Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI,version=1.0.2" }, | ||
"packages": [ | ||
{ | ||
"id": "Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI", | ||
"version": "1.0.3", | ||
"type": "Vsix", | ||
"payloads": [ | ||
{ | ||
"fileName": "TestPlatform.vsix", | ||
"size": 3083061 | ||
} | ||
], | ||
"vsixId": "Microsoft.TestPlatform.VSIX.Microsoft.0e51abf6-9f5f-401e-a812-4043b87acabf", | ||
"extensionDir": "[installdir]\\Common7\\IDE\\Extensions\\qgyll0uu.4m0" | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
src/V3vsix/Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI.vsmanproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!-- Copyright (c) Microsoft. All Rights Reserved. --> | ||
<Import Project="..\..\packages\Microsoft.VisualStudio.Sdk.BuildTasks.14.0.14.0.12-pre\build\Microsoft.VisualStudio.Sdk.BuildTasks.14.0.props" /> | ||
<PropertyGroup> | ||
<TestPlatformRoot Condition="$(TestPlatformRoot) == ''">..\..\</TestPlatformRoot> | ||
<FinalizeManifest>true</FinalizeManifest> | ||
<FinalizeSkipLayout>true</FinalizeSkipLayout> | ||
<IsPackage>true</IsPackage> | ||
<OutputPath>$(TestPlatformRoot)artifacts\$(Configuration)\v3vsix\</OutputPath> | ||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion> | ||
<UseVisualStudioVersion>true</UseVisualStudioVersion> | ||
<ValidateManifest>false</ValidateManifest> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(RunningInMicroBuild)' != 'true'"> | ||
<FinalizeValidate>false</FinalizeValidate> | ||
<ManifestPublishUrl>https://vsdrop.corp.microsoft.com/file/v1/Products/DevDiv/VS/lab/d15prerel/$(BUILD_BUILDNUMBER);</ManifestPublishUrl> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="..\..\packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.targets" /> | ||
<Import Project="..\..\packages\MicroBuild.Core.0.2.0\build\MicroBuild.Core.props" /> | ||
<ItemGroup> | ||
<VsixFileToCopy Include="Microsoft.VisualStudio.TestTools.TestPlatform.V2.CLI.json" /> | ||
<VsixFileToCopy Include="$(TestPlatformRoot)artifacts\$(Configuration)\TestPlatform.vsix" /> | ||
</ItemGroup> | ||
<Target Name="BeforeBuild"> | ||
<Copy SourceFiles="@(VsixFileToCopy)" DestinationFolder="$(OutputPath)" OverwriteReadOnlyFiles="true" SkipUnchangedFiles="true" /> | ||
</Target> | ||
<ItemGroup> | ||
<MergeManifest Include="$(OutputPath)Microsoft.VisualStudio.Templates.CS.MSTestv2.Desktop.UnitTest.json" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<?xml version="1.0" encoding="utf-8"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="vsixmanifest" ContentType="text/xml" /><Default Extension="dll" ContentType="application/octet-stream" /><Default Extension="pdb" ContentType="application/octet-stream" /><Default Extension="exe" ContentType="application/octet-stream" /><Default Extension="config" ContentType="application/octet-stream" /><Default Extension="manifest" ContentType="text/xml" /><Default Extension="rtf" ContentType="application/rtf" /></Types> | ||
<?xml version="1.0" encoding="utf-8"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="vsixmanifest" ContentType="text/xml" /><Default Extension="rtf" ContentType="text/richtext" /><Default Extension="dll" ContentType="application/octet-stream" /><Default Extension="exe" ContentType="application/octet-stream" /><Default Extension="config" ContentType="application/octet-stream" /><Default Extension="manifest" ContentType="text/xml" /><Default Extension="json" ContentType="application/json" /></Types> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"manifestVersion": "1.1", | ||
"info": { "id": "Microsoft.TestPlatform.VSIX.Microsoft.0e51abf6-9f5f-401e-a812-4043b87acabf,version=1.0.2" }, | ||
"packages": [ | ||
{ | ||
"id": "Component.Microsoft.TestPlatform.VSIX.Microsoft.0e51abf6-9f5f-401e-a812-4043b87acabf", | ||
"version": "1.0.2", | ||
"type": "Component", | ||
"extension": true, | ||
"dependencies": { | ||
"Microsoft.TestPlatform.VSIX.Microsoft.0e51abf6-9f5f-401e-a812-4043b87acabf": "1.0.2", | ||
"Microsoft.VisualStudio.Component.CoreEditor": "[15.0,16.0)" | ||
}, | ||
"localizedResources": [ | ||
{ | ||
"language": "en-US", | ||
"title": "Microsoft Visual Studio Test Platform", | ||
"description": "Extensible Test Platform that allows developers to discover, execute and analyze automated tests." | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "Microsoft.TestPlatform.VSIX.Microsoft.0e51abf6-9f5f-401e-a812-4043b87acabf", | ||
"version": "1.0.2", | ||
"type": "Vsix", | ||
"payloads": [ | ||
{ | ||
"fileName": "TestPlatform.vsix", | ||
"size": 3083061 | ||
} | ||
], | ||
"vsixId": "Microsoft.TestPlatform.VSIX.Microsoft.0e51abf6-9f5f-401e-a812-4043b87acabf", | ||
"extensionDir": "[installdir]\\Common7\\IDE\\Extensions\\qgyll0uu.4m0" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"id": "Microsoft.TestPlatform.VSIX.Microsoft.0e51abf6-9f5f-401e-a812-4043b87acabf", | ||
"version": "1.0.2", | ||
"type": "Vsix", | ||
"vsixId": "Microsoft.TestPlatform.VSIX.Microsoft.0e51abf6-9f5f-401e-a812-4043b87acabf", | ||
"extensionDir": "[installdir]\\Common7\\IDE\\Extensions\\qgyll0uu.4m0", | ||
"files": [ | ||
{ | ||
"fileName": "/extension.vsixmanifest", | ||
"sha256": "439E8D9C90642193F7D2DEA7C40DEFBE8254F63F1926CC385BDA20A3CAC9B476" | ||
}, | ||
{ | ||
"fileName": "/License.rtf", | ||
"sha256": "F451AB5C77BB7B9DC19733D5C9585E0F4A86D8BFB447349C5F6F3D1BEA862630" | ||
} | ||
], | ||
"installSize": 8348725, | ||
"dependencies": { "Microsoft.VisualStudio.Component.CoreEditor": "[15.0,16.0)" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8c179a7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pl checkin the v3 vsix proj using which u got the artificants which are directly checked in. e.g. if extension.manifest is updated manifest.json need to be generated using it. we need to see if we can get a better recipe than this.