提交 24761159 编写于 作者: A Andy Gocke

Merge pull request #9992 from agocke/move-nuspecs-to-open

Move nuspecs to open
#r "System.Xml.Linq"
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Xml.Linq;
string usage = @"usage: BuildNuGets.csx <binaries-dir> <build-version> <output-directory>";
......@@ -13,54 +15,120 @@ if (Args.Count() != 3)
Environment.Exit(1);
}
var SolutionRoot = Path.GetFullPath(Path.Combine(ScriptRoot(), "../"));
string ScriptRoot([CallerFilePath]string path = "") => Path.GetDirectoryName(path);
var slnRoot = Path.GetFullPath(Path.Combine(ScriptRoot(), "../"));
#region Config Variables
// Strip trailing '\' characters because if the path is later passed on the
// command line when surrounded by quotes (in case the path has spaces) some
// utilities will consider the '\"' as an escape sequence for the end quote
var BinDir = Path.GetFullPath(Args[0]).TrimEnd('\\');
var BuildVersion = Args[1].Trim();
var NuspecDirPath = Path.Combine(SolutionRoot, "src/NuGet");
var OutDir = Path.GetFullPath(Args[2]).TrimEnd('\\');
var LicenseUrlRedist = @"http://go.microsoft.com/fwlink/?LinkId=529443";
var LicenseUrlNonRedist = @"http://go.microsoft.com/fwlink/?LinkId=529444";
var LicenseUrlTest = @"http://go.microsoft.com/fwlink/?LinkId=529445";
var Authors = @"Microsoft";
var ProjectURL = @"http://msdn.com/roslyn";
var Tags = @"Roslyn CodeAnalysis Compiler CSharp VB VisualBasic Parser Scanner Lexer Emit CodeGeneration Metadata IL Compilation Scripting Syntax Semantics";
string SystemCollectionsImmutableVersion;
string SystemReflectionMetadataVersion;
string CodeAnalysisAnalyzersVersion;
// Read preceding variables from MSBuild file
var doc = XDocument.Load(Path.Combine(SolutionRoot, "build/Targets/VSL.Versions.targets"));
XNamespace ns = @"http://schemas.microsoft.com/developer/msbuild/2003";
SystemCollectionsImmutableVersion = doc.Descendants(ns + nameof(SystemCollectionsImmutableVersion)).Single().Value;
SystemReflectionMetadataVersion = doc.Descendants(ns + nameof(SystemReflectionMetadataVersion)).Single().Value;
CodeAnalysisAnalyzersVersion = doc.Descendants(ns + nameof(CodeAnalysisAnalyzersVersion)).Single().Value;
#endregion
var binDir = Path.GetFullPath(Args[0]).TrimEnd('\\');
var buildVersion = Args[1].Trim();
var nuspecDirPath = Path.GetFullPath(Path.Combine(slnRoot, "src/NuGet"));
var outDir = Path.GetFullPath(Args[2]).TrimEnd('\\');
var NuGetAdditionalFilesPath = Path.Combine(SolutionRoot, "build/NuGetAdditionalFiles");
var ThirdPartyNoticesPath = Path.Combine(NuGetAdditionalFilesPath, "ThirdPartyNotices.rtf");
var NetCompilersPropsPath = Path.Combine(NuGetAdditionalFilesPath, "Microsoft.Net.Compilers.props");
var licenseUrl = @"http://go.microsoft.com/fwlink/?LinkId=529443";
var authors = @"Microsoft";
var projectURL = @"http://msdn.com/roslyn";
var tags = @"Roslyn CodeAnalysis Compiler CSharp VB VisualBasic Parser Scanner Lexer Emit CodeGeneration Metadata IL Compilation Scripting Syntax Semantics";
string[] RedistFiles = {
"Microsoft.CodeAnalysis.BuildTask.Portable.nuspec",
"Microsoft.CodeAnalysis.EditorFeatures.Text.nuspec",
"Microsoft.CodeAnalysis.VisualBasic.Scripting.nuspec",
"Microsoft.CodeAnalysis.Common.nuspec",
"Microsoft.CodeAnalysis.Features.nuspec",
"Microsoft.CodeAnalysis.VisualBasic.Workspaces.nuspec",
"Microsoft.CodeAnalysis.Compilers.nuspec",
"Microsoft.CodeAnalysis.nuspec",
"Microsoft.CodeAnalysis.Workspaces.Common.nuspec",
"Microsoft.CodeAnalysis.CSharp.Features.nuspec",
"Microsoft.CodeAnalysis.Scripting.Common.nuspec",
"Microsoft.CodeAnalysis.CSharp.nuspec",
"Microsoft.CodeAnalysis.Scripting.nuspec",
"Microsoft.CodeAnalysis.CSharp.Scripting.nuspec",
"Microsoft.CodeAnalysis.CSharp.Workspaces.nuspec",
"Microsoft.CodeAnalysis.VisualBasic.Features.nuspec",
"Microsoft.VisualStudio.LanguageServices.nuspec",
"Microsoft.CodeAnalysis.EditorFeatures.nuspec",
"Microsoft.CodeAnalysis.VisualBasic.nuspec",
};
var files = Directory.GetFiles(nuspecDirPath, "*.nuspec");
string[] NonRedistFiles = {
"Microsoft.Net.Compilers.nuspec",
"Microsoft.Net.Compilers.netcore.nuspec",
"Microsoft.Net.CSharp.Interactive.netcore.nuspec",
};
int exit = 0;
string[] TestFiles = {
"Microsoft.CodeAnalysis.Test.Resources.Proprietary.nuspec",
};
foreach (var file in files)
int PackFiles(string[] files, string licenseUrl)
{
var nugetArgs = $@"pack {file} " +
$@"-BasePath ""{binDir}"" " +
$@"-OutputDirectory ""{outDir}"" " +
"-ExcludeEmptyDirectories " +
$@"-prop licenseUrl=""{licenseUrl}"" " +
$@"-prop version=""{buildVersion}"" " +
$"-prop authors={authors} " +
$@"-prop projectURL=""{projectURL}"" " +
$@"-prop tags=""{tags}""";
var nugetExePath = Path.GetFullPath(Path.Combine(slnRoot, "nuget.exe"));
var p = new Process();
p.StartInfo.FileName = nugetExePath;
p.StartInfo.Arguments = nugetArgs;
p.StartInfo.UseShellExecute = false;
Console.WriteLine($"Running: nuget.exe {nugetArgs}");
p.Start();
p.WaitForExit();
exit = p.ExitCode;
if (exit != 0)
int exit = 0;
foreach (var file in files.Select(f => Path.Combine(NuspecDirPath, f)))
{
break;
var nugetArgs = $@"pack {file} " +
$"-BasePath \"{BinDir}\" " +
$"-OutputDirectory \"{OutDir}\" " +
"-ExcludeEmptyDirectories " +
$"-prop licenseUrl=\"{licenseUrl}\" " +
$"-prop version=\"{BuildVersion}\" " +
$"-prop authors={Authors} " +
$"-prop projectURL=\"{ProjectURL}\" " +
$"-prop tags=\"{Tags}\" " +
$"-prop systemCollectionsImmutableVersion=\"{SystemCollectionsImmutableVersion}\" " +
$"-prop systemReflectionMetadataVersion=\"{SystemReflectionMetadataVersion}\" " +
$"-prop codeAnalysisAnalyzersVersion=\"{CodeAnalysisAnalyzersVersion}\" " +
$"-prop thirdPartyNoticesPath=\"{ThirdPartyNoticesPath}\" " +
$"-prop netCompilersPropsPath=\"{NetCompilersPropsPath}\"";
var nugetExePath = Path.GetFullPath(Path.Combine(SolutionRoot, "nuget.exe"));
var p = new Process();
p.StartInfo.FileName = nugetExePath;
p.StartInfo.Arguments = nugetArgs;
p.StartInfo.UseShellExecute = false;
Console.WriteLine($"Running: nuget.exe {nugetArgs}");
p.Start();
p.WaitForExit();
if ((exit = p.ExitCode) != 0)
{
break;
}
}
return exit;
}
int exit = PackFiles(RedistFiles, LicenseUrlRedist);
if (exit == 0) PackFiles(NonRedistFiles, LicenseUrlNonRedist);
if (exit == 0) PackFiles(TestFiles, LicenseUrlTest);
Environment.Exit(exit);
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- The UsingTask, UseSharedCompilation, and ToolPath/Exe variables all interact to
choose which compiler path to use and whether or not to use the compiler server.
If UsingTask and UseSharedCompilation are set then the compiler server next to the
task will be used (i.e., the one in this package).
If UseSharedCompilation is false or ToolPath/Exe are set the compiler server will
not be used and the compiler exe at the ToolPath, if set, will be executed, otherwise
the executable in the MSBuild install path will be executed. -->
<!-- Always use the local build task, even if we just shell out to an exe in case there are
new properties in the local build task. -->
<UsingTask TaskName="Microsoft.CodeAnalysis.BuildTasks.Csc"
AssemblyFile="$(MSBuildThisFileDirectory)..\tools\Microsoft.Build.Tasks.CodeAnalysis.dll"
Condition="'$(MSBuildToolsVersion)' == '14.0'" />
<UsingTask TaskName="Microsoft.CodeAnalysis.BuildTasks.Vbc"
AssemblyFile="$(MSBuildThisFileDirectory)..\tools\Microsoft.Build.Tasks.CodeAnalysis.dll"
Condition="'$(MSBuildToolsVersion)' == '14.0'" />
<PropertyGroup>
<!-- By default don't use the compiler server on VS 2015 and never use it
otherwise (it is not yet supported on VS 2013 or below).-->
<UseSharedCompilation Condition="'$(UseSharedCompilation)' == ''
or '$(MSBuildToolsVersion)' != '14.0'">false</UseSharedCompilation>
<CSharpCoreTargetsPath>$(MSBuildThisFileDirectory)..\tools\Microsoft.CSharp.Core.targets</CSharpCoreTargetsPath>
<VisualBasicCoreTargetsPath>$(MSBuildThisFileDirectory)..\tools\Microsoft.VisualBasic.Core.targets</VisualBasicCoreTargetsPath>
</PropertyGroup>
<!-- If we're not using the compiler server, set ToolPath/Exe to direct to
the exes in this package -->
<PropertyGroup Condition="'$(UseSharedCompilation)' != 'true'">
<CscToolPath>$(MSBuildThisFileDirectory)..\tools</CscToolPath>
<CscToolExe>csc.exe</CscToolExe>
<VbcToolPath>$(MSBuildThisFileDirectory)..\tools</VbcToolPath>
<VbcToolExe>vbc.exe</VbcToolExe>
</PropertyGroup>
</Project>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.CSharp.Features</id>
<description>
.NET Compiler Platform ("Roslyn") support for creating C# editing experiences.
Supported Platforms:
- .NET Framework 4.5
- Windows 8
- Portable Class Libraries
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Features" version="$version$" />
<dependency id="Microsoft.CodeAnalysis.CSharp.Workspaces" version="$version$" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.CSharp.Features.dll" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.CSharp.Features.xml" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.CSharp.Features.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.CSharp.Features.xml" target="lib\net45" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.CSharp.Scripting</id>
<summary>Microsoft .NET Compiler Platform ("Roslyn") CSharp scripting package.</summary>
<description>
Microsoft .NET Compiler Platform ("Roslyn") CSharp scripting package.
</description>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Scripting.Common" version="[$version$]" />
<dependency id="Microsoft.CodeAnalysis.CSharp" version="[$version$]" />
</dependencies>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.CSharp.Scripting.dll" target="lib\dotnet" />
<file src="Microsoft.CodeAnalysis.CSharp.Scripting.xml" target="lib\dotnet" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.CSharp.Workspaces</id>
<description>
.NET Compiler Platform ("Roslyn") support for analyzing C# projects and solutions.
Supported Platforms:
- .NET Framework 4.5
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.CSharp" version="[$version$]" />
<dependency id="Microsoft.CodeAnalysis.Workspaces.Common" version="[$version$]" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.CSharp.Workspaces.dll" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.CSharp.Workspaces.xml" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.CSharp.Workspaces.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.CSharp.Workspaces.xml" target="lib\net45" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.CSharp</id>
<description>
.NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll.
Supported Platforms:
- .NET Framework 4.5
- Windows 8
- Portable Class Libraries
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Common" version="[$version$]" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.CSharp.dll" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.CSharp.xml" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.CSharp.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.CSharp.xml" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.CSharp.dll" target="lib\netstandard1.3" />
<file src="Microsoft.CodeAnalysis.CSharp.xml" target="lib\netstandard1.3" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.Common</id>
<summary>A shared package used by the Microsoft .NET Compiler Platform ("Roslyn").</summary>
<description>
A shared package used by the Microsoft .NET Compiler Platform ("Roslyn"). Do not install this package manually, it will be added as a prerequisite by other packages that require it.
Supported Platforms:
- .NET Framework 4.5
- Windows 8
- Portable Class Libraries
</description>
<dependencies>
<group targetFramework="portable-net45+win8">
<dependency id="System.Collections.Immutable" version="$systemCollectionsImmutableVersion$" />
<dependency id="System.Reflection.Metadata" version="$systemReflectionMetadataVersion$" />
<dependency id="Microsoft.CodeAnalysis.Analyzers" version="$codeAnalysisAnalyzersVersion$" />
</group>
<group targetFramework="netstandard1.3">
<dependency id="System.Collections.Immutable" version="$systemCollectionsImmutableVersion$" />
<dependency id="System.Reflection.Metadata" version="$systemReflectionMetadataVersion$" />
<dependency id="Microsoft.CodeAnalysis.Analyzers" version="$codeAnalysisAnalyzersVersion$" />
<dependency id="System.AppContext" version="4.1.0-rc2-23910" />
<dependency id="System.Collections" version="4.0.11-rc2-23910" />
<dependency id="System.Collections.Concurrent" version="4.0.12-rc2-23910" />
<dependency id="System.Console" version="4.0.0-rc2-23910" />
<dependency id="System.Diagnostics.Debug" version="4.0.11-rc2-23910" />
<dependency id="System.Diagnostics.FileVersionInfo" version="4.0.0-rc2-23910" exclude="Compile" />
<dependency id="System.Diagnostics.StackTrace" version="4.0.1-rc2-23910" exclude="Compile" />
<dependency id="System.Diagnostics.Tools" version="4.0.1-rc2-23910" />
<dependency id="System.Dynamic.Runtime" version="4.0.11-rc2-23910" />
<dependency id="System.Globalization" version="4.0.11-rc2-23910" />
<dependency id="System.IO.FileSystem" version="4.0.1-rc2-23910" />
<dependency id="System.Linq" version="4.0.1-rc2-23910" />
<dependency id="System.Linq.Expressions" version="4.0.11-rc2-23910" />
<dependency id="System.Reflection" version="4.1.0-rc2-23910" />
<dependency id="System.Reflection.Primitives" version="4.0.1-rc2-23910" />
<dependency id="System.Resources.ResourceManager" version="4.0.1-rc2-23910" />
<dependency id="System.Runtime" version="4.0.21-rc2-23910" />
<dependency id="System.Runtime.Extensions" version="4.0.11-rc2-23910" />
<dependency id="System.Runtime.Handles" version="4.0.1-rc2-23910" />
<dependency id="System.Runtime.InteropServices" version="4.0.21-rc2-23910" />
<dependency id="System.Runtime.Numerics" version="4.0.1-rc2-23910" />
<dependency id="System.Security.Cryptography.Algorithms" version="4.0.0-rc2-23910" />
<dependency id="System.Security.Cryptography.Encoding" version="4.0.0-rc2-23910" />
<dependency id="System.Security.Cryptography.X509Certificates" version="4.0.0-rc2-23910" />
<dependency id="System.Text.Encoding" version="4.0.11-rc2-23910" />
<dependency id="System.Text.Encoding.CodePages" version="4.0.1-rc2-23910" exclude="Compile" />
<dependency id="System.Text.Encoding.Extensions" version="4.0.11-rc2-23910" />
<dependency id="System.Threading" version="4.0.11-rc2-23910" exclude="Compile" />
<dependency id="System.Threading.Tasks" version="4.0.11-rc2-23910" />
<dependency id="System.Threading.Tasks.Parallel" version="4.0.1-rc2-23910" />
<dependency id="System.Threading.Thread" version="4.0.0-rc2-23910" exclude="Compile" />
<dependency id="System.Xml.ReaderWriter" version="4.0.11-rc2-23910" />
<dependency id="System.Xml.XDocument" version="4.0.11-rc2-23910" />
<dependency id="System.Xml.XmlDocument" version="4.0.1-rc2-23910" exclude="Compile" />
<dependency id="System.Xml.XPath.XDocument" version="4.0.1-rc2-23910" exclude="Compile" />
</group>
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.dll" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.xml" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.xml" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.dll" target="lib\netstandard1.3" />
<file src="Microsoft.CodeAnalysis.xml" target="lib\netstandard1.3" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.Compilers</id>
<summary>.NET Compiler Platform ("Roslyn")</summary>
<description>
.NET Compiler Platform ("Roslyn"). Install this package to get both C# and Visual Basic support. Install either of the dependencies directly to get one of the languages separately.
Supported Platforms:
- .NET Framework 4.5
- Windows 8
- Portable Class Libraries
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.CSharp" version="[$version$]" />
<dependency id="Microsoft.CodeAnalysis.VisualBasic" version="[$version$]" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.EditorFeatures.Text</id>
<description>
.NET Compiler Platform ("Roslyn") support for working with Visual Studio text buffers.
Supported Platforms:
- .NET Framework 4.6
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Workspaces.Common" version="[$version$]" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.EditorFeatures.Text.dll" target="lib\net46" />
<file src="Microsoft.CodeAnalysis.EditorFeatures.Text.xml" target="lib\net46" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.EditorFeatures</id>
<description>
.NET Compiler Platform ("Roslyn") support for editor features inside the Visual Studio editor..
Supported Platforms:
- .NET Framework 4.6
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Features" version="[$version$]" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.EditorFeatures.dll" target="lib\net46" />
<file src="Microsoft.CodeAnalysis.EditorFeatures.xml" target="lib\net46" />
<file src="Microsoft.CodeAnalysis.CSharp.EditorFeatures.dll" target="lib\net46" />
<file src="Microsoft.CodeAnalysis.CSharp.EditorFeatures.xml" target="lib\net46" />
<file src="Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll" target="lib\net46" />
<file src="Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.xml" target="lib\net46" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.Features</id>
<description>
.NET Compiler Platform ("Roslyn") support for creating editing experiences.
Supported Platforms:
- .NET Framework 4.5
- Windows 8
- Portable Class Libraries
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Workspaces.Common" version="$version$" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.Features.dll" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.Features.xml" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.Features.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.Features.xml" target="lib\net45" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.Scripting.Common</id>
<summary>Microsoft .NET Compiler Platform ("Roslyn") shared scripting package.</summary>
<description>
Microsoft .NET Compiler Platform ("Roslyn") shared scripting package. Do not install this package manually, it will be added as a prerequisite by other packages that require it.
</description>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Common" version="[$version$]" />
<dependency id="System.Collections" version="4.0.10" />
<dependency id="System.Collections.Immutable" version="1.1.37" />
<dependency id="System.Diagnostics.Debug" version="4.0.10" />
<dependency id="System.Diagnostics.Tools" version="4.0.0" />
<dependency id="System.Globalization" version="4.0.10" />
<dependency id="System.IO" version="4.0.10" />
<dependency id="System.IO.FileSystem" version="4.0.0" />
<dependency id="System.Linq" version="4.0.0" />
<dependency id="System.Linq.Expressions" version="4.0.10" />
<dependency id="System.Reflection" version="4.0.10" />
<dependency id="System.Reflection.Extensions" version="4.0.0" />
<dependency id="System.Resources.ResourceManager" version="4.0.0" />
<dependency id="System.Runtime" version="4.0.20" />
<dependency id="System.Runtime.Extensions" version="4.0.10" />
<dependency id="System.Runtime.InteropServices" version="4.0.20" />
<dependency id="System.Threading" version="4.0.10" />
<dependency id="System.Threading.Tasks" version="4.0.10" />
<dependency id="System.Diagnostics.StackTrace" version="4.0.0" />
<dependency id="System.AppContext" version="4.0.0" />
</dependencies>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.Scripting.dll" target="lib\dotnet" />
<file src="Microsoft.CodeAnalysis.Scripting.xml" target="lib\dotnet" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.Scripting</id>
<summary>Microsoft .NET Compiler Platform ("Roslyn") CSharp and VB scripting package.</summary>
<description>
Microsoft .NET Compiler Platform ("Roslyn") CSharp and VB scripting package.
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.CSharp.Scripting" version="[$version$]" />
<dependency id="Microsoft.CodeAnalysis.Scripting.Common" version="[$version$]" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.Test.Resources.Proprietary</id>
<description>
Resources for Testing the .NET Compiler Platform ("Roslyn").
Supported Platforms:
- .NET Framework 4.5
</description>
<summary></summary>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.Test.Resources.Proprietary.dll" target="lib\net45" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.VisualBasic.Features</id>
<description>
.NET Compiler Platform ("Roslyn") support for creating Visual Basic editing experiences.
Supported Platforms:
- .NET Framework 4.5
- Windows 8
- Portable Class Libraries
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Features" version="$version$" />
<dependency id="Microsoft.CodeAnalysis.VisualBasic.Workspaces" version="$version$" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.VisualBasic.Features.dll" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.VisualBasic.Features.xml" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.VisualBasic.Features.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.VisualBasic.Features.xml" target="lib\net45" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.VisualBasic.Scripting</id>
<summary>Microsoft .NET Compiler Platform ("Roslyn") Visual Basic scripting package.</summary>
<description>
Microsoft .NET Compiler Platform ("Roslyn") Visual Basic scripting package.
</description>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Scripting.Common" version="[$version$]" />
<dependency id="Microsoft.CodeAnalysis.VisualBasic" version="[$version$]" />
<dependency id="Microsoft.VisualBasic" version="10.0.0" />
</dependencies>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.VisualBasic.Scripting.dll" target="lib\dotnet" />
<file src="Microsoft.CodeAnalysis.VisualBasic.Scripting.xml" target="lib\dotnet" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.VisualBasic.Workspaces</id>
<description>
.NET Compiler Platform ("Roslyn") support for analyzing Visual Basic projects and solutions.
Supported Platforms:
- .NET Framework 4.5
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.VisualBasic" version="[$version$]" />
<dependency id="Microsoft.CodeAnalysis.Workspaces.Common" version="[$version$]" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.VisualBasic.Workspaces.xml" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.VisualBasic.Workspaces.xml" target="lib\net45" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.VisualBasic</id>
<description>
.NET Compiler Platform ("Roslyn") support for Visual Basic, Microsoft.CodeAnalysis.VisualBasic.dll.
Supported Platforms:
- .NET Framework 4.5
- Windows 8
- Portable Class Libraries
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Common" version="$version$" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.VisualBasic.dll" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.VisualBasic.xml" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.VisualBasic.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.VisualBasic.xml" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.VisualBasic.dll" target="lib\netstandard1.3" />
<file src="Microsoft.CodeAnalysis.VisualBasic.xml" target="lib\netstandard1.3" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis.Workspaces.Common</id>
<summary>
A shared package used by the .NET Compiler Platform ("Roslyn") including support for analyzing projects and solutions.
</summary>
<description>
A shared package used by the .NET Compiler Platform ("Roslyn") including support for analyzing projects and solutions. Do not install this package manually, it will be added as a prerequisite by other packages that require it.
Supported Platforms:
- .NET Framework 4.5
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.Common" version="[$version$]" />
<dependency id="Microsoft.Composition" version="1.0.27" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.CodeAnalysis.Workspaces.dll" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.Workspaces.xml" target="lib\portable-net45+win8" />
<file src="Microsoft.CodeAnalysis.Workspaces.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.Workspaces.xml" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.Workspaces.Desktop.dll" target="lib\net45" />
<file src="Microsoft.CodeAnalysis.Workspaces.Desktop.xml" target="lib\net45" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.CodeAnalysis</id>
<summary>.NET Compiler Platform ("Roslyn").</summary>
<description>
.NET Compiler Platform ("Roslyn").
This is the all-in-one package (a superset of all assemblies). You can install any of these sub-packages if you only want part of the functionality:
- "Microsoft.CodeAnalysis.CSharp.Workspaces" (C# compiler + services)
- "Microsoft.CodeAnalysis.VisualBasic.Workspaces" (VB compiler + services)
- "Microsoft.CodeAnalysis.Compilers" (both compilers)
- "Microsoft.CodeAnalysis.CSharp" (only the C# compiler)
- "Microsoft.CodeAnalysis.VisualBasic (only the VB compiler)
Supported Platforms:
- .NET Framework 4.5
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis.CSharp.Workspaces" version="[$version$]" />
<dependency id="Microsoft.CodeAnalysis.VisualBasic.Workspaces" version="[$version$]" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.Net.Compilers</id>
<description>
.Net Compilers package. Referencing this package will cause the project to be built using the specific version of the C# and Visual Basic compilers contained in the package, as opposed to any system installed version.
Supported Platforms:
- .NET Framework 4.5
</description>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
<developmentDependency>true</developmentDependency>
</metadata>
<files>
<file src="$netCompilersPropsPath$" target="build\Microsoft.Net.Compilers.props" />
<file src="$thirdPartyNoticesPath$" target="" />
<file src="Microsoft.CodeAnalysis.dll" target="tools" />
<file src="Microsoft.DiaSymReader.Native.amd64.dll" target="tools" />
<file src="Microsoft.DiaSymReader.Native.x86.dll" target="tools" />
<file src="Microsoft.CodeAnalysis.CSharp.dll" target="tools" />
<file src="Microsoft.CodeAnalysis.Scripting.dll" target="tools" />
<file src="Microsoft.CodeAnalysis.CSharp.Scripting.dll" target="tools" />
<file src="Microsoft.CodeAnalysis.VisualBasic.dll" target="tools" />
<file src="System.AppContext.dll" target="tools" />
<file src="System.Collections.Immutable.dll" target="tools" />
<file src="System.Diagnostics.StackTrace.dll" target="tools" />
<file src="System.IO.FileSystem.dll" target="tools" />
<file src="System.IO.FileSystem.Primitives.dll" target="tools" />
<file src="System.Reflection.Metadata.dll" target="tools" />
<file src="csc.exe" target="tools" />
<file src="csc.exe.config" target="tools" />
<file src="csc.rsp" target="tools" />
<file src="csi.exe" target="tools" />
<file src="csi.rsp" target="tools" />
<file src="vbc.exe" target="tools" />
<file src="vbc.exe.config" target="tools" />
<file src="vbc.rsp" target="tools" />
<file src="VBCSCompiler.exe" target="tools" />
<file src="VBCSCompiler.exe.config" target="tools" />
<file src="Microsoft.Build.Tasks.CodeAnalysis.dll" target="tools" />
<file src="Microsoft.CSharp.Core.targets" target="tools" />
<file src="Microsoft.VisualBasic.Core.targets" target="tools" />
</files>
</package>
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Microsoft.VisualStudio.LanguageServices</id>
<description>
.NET Compiler Platform ("Roslyn") support for Visual Studio.
Supported Platforms:
- .NET Framework 4.6
</description>
<dependencies>
<dependency id="Microsoft.CodeAnalysis" version="[$version$]" />
</dependencies>
<language>en-US</language>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<version>$version$</version>
<authors>$authors$</authors>
<licenseUrl>$licenseUrl$</licenseUrl>
<projectUrl>$projectUrl$</projectUrl>
<releaseNotes>$releaseNotes$</releaseNotes>
<tags>$tags$</tags>
</metadata>
<files>
<file src="Microsoft.VisualStudio.LanguageServices.dll" target="lib\net46" />
<file src="Microsoft.VisualStudio.LanguageServices.xml" target="lib\net46" />
<file src="$thirdPartyNoticesPath$" target="" />
</files>
</package>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册