Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
7913496e
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,发现更多精彩内容 >>
未验证
提交
7913496e
编写于
3月 28, 2019
作者:
S
Sam Harwell
提交者:
GitHub
3月 28, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #34552 from sharwell/unittesting-access
Add ExternalAccess assembly for unit testing
上级
30a95317
27fce435
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
53 addition
and
0 deletion
+53
-0
Roslyn.sln
Roslyn.sln
+7
-0
src/Features/Core/Portable/Microsoft.CodeAnalysis.Features.csproj
...ures/Core/Portable/Microsoft.CodeAnalysis.Features.csproj
+1
-0
src/NuGet/VisualStudio/VS.ExternalAPIs.Roslyn.Package.csproj
src/NuGet/VisualStudio/VS.ExternalAPIs.Roslyn.Package.csproj
+2
-0
src/Tools/ExternalAccess/UnitTesting/Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.csproj
.../Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.csproj
+35
-0
src/Tools/ExternalAccess/UnitTesting/PublicAPI.Shipped.txt
src/Tools/ExternalAccess/UnitTesting/PublicAPI.Shipped.txt
+0
-0
src/Tools/ExternalAccess/UnitTesting/PublicAPI.Unshipped.txt
src/Tools/ExternalAccess/UnitTesting/PublicAPI.Unshipped.txt
+0
-0
src/VisualStudio/Setup/AssemblyRedirects.cs
src/VisualStudio/Setup/AssemblyRedirects.cs
+1
-0
src/VisualStudio/Setup/Roslyn.VisualStudio.Setup.csproj
src/VisualStudio/Setup/Roslyn.VisualStudio.Setup.csproj
+5
-0
src/VisualStudio/Setup/source.extension.vsixmanifest
src/VisualStudio/Setup/source.extension.vsixmanifest
+1
-0
src/Workspaces/Core/Portable/Microsoft.CodeAnalysis.Workspaces.csproj
...es/Core/Portable/Microsoft.CodeAnalysis.Workspaces.csproj
+1
-0
未找到文件。
Roslyn.sln
浏览文件 @
7913496e
...
...
@@ -398,6 +398,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Net.Compilers.Too
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CodeAnalysis.ExternalAccess.Debugger", "src\Tools\ExternalAccess\Debugger\Microsoft.CodeAnalysis.ExternalAccess.Debugger.csproj", "{655A5B07-39B8-48CD-8590-8AC0C2B708D8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CodeAnalysis.ExternalAccess.UnitTesting", "src\Tools\ExternalAccess\UnitTesting\Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.csproj", "{FA51A3CB-5174-4D99-B76E-DC31C5361DF3}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
src\Compilers\VisualBasic\BasicAnalyzerDriver\BasicAnalyzerDriver.projitems*{2523d0e6-df32-4a3e-8ae0-a19bffae2ef6}*SharedItemsImports = 4
...
...
@@ -1051,6 +1053,10 @@ Global
{655A5B07-39B8-48CD-8590-8AC0C2B708D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{655A5B07-39B8-48CD-8590-8AC0C2B708D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{655A5B07-39B8-48CD-8590-8AC0C2B708D8}.Release|Any CPU.Build.0 = Release|Any CPU
{FA51A3CB-5174-4D99-B76E-DC31C5361DF3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FA51A3CB-5174-4D99-B76E-DC31C5361DF3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FA51A3CB-5174-4D99-B76E-DC31C5361DF3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FA51A3CB-5174-4D99-B76E-DC31C5361DF3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
...
...
@@ -1237,6 +1243,7 @@ Global
{1638FB04-0298-4341-B5E0-8A13B4823C81} = {8977A560-45C2-4EC2-A849-97335B382C74}
{A74C7D2E-92FA-490A-B80A-28BEF56B56FC} = {C52D8057-43AF-40E6-A01B-6CDBB7301985}
{655A5B07-39B8-48CD-8590-8AC0C2B708D8} = {8977A560-45C2-4EC2-A849-97335B382C74}
{FA51A3CB-5174-4D99-B76E-DC31C5361DF3} = {8977A560-45C2-4EC2-A849-97335B382C74}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {604E6B91-7BC0-4126-AE07-D4D2FEFC3D29}
...
...
src/Features/Core/Portable/Microsoft.CodeAnalysis.Features.csproj
浏览文件 @
7913496e
...
...
@@ -25,6 +25,7 @@
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.EditorFeatures"
/>
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.EditorFeatures.Text"
/>
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.EditorFeatures.Wpf"
/>
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.ExternalAccess.UnitTesting"
/>
<InternalsVisibleTo
Include=
"Microsoft.VisualStudio.LanguageServices"
/>
<InternalsVisibleTo
Include=
"Microsoft.VisualStudio.LanguageServices.CSharp"
/>
<InternalsVisibleTo
Include=
"Microsoft.VisualStudio.LanguageServices.Implementation"
/>
...
...
src/NuGet/VisualStudio/VS.ExternalAPIs.Roslyn.Package.csproj
浏览文件 @
7913496e
...
...
@@ -41,6 +41,7 @@
<ProjectReference Include="..\..\Tools\ExternalAccess\FSharp\Microsoft.CodeAnalysis.ExternalAccess.FSharp.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\Tools\ExternalAccess\Razor\Microsoft.CodeAnalysis.ExternalAccess.Razor.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\Tools\ExternalAccess\TypeScript\Microsoft.CodeAnalysis.ExternalAccess.TypeScript.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\Tools\ExternalAccess\UnitTesting\Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\Workspaces\Core\Portable\Microsoft.CodeAnalysis.Workspaces.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\Workspaces\Core\Desktop\Microsoft.CodeAnalysis.Workspaces.Desktop.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\Workspaces\Core\MSBuild\Microsoft.CodeAnalysis.Workspaces.MSBuild.csproj" PrivateAssets="all" />
...
...
@@ -84,6 +85,7 @@
<_File Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.ExternalAccess.FSharp\$(Configuration)\net472\Microsoft.CodeAnalysis.ExternalAccess.FSharp.dll" TargetDir="" />
<_File Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.ExternalAccess.Razor\$(Configuration)\net472\Microsoft.CodeAnalysis.ExternalAccess.Razor.dll" TargetDir="" />
<_File Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.ExternalAccess.TypeScript\$(Configuration)\net472\Microsoft.CodeAnalysis.ExternalAccess.TypeScript.dll" TargetDir="" />
<_File Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.ExternalAccess.UnitTesting\$(Configuration)\net472\Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.dll" TargetDir="" />
<_File Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.Features\$(Configuration)\netstandard2.0\Microsoft.CodeAnalysis.Features.dll" TargetDir="" />
<_File Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.InteractiveHost\$(Configuration)\net472\Microsoft.CodeAnalysis.InteractiveHost.dll" TargetDir="" />
<_File Include="$(ArtifactsBinDir)Microsoft.CodeAnalysis.Remote.Razor.ServiceHub\$(Configuration)\net472\Microsoft.CodeAnalysis.Remote.Razor.ServiceHub.dll" TargetDir="" />
...
...
src/Tools/ExternalAccess/UnitTesting/Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.csproj
0 → 100644
浏览文件 @
7913496e
<?xml version="1.0" encoding="utf-8"?>
<Project
Sdk=
"Microsoft.NET.Sdk"
>
<PropertyGroup>
<OutputType>
Library
</OutputType>
<RootNamespace>
Microsoft.CodeAnalysis.ExternalAccess.UnitTesting
</RootNamespace>
<TargetFramework>
net472
</TargetFramework>
<!-- NuGet -->
<IsPackable>
true
</IsPackable>
<PackageId>
Microsoft.CodeAnalysis.ExternalAccess.UnitTesting
</PackageId>
<PackageDescription>
A supporting package for unit testing:
https://github.com/dotnet/testimpact
</PackageDescription>
</PropertyGroup>
<ItemGroup>
<!--
⚠ ONLY UNIT TESTING ASSEMBLIES MAY BE ADDED HERE ⚠
-->
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.UnitTesting.SourceBasedTestDiscovery"
/>
</ItemGroup>
<ItemGroup>
<ProjectReference
Include=
"..\..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj"
/>
<ProjectReference
Include=
"..\..\..\Features\Core\Portable\Microsoft.CodeAnalysis.Features.csproj"
/>
</ItemGroup>
<ItemGroup>
<PublicAPI
Include=
"PublicAPI.Shipped.txt"
/>
<PublicAPI
Include=
"PublicAPI.Unshipped.txt"
/>
</ItemGroup>
</Project>
\ No newline at end of file
src/Tools/ExternalAccess/UnitTesting/PublicAPI.Shipped.txt
0 → 100644
浏览文件 @
7913496e
src/Tools/ExternalAccess/UnitTesting/PublicAPI.Unshipped.txt
0 → 100644
浏览文件 @
7913496e
src/VisualStudio/Setup/AssemblyRedirects.cs
浏览文件 @
7913496e
...
...
@@ -35,6 +35,7 @@
[
assembly
:
ProvideRoslynBindingRedirection
(
"Microsoft.CodeAnalysis.ExternalAccess.FSharp.dll"
)]
[
assembly
:
ProvideRoslynBindingRedirection
(
"Microsoft.CodeAnalysis.ExternalAccess.Razor.dll"
)]
[
assembly
:
ProvideRoslynBindingRedirection
(
"Microsoft.CodeAnalysis.ExternalAccess.TypeScript.dll"
)]
[
assembly
:
ProvideRoslynBindingRedirection
(
"Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.dll"
)]
[
assembly
:
ProvideRoslynBindingRedirection
(
"Microsoft.CodeAnalysis.Elfie.dll"
)]
...
...
src/VisualStudio/Setup/Roslyn.VisualStudio.Setup.csproj
浏览文件 @
7913496e
...
...
@@ -54,6 +54,11 @@
<IncludeOutputGroupsInVSIX>
BuiltProjectOutputGroup
</IncludeOutputGroupsInVSIX>
<ForceIncludeInVSIX>
true
</ForceIncludeInVSIX>
</ProjectReference>
<ProjectReference
Include=
"..\..\Tools\ExternalAccess\UnitTesting\Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.csproj"
>
<Name>
Microsoft.CodeAnalysis.ExternalAccess.UnitTesting
</Name>
<IncludeOutputGroupsInVSIX>
BuiltProjectOutputGroup
</IncludeOutputGroupsInVSIX>
<ForceIncludeInVSIX>
true
</ForceIncludeInVSIX>
</ProjectReference>
<ProjectReference
Include=
"..\..\Workspaces\Core\Desktop\Microsoft.CodeAnalysis.Workspaces.Desktop.csproj"
>
<Name>
Workspaces.Desktop
</Name>
<IncludeOutputGroupsInVSIX>
BuiltProjectOutputGroup;SatelliteDllsProjectOutputGroup
</IncludeOutputGroupsInVSIX>
...
...
src/VisualStudio/Setup/source.extension.vsixmanifest
浏览文件 @
7913496e
...
...
@@ -59,6 +59,7 @@
<Asset
Type=
"Microsoft.VisualStudio.Analyzer"
Path=
"Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll"
/>
<Asset
Type=
"Microsoft.VisualStudio.Analyzer"
d:Source=
"Project"
d:ProjectName=
"XamlVisualStudio"
Path=
"|XamlVisualStudio|"
/>
<Asset
Type=
"Microsoft.VisualStudio.MefComponent"
Path=
"Microsoft.CodeAnalysis.ExternalAccess.Debugger.dll"
/>
<Asset
Type=
"Microsoft.VisualStudio.MefComponent"
Path=
"Microsoft.CodeAnalysis.ExternalAccess.UnitTesting.dll"
/>
</Assets>
<Prerequisites>
<Prerequisite
Id=
"Microsoft.VisualStudio.Component.CoreEditor"
Version=
"[15.0,17.0)"
DisplayName=
"Visual Studio core editor"
/>
...
...
src/Workspaces/Core/Portable/Microsoft.CodeAnalysis.Workspaces.csproj
浏览文件 @
7913496e
...
...
@@ -233,6 +233,7 @@
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.EditorFeatures.Text"
/>
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.EditorFeatures.Wpf"
/>
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.ExternalAccess.Debugger"
/>
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.ExternalAccess.UnitTesting"
/>
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.Features"
/>
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.LiveUnitTesting.BuildManager"
/>
<InternalsVisibleTo
Include=
"Microsoft.CodeAnalysis.LiveUnitTesting.BuildManager.UnitTests"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录