Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
f103aee7
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f103aee7
编写于
4月 13, 2017
作者:
J
Jared Parsons
提交者:
Jared Parsons
4月 21, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixes
上级
b17e9bf0
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
33 addition
and
27 deletion
+33
-27
build/scripts/build.ps1
build/scripts/build.ps1
+9
-3
src/NuGet/NuGet.proj
src/NuGet/NuGet.proj
+5
-5
src/Setup/DevDivPackages/Roslyn.proj
src/Setup/DevDivPackages/Roslyn.proj
+4
-4
src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.swixproj
...ompilersPackage/Microsoft.CodeAnalysis.Compilers.swixproj
+3
-3
src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj
...mpilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj
+2
-2
src/Setup/DevDivVsix/MicrosoftCodeAnalysisLanguageServices/Microsoft.CodeAnalysis.LanguageServices.vsmanproj
...ervices/Microsoft.CodeAnalysis.LanguageServices.vsmanproj
+2
-2
src/Setup/DevDivVsix/PortableFacades/PortableFacades.swixproj
...Setup/DevDivVsix/PortableFacades/PortableFacades.swixproj
+2
-2
src/Setup/DevDivVsix/PortableFacades/PortableFacades.vsmanproj
...etup/DevDivVsix/PortableFacades/PortableFacades.vsmanproj
+2
-2
src/Setup/SetupStep1.proj
src/Setup/SetupStep1.proj
+2
-2
src/Setup/SetupStep2.proj
src/Setup/SetupStep2.proj
+2
-2
未找到文件。
build/scripts/build.ps1
浏览文件 @
f103aee7
...
...
@@ -4,6 +4,7 @@ param (
[
switch
]
$build
=
$false
,
[
switch
]
$restore
=
$false
,
[
switch
]
$test
=
$false
,
[
switch
]
$test64
=
$false
,
[
switch
]
$clean
=
$false
,
[
switch
]
$clearPackageCache
=
$false
,
[
string
]
$project
=
""
,
...
...
@@ -17,7 +18,8 @@ function Print-Usage() {
Write-Host
"Build.ps1"
Write-Host
"
`t
-build Run a build operation (default false)"
Write-Host
"
`t
-restore Run a restore operation (default false)"
Write-Host
"
`t
-test Run tests (default false)"
Write-Host
"
`t
-test Run unit tests (default false)"
Write-Host
"
`t
-test64 Run unit tests in 64 bit mode"
Write-Host
"
`t
-clean Do a clean build / restore (default false)"
Write-Host
"
`t
-clearPackageCache Clear package cache before restoring"
Write-Host
"
`t
-project <path> Project the build or restore should target"
...
...
@@ -38,7 +40,11 @@ function Run-Build() {
function
Run-Test
()
{
$proj
=
Join-Path
$repoDir
"BuildAndTest.proj"
Exec-Command
$msbuild
"/v:m /p:SkipCoreClr=true /t:Test
$proj
"
|
Out-Host
$args
=
"/v:m /p:SkipCoreClr=true /p:ManualTest=true /t:Test
$proj
"
if
(
$test64
)
{
$args
+=
" /p:Test64=true"
}
Exec-Command
$msbuild
$args
|
Out-Host
}
try
{
...
...
@@ -68,7 +74,7 @@ try {
Run-Build
}
if
(
$test
)
{
if
(
$test
-or
$test64
)
{
Run-Test
}
}
...
...
src/NuGet/NuGet.proj
浏览文件 @
f103aee7
...
...
@@ -5,19 +5,19 @@
<Target
Name=
"Build"
>
<!-- NuGetPerBuildPreReleaseVersion -->
<Exec
Command=
"$(Out
Dir)Exes\csi\csi.exe $(MSBuildThisFileDirectory)BuildNuGets.csx $(OutDir) $(NuGetPerBuildPreReleaseVersion) $(OutDir
)NuGet\PerBuildPreRelease"
Condition=
"'$(NuGetPerBuildPreReleaseVersion)' != ''"
/>
<Exec
Command=
"$(Out
putPath)Exes\csi\csi.exe $(MSBuildThisFileDirectory)BuildNuGets.csx $(OutputPath) $(NuGetPerBuildPreReleaseVersion) $(OutputPath
)NuGet\PerBuildPreRelease"
Condition=
"'$(NuGetPerBuildPreReleaseVersion)' != ''"
/>
<!-- NuGetPreReleaseVersion -->
<Exec
Command=
"$(Out
Dir)Exes\csi\csi.exe $(MSBuildThisFileDirectory)BuildNuGets.csx $(OutDir) $(NuGetPreReleaseVersion) $(OutDir
)NuGet\PreRelease"
Condition=
"'$(NuGetPreReleaseVersion)' != ''"
/>
<Exec
Command=
"$(Out
putPath)Exes\csi\csi.exe $(MSBuildThisFileDirectory)BuildNuGets.csx $(OutputPath) $(NuGetPreReleaseVersion) $(OutputPath
)NuGet\PreRelease"
Condition=
"'$(NuGetPreReleaseVersion)' != ''"
/>
<!-- NuGetReleaseVersion -->
<Exec
Command=
"$(Out
Dir)Exes\csi\csi.exe $(MSBuildThisFileDirectory)BuildNuGets.csx $(OutDir) $(NuGetReleaseVersion) $(OutDir
)NuGet\Release"
Condition=
"'$(NuGetReleaseVersion)' != ''"
/>
<Exec
Command=
"$(Out
putPath)Exes\csi\csi.exe $(MSBuildThisFileDirectory)BuildNuGets.csx $(OutputPath) $(NuGetReleaseVersion) $(OutputPath
)NuGet\Release"
Condition=
"'$(NuGetReleaseVersion)' != ''"
/>
</Target>
<Target
Name=
"Clean"
>
<RemoveDir
Directories=
"$(Out
Dir
)NuGet"
/>
<RemoveDir
Directories=
"$(Out
putPath
)NuGet"
/>
</Target>
<Target
Name=
"Rebuild"
DependsOnTargets=
"Clean;Build"
>
</Target>
</Project>
\ No newline at end of file
</Project>
src/Setup/DevDivPackages/Roslyn.proj
浏览文件 @
f103aee7
...
...
@@ -3,16 +3,16 @@
<Project
ToolsVersion=
"14.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<Import
Project=
"..\..\..\build\Targets\Settings.props"
/>
<PropertyGroup>
<InsertionFilesDir>
$(Out
Dir)
DevDivInsertionFiles
</InsertionFilesDir>
<InsertionFilesDir>
$(Out
putPath)\
DevDivInsertionFiles
</InsertionFilesDir>
<VsToolsetDir>
$(InsertionFilesDir)\VS.Tools.Roslyn
</VsToolsetDir>
<PackagesOutDir>
$(Out
Dir)
DevDivPackages\Roslyn
</PackagesOutDir>
<PackagesOutDir>
$(Out
putPath)\
DevDivPackages\Roslyn
</PackagesOutDir>
</PropertyGroup>
<ItemGroup>
<NuSpec
Include=
"$(InsertionFilesDir)\VS.ExternalAPIs.Roslyn.nuspec"
>
<Version>
$(NuGetPerBuildPreReleaseVersion)
</Version>
<!-- TFS build number isn't set on CI server -->
<Version
Condition=
"'$(NuGetPerBuildPreReleaseVersion)' == ''"
>
$(NuGetReleaseVersion)-cibuild
</Version>
<BaseDir>
$(Out
Dir
)
</BaseDir>
<BaseDir>
$(Out
putPath
)
</BaseDir>
</NuSpec>
<NuSpec
Include=
"$(VsToolsetDir)\VS.Tools.Roslyn.nuspec"
>
<Version>
$(NuGetPerBuildPreReleaseVersion)
</Version>
...
...
@@ -30,4 +30,4 @@
<Target
Name=
"Clean"
>
<RemoveDir
Directories=
"$(PackagesOutDir)"
/>
</Target>
</Project>
\ No newline at end of file
</Project>
src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.swixproj
浏览文件 @
f103aee7
...
...
@@ -6,7 +6,7 @@
<PropertyGroup>
<OutputArchitecture>
neutral
</OutputArchitecture>
<OutputLocalized>
false
</OutputLocalized>
<OutputPath>
$(Out
Dir
)Insertion
</OutputPath>
<OutputPath>
$(Out
putPath
)Insertion
</OutputPath>
<IsPackage>
true
</IsPackage>
<OutputType>
vsix
</OutputType>
</PropertyGroup>
...
...
@@ -14,7 +14,7 @@
<Import
Project=
"$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildCoreVersion)\build\MicroBuild.Core.props"
/>
<PropertyGroup>
<PackagePreprocessorDefinitions>
$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(Out
Dir
)
</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>
$(PackagePreprocessorDefinitions);Version=$(VsixVersion);OutputPath=$(Out
putPath
)
</PackagePreprocessorDefinitions>
<IntermediateOutputPath>
$(BaseIntermediateOutputPath)$(Configuration)\
</IntermediateOutputPath>
</PropertyGroup>
...
...
@@ -23,4 +23,4 @@
</ItemGroup>
<Import
Project=
"$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildCoreVersion)\build\MicroBuild.Core.targets"
/>
</Project>
\ No newline at end of file
</Project>
src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj
浏览文件 @
f103aee7
...
...
@@ -6,7 +6,7 @@
<PropertyGroup>
<FinalizeManifest>
true
</FinalizeManifest>
<FinalizeSkipLayout>
true
</FinalizeSkipLayout>
<OutputPath>
$(Out
Dir
)Insertion\
</OutputPath>
<OutputPath>
$(Out
putPath
)Insertion\
</OutputPath>
<IsPackage>
true
</IsPackage>
<FinalizeValidate>
false
</FinalizeValidate>
<ValidateManifest>
false
</ValidateManifest>
...
...
@@ -29,4 +29,4 @@
</ItemGroup>
<Target
Name=
"ValidateManifest"
/>
</Project>
\ No newline at end of file
</Project>
src/Setup/DevDivVsix/MicrosoftCodeAnalysisLanguageServices/Microsoft.CodeAnalysis.LanguageServices.vsmanproj
浏览文件 @
f103aee7
...
...
@@ -6,7 +6,7 @@
<PropertyGroup>
<FinalizeManifest>
true
</FinalizeManifest>
<FinalizeSkipLayout>
true
</FinalizeSkipLayout>
<OutputPath>
$(Out
Dir)
Insertion
</OutputPath>
<OutputPath>
$(Out
putPath)\
Insertion
</OutputPath>
<IsPackage>
true
</IsPackage>
<FinalizeValidate>
false
</FinalizeValidate>
<ValidateManifest>
false
</ValidateManifest>
...
...
@@ -38,4 +38,4 @@
</ItemGroup>
<Target
Name=
"ValidateManifest"
/>
</Project>
\ No newline at end of file
</Project>
src/Setup/DevDivVsix/PortableFacades/PortableFacades.swixproj
浏览文件 @
f103aee7
...
...
@@ -6,7 +6,7 @@
<PropertyGroup>
<OutputArchitecture>
neutral
</OutputArchitecture>
<OutputLocalized>
false
</OutputLocalized>
<OutputPath>
$(Out
Dir)
Insertion
</OutputPath>
<OutputPath>
$(Out
putPath)\
Insertion
</OutputPath>
<IsPackage>
true
</IsPackage>
<OutputType>
vsix
</OutputType>
</PropertyGroup>
...
...
@@ -23,4 +23,4 @@
</ItemGroup>
<Import
Project=
"$(NuGetPackageRoot)\MicroBuild.Core\$(MicroBuildCoreVersion)\build\MicroBuild.Core.targets"
/>
</Project>
\ No newline at end of file
</Project>
src/Setup/DevDivVsix/PortableFacades/PortableFacades.vsmanproj
浏览文件 @
f103aee7
...
...
@@ -6,7 +6,7 @@
<PropertyGroup>
<FinalizeManifest>
true
</FinalizeManifest>
<FinalizeSkipLayout>
true
</FinalizeSkipLayout>
<OutputPath>
$(Out
Dir)
Insertion\
</OutputPath>
<OutputPath>
$(Out
putPath)\
Insertion\
</OutputPath>
<IsPackage>
true
</IsPackage>
<FinalizeValidate>
false
</FinalizeValidate>
<ValidateManifest>
false
</ValidateManifest>
...
...
@@ -24,4 +24,4 @@
</ItemGroup>
<Target
Name=
"ValidateManifest"
/>
</Project>
\ No newline at end of file
</Project>
src/Setup/SetupStep1.proj
浏览文件 @
f103aee7
...
...
@@ -25,7 +25,7 @@
where building multiple projects that produce VSIXes larger than 10MB will race against each other -->
<MSBuild
Projects=
"@(Project)"
Targets=
"Build"
BuildInParallel=
"false"
/>
<Copy
SourceFiles=
"@(PowerShellScriptsToCopy)"
DestinationFolder=
"$(Out
Dir
)"
SkipUnchangedFiles=
"true"
/>
<Copy
SourceFiles=
"@(PowerShellScriptsToCopy)"
DestinationFolder=
"$(Out
putPath
)"
SkipUnchangedFiles=
"true"
/>
<Copy
SourceFiles=
"@(PowerShellScriptsToCopy)"
DestinationFolder=
"Templates\CSharp\Diagnostic\Analyzer"
/>
<Copy
SourceFiles=
"@(PowerShellScriptsToCopy)"
DestinationFolder=
"Templates\VisualBasic\Diagnostic\Analyzer\tools"
/>
...
...
@@ -40,4 +40,4 @@
<Target
Name=
"Rebuild"
>
<MSBuild
Projects=
"@(Project)"
Targets=
"Rebuild"
BuildInParallel=
"false"
/>
</Target>
</Project>
\ No newline at end of file
</Project>
src/Setup/SetupStep2.proj
浏览文件 @
f103aee7
...
...
@@ -8,7 +8,7 @@
<!-- Build CoreXT packages for insertion into DevDiv (order of the following actions matters) -->
<MSBuild
Projects=
"DevDivInsertionFiles\DevDivInsertionFiles.sln"
/>
<Exec
Command=
""$(Out
Dir)\Exes\DevDivInsertionFiles\Roslyn.BuildDevDivInsertionFiles.exe" "$(OutDir
)\" "$(MSBuildThisFileDirectory)\" "$(NuGetPackageRoot)" $(AssemblyVersion)"
LogStandardErrorAsError=
"true"
/>
<Exec
Command=
""$(Out
putPath)\Exes\DevDivInsertionFiles\Roslyn.BuildDevDivInsertionFiles.exe" "$(OutputPath
)\" "$(MSBuildThisFileDirectory)\" "$(NuGetPackageRoot)" $(AssemblyVersion)"
LogStandardErrorAsError=
"true"
/>
<MSBuild
Projects=
"DevDivPackages\Roslyn.proj"
/>
<MSBuild
Projects=
"DevDivVsix\PortableFacades\PortableFacades.vsmanproj"
/>
<MSBuild
Projects=
"DevDivVsix\CompilersPackage\Microsoft.CodeAnalysis.Compilers.vsmanproj"
/>
...
...
@@ -23,4 +23,4 @@
<!-- VSIX Gallery -->
<MSBuild
Projects=
"Vsix\Vsix.proj"
/>
</Target>
</Project>
\ No newline at end of file
</Project>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录