Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
38dae5b8
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,发现更多精彩内容 >>
提交
38dae5b8
编写于
3月 15, 2017
作者:
A
Andy Gocke
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Cleanup nuspec
上级
aee4ce9b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
9 addition
and
14 deletion
+9
-14
src/Setup/DevDivInsertionFiles/BuildDevDivInsertionFiles.vb
src/Setup/DevDivInsertionFiles/BuildDevDivInsertionFiles.vb
+4
-12
src/Setup/DevDivPackages/Roslyn.proj
src/Setup/DevDivPackages/Roslyn.proj
+5
-2
未找到文件。
src/Setup/DevDivInsertionFiles/BuildDevDivInsertionFiles.vb
浏览文件 @
38dae5b8
Imports
<
xmlns
:
wix
=
"http://schemas.microsoft.com/wix/2006/wi"
>
Imports
<
xmlns
:
msbuild
=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
Imports
<
xmlns
:
vsix
=
"http://schemas.microsoft.com/developer/vsx-schema/2011"
>
Imports
<
xmlns
:
netfx
=
"http://schemas.microsoft.com/wix/NetFxExtension"
>
Imports
System.IO.Packaging
Imports
System.IO.Packaging
Imports
System.IO
Imports
System.Threading
Imports
Newtonsoft.Json
Imports
Newtonsoft.Json.Linq
Imports
System.Reflection.PortableExecutable
Imports
System.Reflection.Metadata
Imports
Roslyn.BuildDevDivInsertionFiles
Imports
System.Security.Cryptography
Imports
System.Text
Imports
System.Runtime.InteropServices
Public
Class
BuildDevDivInsertionFiles
...
...
@@ -1043,8 +1036,7 @@ Public Class BuildDevDivInsertionFiles
filesToInsert
.
GroupBy
(
Function
(
x
)
x
).
All
(
Function
(
g
)
g
.
Count
()
=
1
)
Const
toolsetDir
As
String
=
"VS_Toolset_Files"
Dim
outputFolder
=
GetAbsolutePathInOutputDirectory
(
toolsetDir
)
Dim
outputFolder
=
GetAbsolutePathInOutputDirectory
(
PackageName
)
Directory
.
CreateDirectory
(
outputFolder
)
...
...
@@ -1097,10 +1089,10 @@ set DEVPATH=%RoslynToolsRoot%;%DEVPATH%"
<
version
>
0.0
</
version
>
</
metadata
>
<
files
>
<
file
src
=
<
%
=
Path
.
Combine
(
outputFolder
,
" Init.cmd"
)
%
>
/>
<
file
src
=
"Init.cmd"
/>
<
%
=
filesToInsert
.
OrderBy
(
Function
(
f
)
f
).
Select
(
Function
(
f
)
<
file
src
=<
%
=
Path
.
Combine
(
outputFolder
,
f
)
%
>
xmlns
=
"http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"
/>
)
%
>
Select
(
Function
(
f
)
<
file
src
=<
%
=
f
%
>
xmlns
=
"http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"
/>
)
%
>
</
files
>
</
package
>
...
...
src/Setup/DevDivPackages/Roslyn.proj
浏览文件 @
38dae5b8
...
...
@@ -4,6 +4,7 @@
<Import
Project=
"..\..\..\build\Targets\Settings.props"
/>
<PropertyGroup>
<InsertionFilesDir>
$(OutDir)DevDivInsertionFiles
</InsertionFilesDir>
<VsToolsetDir>
$(InsertionFilesDir)\VS.Tools.Roslyn
</VsToolsetDir>
<PackagesOutDir>
$(OutDir)DevDivPackages\Roslyn
</PackagesOutDir>
</PropertyGroup>
<ItemGroup>
...
...
@@ -11,17 +12,19 @@
<Version>
$(NuGetPerBuildPreReleaseVersion)
</Version>
<!-- TFS build number isn't set on CI server -->
<Version
Condition=
"'$(NuGetPerBuildPreReleaseVersion)' == ''"
>
$(NuGetReleaseVersion)-cibuild
</Version>
<BaseDir>
$(OutDir)
</BaseDir>
</NuSpec>
<NuSpec
Include=
"$(
InsertionFilesDir)\VS_Toolset_files
\VS.Tools.Roslyn.nuspec"
>
<NuSpec
Include=
"$(
VsToolsetDir)
\VS.Tools.Roslyn.nuspec"
>
<Version>
$(NuGetPerBuildPreReleaseVersion)
</Version>
<!-- TFS build number isn't set on CI server -->
<Version
Condition=
"'$(NuGetPerBuildPreReleaseVersion)' == ''"
>
$(NuGetReleaseVersion)-cibuild
</Version>
<BaseDir>
$(VsToolsetDir)
</BaseDir>
</NuSpec>
</ItemGroup>
<Target
Name=
"Build"
Inputs=
"@(NuSpec)"
Outputs=
"@(NuSpec -> $(PackagesOutDir)\%(Filename)%(Extension).%(Version).nupkg"
>
<MakeDir
Directories=
"$(PackagesOutDir)"
Condition=
"!Exists('$(PackagesOutDir)')"
/>
<!-- nuget doesn't set exitcode when the value of an arg is invalid -->
<Exec
Command=
"Pack.cmd %(NuSpec.FullPath) %(NuSpec.Version) $(
Out
Dir) $(PackagesOutDir)"
<Exec
Command=
"Pack.cmd %(NuSpec.FullPath) %(NuSpec.Version) $(
NuSpec.Base
Dir) $(PackagesOutDir)"
CustomErrorRegularExpression=
"pack: invalid arguments"
/>
</Target>
<Target
Name=
"Clean"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录