-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding .NetStandard class library and a seperate vsix for the same.
- Loading branch information
jinuj
authored and
jinuj
committed
Dec 16, 2016
1 parent
13c921f
commit 7aaffdf
Showing
19 changed files
with
583 additions
and
1 deletion.
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
67 changes: 67 additions & 0 deletions
67
src/Templates/CSharpNetStandardTemplatesSetup/CSharpNetStandardTemplatesSetup.csproj
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,67 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. --> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion> | ||
<ProjectRootDir>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'Common.props'))\</ProjectRootDir> | ||
</PropertyGroup> | ||
<Import Project="$(ProjectRootDir)Common.props" /> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<ProjectGuid>{22234E7B-DB06-4F54-B968-37156F25C2A9}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>Microsoft.VisualStudio</RootNamespace> | ||
<AssemblyName>Microsoft.VisualStudio.ProjectSystem.CSharp.NetStandard.Templates</AssemblyName> | ||
<GeneratePkgDefFile>false</GeneratePkgDefFile> | ||
<VSSDKTargetPlatformRegRootSuffix>RoslynDev</VSSDKTargetPlatformRegRootSuffix> | ||
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer> | ||
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer> | ||
<IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment> | ||
<ImportVSSDKTargets>true</ImportVSSDKTargets> | ||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion> | ||
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory> | ||
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory> | ||
<NoDocumentationFile>true</NoDocumentationFile> | ||
<UseCommonOutputDirectory>true</UseCommonOutputDirectory> | ||
<ProjectSystemLayer>VisualStudio</ProjectSystemLayer> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="project.json" /> | ||
<None Include="source.extension.vsixmanifest" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="ProjectSelector.pkgdef"> | ||
<IncludeInVSIX>true</IncludeInVSIX> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\ProjectTemplates\CSharp\.NETStandard\CSharpNetStandardClassLibrary\CSharpNetStandardClassLibrary.csproj"> | ||
<Project>{440F1724-1830-4C7A-9500-8D9323A7FE71}</Project> | ||
<Name>CSharpNetStandardClassLibrary</Name> | ||
<VSIXSubPath>ProjectTemplates</VSIXSubPath> | ||
<ReferenceOutputAssembly>false</ReferenceOutputAssembly> | ||
<IncludeOutputGroupsInVSIX>TemplateProjectOutputGroup%3b</IncludeOutputGroupsInVSIX> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="$(ProjectRootDir)build\Targets\Templates.Imports.targets" /> | ||
</Project> |
2 changes: 2 additions & 0 deletions
2
src/Templates/CSharpNetStandardTemplatesSetup/ProjectSelector.pkgdef
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,2 @@ | ||
[$RootKey$\Projects\{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}] | ||
"ProjectSelector"="{3DCC42E7-4611-46AC-8EA8-6F1E9B3D917F}" |
11 changes: 11 additions & 0 deletions
11
src/Templates/CSharpNetStandardTemplatesSetup/project.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,11 @@ | ||
{ | ||
"frameworks": { | ||
"net46": { } | ||
}, | ||
"dependencies": { | ||
"Microsoft.VSSDK.BuildTools": "15.0.25604-Preview4" | ||
}, | ||
"runtimes": { | ||
"win": { } | ||
} | ||
} |
Oops, something went wrong.