forked from microsoft/ConcordExtensibilitySamples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update samples to work in Dev16 and obtain packages from NuGet (micro…
…soft#40) For Dev16, Concord extension API and tools are now packaged in easier to use nuget packages. This updates the samples to obtain them from there. This also makes a few other fixes/improvements: - Make projects buildable/runable in Dev16 - Use 'PackageReference' to download packages instead of packages.config - Remove source control disable properties - Add a README.md for the Iris directory
- Loading branch information
1 parent
651c7aa
commit ca1ed4c
Showing
22 changed files
with
174 additions
and
168 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<!-- Copyright (c) Microsoft. All rights reserved. | ||
Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
This file sets PlatformToolset/WindowsTargetPlatformVersion to allow this project to compile with multiple versions | ||
of Visual Studio. | ||
--> | ||
|
||
<PropertyGroup> | ||
<PlatformToolset>v140</PlatformToolset> | ||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset> | ||
<PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset> | ||
|
||
<!--In Visual Studio 16, use the default Windows10 SDK--> | ||
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)'=='' and '$(VisualStudioVersion)' == '16.0'">10.0</WindowsTargetPlatformVersion> | ||
</PropertyGroup> | ||
|
||
<!--In Dev14/Dev15, we need to set 'WindowsTargetPlatformVersion' to an exact build number. --> | ||
<PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'==''"> | ||
<!--Try and find an SDK which is installed--> | ||
<WinSDKRoot>$(WindowsSdkDir)</WinSDKRoot> | ||
<WinSDKRoot Condition="'$(WinSDKRoot)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@InstallationFolder)</WinSDKRoot> | ||
<WinSDKRoot Condition="'$(WinSDKRoot)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@InstallationFolder)</WinSDKRoot> | ||
<WinSDKRoot Condition="'$(WinSDKRoot)'==''">$(MSBuildProgramFiles32)\Windows Kits\10\</WinSDKRoot> | ||
|
||
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)'=='' and Exists('$(WinSDKRoot)Include\10.0.17763.0\um\WinBase.h')">10.0.17763.0</WindowsTargetPlatformVersion> | ||
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)'=='' and Exists('$(WinSDKRoot)Include\10.0.17134.0\um\WinBase.h')">10.0.17134.0</WindowsTargetPlatformVersion> | ||
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)'=='' and Exists('$(WinSDKRoot)Include\10.0.16299.0\um\WinBase.h')">10.0.16299.0</WindowsTargetPlatformVersion> | ||
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)'=='' and Exists('$(WinSDKRoot)Include\10.0.15063.0\um\WinBase.h')">10.0.15063.0</WindowsTargetPlatformVersion> | ||
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)'=='' and Exists('$(WinSDKRoot)Include\10.0.14393.0\um\WinBase.h')">10.0.14393.0</WindowsTargetPlatformVersion> | ||
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)'=='' and Exists('$(WinSDKRoot)Include\10.0.10586.0\um\WinBase.h')">10.0.10586.0</WindowsTargetPlatformVersion> | ||
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)'=='' and Exists('$(WinSDKRoot)Include\10.0.10240.0\um\WinBase.h')">10.0.10240.0</WindowsTargetPlatformVersion> | ||
|
||
<!--Fall back to the default 15.9 version if nothing else is found.--> | ||
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)'==''">10.0.17763.0"</WindowsTargetPlatformVersion> | ||
</PropertyGroup> | ||
|
||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
</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,32 +1,36 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 14 | ||
VisualStudioVersion = 14.0.23107.0 | ||
# Visual Studio Version 16 | ||
VisualStudioVersion = 16.65535.65535.65535 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vsix", "vsix\vsix.vcxproj", "{0E22D156-940B-431D-945D-51B7DFA08AEF}" | ||
EndProject | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloWorld", "dll\HelloWorld.vcxproj", "{D547DF85-7B84-462C-BCE7-8F166D7C543D}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{DE930018-3F5B-4586-A11D-8F9220A9596D}" | ||
ProjectSection(SolutionItems) = preProject | ||
Cpp.props = Cpp.props | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Win32 = Debug|Win32 | ||
Release|Win32 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Debug|Any CPU.ActiveCfg = Debug|Win32 | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Debug|Win32.Build.0 = Debug|Win32 | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Release|Any CPU.ActiveCfg = Release|Win32 | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Release|Win32.ActiveCfg = Release|Win32 | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Release|Win32.Build.0 = Release|Win32 | ||
{0E22D156-940B-431D-945D-51B7DFA08AEF}.Debug|Any CPU.ActiveCfg = Debug|Win32 | ||
{0E22D156-940B-431D-945D-51B7DFA08AEF}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{0E22D156-940B-431D-945D-51B7DFA08AEF}.Debug|Win32.Build.0 = Debug|Win32 | ||
{0E22D156-940B-431D-945D-51B7DFA08AEF}.Release|Any CPU.ActiveCfg = Release|Win32 | ||
{0E22D156-940B-431D-945D-51B7DFA08AEF}.Release|Win32.ActiveCfg = Release|Win32 | ||
{0E22D156-940B-431D-945D-51B7DFA08AEF}.Release|Win32.Build.0 = Release|Win32 | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Debug|Win32.Build.0 = Debug|Win32 | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Release|Win32.ActiveCfg = Release|Win32 | ||
{D547DF85-7B84-462C-BCE7-8F166D7C543D}.Release|Win32.Build.0 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {D4ECDC99-526F-4A2D-90BF-7BF54C4043D2} | ||
EndGlobalSection | ||
EndGlobal |
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,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<!-- | ||
** IMPORTANT!!! ** | ||
* When changing this file, also update packages.props | ||
--> | ||
|
||
<package id="Microsoft.VSSDK.Debugger.VSDebugEng" version="16.0.2012201-preview" developmentDependency="true" /> | ||
<package id="Microsoft.VSSDK.Debugger.VSDConfigTool" version="16.0.2012201-preview" developmentDependency="true" /> | ||
|
||
</packages> |
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,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<!-- NOTE: This needs to stay in sync with packages.config --> | ||
<ConcordPackageVersion>16.0.2012201-preview</ConcordPackageVersion> | ||
</PropertyGroup> | ||
</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
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
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
Oops, something went wrong.